Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: backend-java not starting correctly #1376

Closed
DerekRoberts opened this issue Sep 15, 2023 · 0 comments · Fixed by #1380
Closed

bug: backend-java not starting correctly #1376

DerekRoberts opened this issue Sep 15, 2023 · 0 comments · Fixed by #1380
Assignees
Labels
bug Something isn't working

Comments

@DerekRoberts
Copy link
Member

__  ____  __  _____   ___  __ ____  ______ 
 --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ 
 -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \   
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/   
2023-09-15 23:03:38,571 INFO  [org.fly.cor.int.lic.VersionPrinter] (main) Flyway Community Edition 9.21.0 by Redgate
2023-09-15 23:03:38,571 INFO  [org.fly.cor.int.lic.VersionPrinter] (main) See release notes here: https://rd.gt/416ObMi
2023-09-15 23:03:38,571 INFO  [org.fly.cor.int.lic.VersionPrinter] (main) 
2023-09-15 23:03:38,571 INFO  [org.fly.cor.int.dat.bas.BaseDatabaseType] (main) Database: jdbc:postgresql://quickstart-openshift-1375-database:5432/quickstart-openshift (PostgreSQL 15.4)
2023-09-15 23:03:38,601 INFO  [org.fly.cor.int.com.DbValidate] (main) Successfully validated 2 migrations (execution time 00:00.017s)
2023-09-15 23:03:38,796 INFO  [org.fly.cor.int.com.DbValidate] (main) Successfully validated 2 migrations (execution time 00:00.004s)
2023-09-15 23:03:38,802 INFO  [org.fly.cor.int.com.DbMigrate] (main) Current version of schema "java_api": 1.0.0
2023-09-15 23:03:38,803 INFO  [org.fly.cor.int.com.DbMigrate] (main) Schema "java_api" is up to date. No migration necessary.
2023-09-15 23:03:38,872 ERROR [io.qua.run.Application] (main) Failed to start application (with profile [prod]): java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
	at io.quarkus.runtime.Application.start(Application.java:101)
	at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:111)
	at io.quarkus.runtime.Quarkus.run(Quarkus.java:71)
	at io.quarkus.runtime.Quarkus.run(Quarkus.java:44)
	at io.quarkus.runtime.Quarkus.run(Quarkus.java:124)
	at io.quarkus.runner.GeneratedMain.main(Unknown Source)
Caused by: jakarta.enterprise.inject.CreationException: Error creating synthetic bean [21538bc8a6123eaa9ca00a96247e1acd41c14192]: jakarta.enterprise.inject.UnsatisfiedResolutionException: No datasource present
	at io.quarkus.flyway.runtime.FlywayContainer_21538bc8a6123eaa9ca00a96247e1acd41c14192_Synthetic_Bean.doCreate(Unknown Source)
	at io.quarkus.flyway.runtime.FlywayContainer_21538bc8a6123eaa9ca00a96247e1acd41c14192_Synthetic_Bean.create(Unknown Source)
	at io.quarkus.flyway.runtime.FlywayContainer_21538bc8a6123eaa9ca00a96247e1acd41c14192_Synthetic_Bean.create(Unknown Source)
	at io.quarkus.arc.impl.AbstractSharedContext.createInstanceHandle(AbstractSharedContext.java:113)
	at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:37)
	at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:34)
	at io.quarkus.arc.impl.LazyValue.get(LazyValue.java:32)
	at io.quarkus.arc.impl.ComputingCache.computeIfAbsent(ComputingCache.java:69)
	at io.quarkus.arc.impl.AbstractSharedContext.get(AbstractSharedContext.java:34)
	at io.quarkus.flyway.runtime.FlywayContainer_21538bc8a6123eaa9ca00a96247e1acd41c14192_Synthetic_Bean.get(Unknown Source)
	at io.quarkus.flyway.runtime.FlywayContainer_21538bc8a6123eaa9ca00a96247e1acd41c14192_Synthetic_Bean.get(Unknown Source)
	at io.quarkus.arc.impl.Instances$3.get(Instances.java:132)
	at io.quarkus.arc.impl.LazyValue.get(LazyValue.java:32)
	at io.quarkus.arc.impl.LazyInstanceHandle.instanceInternal(LazyInstanceHandle.java:32)
	at io.quarkus.arc.impl.AbstractInstanceHandle.get(AbstractInstanceHandle.java:46)
	at io.quarkus.flyway.runtime.FlywayRecorder.doStartActions(FlywayRecorder.java:96)
	at io.quarkus.deployment.steps.FlywayProcessor$startActions2035800939.deploy_0(Unknown Source)
	at io.quarkus.deployment.steps.FlywayProcessor$startActions2035800939.deploy(Unknown Source)
	... 7 more
Caused by: jakarta.enterprise.inject.UnsatisfiedResolutionException: No datasource present
	at io.quarkus.flyway.runtime.FlywayRecorder$1.apply(FlywayRecorder.java:62)
	at io.quarkus.flyway.runtime.FlywayRecorder$1.apply(FlywayRecorder.java:57)
	at io.quarkus.flyway.runtime.FlywayContainer_21538bc8a6123eaa9ca00a96247e1acd41c14192_Synthetic_Bean.createSynthetic(Unknown Source)
	... 25 more
@DerekRoberts DerekRoberts added the bug Something isn't working label Sep 15, 2023
@DerekRoberts DerekRoberts moved this from New to Backlog in DevOps (NR) Sep 15, 2023
@DerekRoberts DerekRoberts linked a pull request Sep 15, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from Backlog to Done in DevOps (NR) Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants