Closed gensart-ai closed 1 year ago
Sorry for the inconvenience issue I've made, I don't know which area will match in the selection with my issue.
FYI. I'm using Windows 10 with OpenJDK version "17"
I was able to start the server on a Windows machine with OpenJDK 17.
Does it happen all the time during the startup? Have you made any changes there?
The execution of the kc.bat --verbose start-dev
should reveal more details.
@gensart-ai Are you using some kind of VPN? Some people seem to have problems since the VPN adapter is used to connect to the H2 database.
Hi guys, thanks for your attention. I was able to solve it by restarting my Windows,
I don't know what solves it but after I restart, it works.
I'm closing the issue.
I know what Keycloak caused a problem in my machine, it was because of the H2 database, it didn't work on mine, so I tried to change the data source to MySQL/MariaDB, and it runs perfectly, yeah just FYI.
For the configuration, I change the configs in: <Keycloak Base Folder>\conf\keycloak.conf
to :
# Database
# The database vendor.
db=mariadb
# The username of the database user.
db-username=root
# The password of the database user.
db-password=
# The full database JDBC URL. If not provided, a default URL is set based on the selected database vendor.
db-url=jdbc:mariadb://localhost:3306/keycloak?user=root&password=
I commenting on this maybe Keycloak newcomers in the future have the same problem I've had.
I know what Keycloak caused a problem in my machine, it was because of the H2 database, it didn't work on mine, so I tried to change the data source to MySQL/MariaDB, and it runs perfectly, yeah just FYI.
For the configuration, I change the configs in:
<Keycloak Base Folder>\conf\keycloak.conf
to :# Database # The database vendor. db=mariadb # The username of the database user. db-username=root # The password of the database user. db-password= # The full database JDBC URL. If not provided, a default URL is set based on the selected database vendor. db-url=jdbc:mariadb://localhost:3306/keycloak?user=root&password=
I commenting on this maybe Keycloak newcomers in the future have the same problem I've had.
hello , I'm also facing the same issue but unable to resolve it after using your method
Before reporting an issue
Area
core
Describe the bug
When I ran
kc.bat start-dev
on the Windows environment, it returned the error below. I have searched in completed issues and believe that there are some solutions but I haven't found any clear instructions to solve it. Any help may be appreciated, Thanks.Version
22.0.3
Expected behavior
Rans perfectly
Actual behavior
Returns the error I have shown.
How to Reproduce?
Run
kc.bat start-dev
Anything else?
No response