Wildfly error WAR deployment error - jboss

I get the following error when trying to deploy my war file
{
"WFLYCTL0080: Failed services" => {
"jboss.undertow.deployment.default-server.default-host./dmp" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./dmp: javax.ejb.EJBException: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance Caused by: javax.ejb.EJBException: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance Caused by: javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet Caused by: org.hibernate.exception.SQLGrammarException: could not extract ResultSet Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'portcall.Actor' doesn't exist"
}
}
Could anyone please advise on what the issue is?
P.S he war is supposed to create the DB structure on it own , the DB already exists with sufficient privileges.
Regards
Nick

Related

java.lang.RuntimeException: Unable to start activity ComponentInfo{apps.coolse.flutter_fingerprint_auth/apps.coolse.flutter

java.lang.RuntimeException: Unable to start activity ComponentInfo{apps.coolse.flutter_fingerprint_auth/apps.coolse.flutter_fingerprint_auth.MainActivity}: java.lang.IllegalStateException: ensureInitializationComplete must be called after startInitialization
E/AndroidRuntime(31529): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3479)

Eclipse Error during execution of SonarLint analysis

I am getting the following error while analysing using solar lint
Error during execution of SonarLint analysis
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Unable to load component class org.sonarsource.sonarlint.core.analysis.container.analysis.sensor.SensorsExecutor
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.analyze(ConnectedSonarLintEngineImpl.java:248)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.lambda$1(ConnectedEngineFacade.java:316)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.withEngine(ConnectedEngineFacade.java:175)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.runAnalysis(ConnectedEngineFacade.java:315)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:70)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:1)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.run(AbstractAnalyzeProjectJob.java:393)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.runAnalysisAndUpdateMarkers(AbstractAnalyzeProjectJob.java:201)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.doRun(AbstractAnalyzeProjectJob.java:157)
at org.sonarlint.eclipse.core.internal.jobs.AbstractSonarProjectJob.run(AbstractSonarProjectJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.IllegalStateException: Unable to load component class org.sonarsource.sonarlint.core.analysis.container.analysis.sensor.SensorsExecutor
at org.sonarsource.sonarlint.core.plugin.commons.pico.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:57)
at org.sonarsource.sonarlint.shaded.org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678)
at org.sonarsource.sonarlint.core.plugin.commons.pico.ComponentContainer.getComponentByType(ComponentContainer.java:249)
at org.sonarsource.sonarlint.core.analysis.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:122)
at org.sonarsource.sonarlint.core.plugin.commons.pico.ComponentContainer.startComponents(ComponentContainer.java:119)
at org.sonarsource.sonarlint.core.plugin.commons.pico.ComponentContainer.execute(ComponentContainer.java:104)
at org.sonarsource.sonarlint.core.analysis.container.module.ModuleContainer.analyze(ModuleContainer.java:71)
at org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand.execute(AnalyzeCommand.java:58)
at org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand.execute(AnalyzeCommand.java:32)
at org.sonarsource.sonarlint.core.analysis.AnalysisEngine$AsyncCommand.execute(AnalysisEngine.java:150)
at org.sonarsource.sonarlint.core.analysis.AnalysisEngine.executeQueuedCommands(AnalysisEngine.java:70)
at java.base/java.lang.Thread.run(Thread.java:833)

heroku springboot quratz prostgesql error Caused by: org.postgresql.util.PSQLException: ERROR: relation "qrtz_locks" does not exist

when trying to deploy springboot quartz postgresesql in heroku faceing below error,
with this same configuration the app connects from my ide to postgrese without any issue,
any help would be greatly appreciated.
## QuartzProperties
spring.quartz.job-store-type=jdbc
spring.quartz.properties.org.quartz.threadPool.threadCount=5
spring.quartz.jdbc.initialize-schema=never
spring.quartz.jdbc.schema=pw
org.springframework.context.ApplicationContextException: Failed to start bean 'quartzScheduler'; nested exception is org.springframework.scheduling.SchedulingException: Could not start Quartz Scheduler; nested exception is org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.impl.jdbcjobstore.LockException: Failure obtaining db row lock: ERROR: current transaction is aborted, commands ignored until end of transaction block [See nested exception: org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block]]
Caused by: org.postgresql.util.PSQLException: ERROR: relation "qrtz_locks" does not exist

bundle failure with error: java.lang.Exception: ORPHANED

While bringing up one of the application we are making some calls to DB, but i could see that those calls are failing with below exception,
org.osgi.service.coordinator.CoordinationException: Coordination failed
at org.apache.felix.coordinator.impl.CoordinationImpl.end(CoordinationImpl.java:255)
at org.apache.felix.coordinator.impl.CoordinationHolder.end(CoordinationHolder.java:56)
at org.apache.aries.jpa.blueprint.impl.JpaInterceptor.postCallWithReturn(JpaInterceptor.java:93)
at org.apache.aries.blueprint.proxy.Collaborator.postInvoke(Collaborator.java:98)
at Proxya2d2cd71_d4e4_434e_a965_b48799d154f7.findById(Unknown Source)
at
..............
Caused by: java.lang.Exception: ORPHANED
at org.osgi.service.coordinator.Coordination.<clinit>(Coordination.java:88)
at org.apache.felix.coordinator.impl.CoordinationHolder.finalize(CoordinationHolder.java:178)
at java.lang.System$2.invokeFinalize(System.java:1270)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)
Any information about this "java.lang.Exception: ORPHANED"

error on deploying EJB project on weblogic

Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:965591 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: Table 'mock_test_db.Branch' doesn't exist {prepstmnt 32 SELECT t0.branch_id, t0.branch_desc, t0.branch_title FROM Branch t0} [code=1146, state=42S02]
at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4207)
at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4171)
at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:102)
at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:88)
at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:64)
Truncated. see log file for complete stacktrace
Caused By: java.lang.Exception: org.apache.openjpa.lib.jdbc.ReportingSQLException: Table 'mock_test_db.Branch' doesn't exist {prepstmnt 32 SELECT t0.branch_id, t0.branch_desc, t0.branch_title FROM Branch t0} [code=1146, state=42S02]
at org.apache.openjpa.util.Exceptions.replaceNestedThrowables(Exceptions.java:249)
at org.apache.openjpa.persistence.PersistenceException.writeObject(PersistenceException.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Truncated. see log file for complete stacktrace
>
this error I am getting while I am running my application , while some pages are working fine