javax.ejb.EJBException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 8050#138306000
    via GitHub by wildfly-ci
    ,
  • Table/View 'PERSON' does not exist
    via Stack Overflow by daydreamer
    ,
  • hibernate append "0_" to table name
    via by Unknown author,
  • nullpointerexception when persisting bean
    via by Unknown author,
  • JPA and Hibernate - id generator
    via by Unknown author,
  • wildfly 10 batch jobs fail to find job.xml file
    via Stack Overflow by jka_dk
    ,
  • user reported an issue when sending to iOS device: {code} [0m00:00:00,009 INFO [ClientInstallationServiceImpl] (EJB default - 2) Deleting [&apos;0&apos;] outdated PushMessageInformation objects 11:32:56,649 INFO [PushNotificationSenderEndpoint] (default task-30) Message submitted to PushNetworks for further processing 11:32:56,654 INFO [JPAPushMessageInformationDao] (EJB default - 5) Processing send request with &apos;[alert=PUSH MESSAGE TEXT GOES HERE, data={url=http:&#x2F;&#x2F;www.foo-bar-testdomain.no&#x2F;}, criteria=[aliases=null, deviceTypes=null, categories=null, variants=null], sound=default, action-category=null, badge=-1, time-to-live=-1, simplePush=null, content-available=false]&apos; payload 11:37:56,650 WARN [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffffc0a8655e:-cccc977:55017a45:a281f in state RUN 11:37:56,653 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffffc0a8655e:-cccc977:55017a45:a281f invoked while multiple threads active within it. 11:37:56,653 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffffc0a8655e:-cccc977:55017a45:a281f aborting with 1 threads active! 11:37:56,657 WARNING [ClientInstallationServiceImpl] (EJB default - 5) Error on &apos;ios&apos; delivery 11:37:56,657 WARN [org.hibernate.jpa.spi.AbstractEntityManagerImpl] (EJB default - 5) HHH000326: Cannot join transaction: do not override hibernate.transaction.factory_class 11:37:57,093 WARN [org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorTrackingImpl] (Transaction Reaper Worker 0) HHH000451: Transaction afterCompletion called by a background thread; delaying afterCompletion processing until the original thread can handle it. [status=4] 11:37:57,094 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012121: TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,main] successfully canceled TX 0:ffffc0a8655e:-cccc977:55017a45:a281f 11:37:57,094 ERROR [org.jboss.as.ejb3.invocation] (EJB default - 5) JBAS014134: EJB Invocation failed on component SenderServiceImpl for method public abstract void org.jboss.aerogear.unifiedpush.message.SenderService.send(org.jboss.aerogear.unifiedpush.api.PushApplication,org.jboss.aerogear.unifiedpush.message.UnifiedPushMessage): javax.ejb.EJBException: JBAS014586: Transaction 'TransactionImple < ac, BasicAction: 0:ffffc0a8655e:-cccc977:55017a45:a281f status: ActionStatus.ABORTED >' is in unexpected state (STATUS_ROLLING_BACK) at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:116) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:277) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:340) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:95) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326) at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:439) at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326) at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.LogDiagnosticContextRecoveryInterceptor.processInvocation(LogDiagnosticContextRecoveryInterceptor.java:79) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$1$2.runInvocation(AsyncFutureInterceptorFactory.java:97) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(AsyncInvocationTask.java:73) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71] at org.jboss.threads.JBossThread.run(JBossThread.java:122) 00:00:00,770 INFO [ClientInstallationServiceImpl] (EJB default - 7) Deleting [&apos;0&apos;] outdated PushMessageInformation objects 14:25:35,906 INFO [PushNotificationSenderEndpoint] (default task-12) Message submitted to PushNetworks for further processing 14:25:35,908 INFO [JPAPushMessageInformationDao] (EJB default - 2) Processing send request with &apos;[alert=Push Message Text goes here., data={url=www.foo-bar-test.no&#x2F;}, criteria=[aliases=null, deviceTypes=null, categories=null, variants=null], sound=default, action-category=null, badge=-1, time-to-live=-1, simplePush=null, content-available=false]&apos; payload 14:30:35,906 WARN [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffffc0a8655e:-cccc977:55017a45:c8b36 in state RUN 14:30:35,908 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffffc0a8655e:-cccc977:55017a45:c8b36 invoked while multiple threads active within it. 14:30:35,908 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffffc0a8655e:-cccc977:55017a45:c8b36 aborting with 1 threads active! 14:30:35,925 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (EJB default - 2) SQL Error: 0, SQLState: null 14:30:35,925 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (EJB default - 2) javax.resource.ResourceException: IJ000460: Error checking for a transaction 14:30:35,927 WARNING [ClientInstallationServiceImpl] (EJB default - 2) Error on &apos;ios&apos; delivery 14:30:35,928 WARN [org.hibernate.jpa.spi.AbstractEntityManagerImpl] (EJB default - 2) HHH000326: Cannot join transaction: do not override hibernate.transaction.factory_class 14:30:36,323 WARN [org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorTrackingImpl] (Transaction Reaper Worker 0) HHH000451: Transaction afterCompletion called by a background thread; delaying afterCompletion processing until the original thread can handle it. [status=4] 14:30:36,323 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012121: TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,main] successfully canceled TX 0:ffffc0a8655e:-cccc977:55017a45:c8b36 14:30:36,323 ERROR [org.jboss.as.ejb3.invocation] (EJB default - 2) JBAS014134: EJB Invocation failed on component SenderServiceImpl for method public abstract void org.jboss.aerogear.unifiedpush.message.SenderService.send(org.jboss.aerogear.unifiedpush.api.PushApplication,org.jboss.aerogear.unifiedpush.message.UnifiedPushMessage): javax.ejb.EJBException: JBAS014586: Transaction 'TransactionImple < ac, BasicAction: 0:ffffc0a8655e:-cccc977:55017a45:c8b36 status: ActionStatus.ABORTED >' is in unexpected state (STATUS_ROLLING_BACK) at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:116) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:277) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:340) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:95) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326) at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:439) at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326) at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.LogDiagnosticContextRecoveryInterceptor.processInvocation(LogDiagnosticContextRecoveryInterceptor.java:79) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) at org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$1$2.runInvocation(AsyncFutureInterceptorFactory.java:97) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(AsyncInvocationTask.java:73) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71] at org.jboss.threads.JBossThread.run(JBossThread.java:122) 00:00:00,008 INFO [ClientInstallationServiceImpl] (EJB default - 10) Deleting [&apos;1&apos;] outdated PushMessageInformation objects 10:26:39,730 INFO [ClientInstallationServiceImpl] (default task-13) Deleting metadata Installation 10:26:46,056 INFO [ClientInstallationServiceImpl] (default task-19) Deleting metadata Installation {code}
    via by Matthias Wessendorf,
  • While testing out Wildfly 8.1.0.RC1 I run into a "WELD-001456: Argument resolvedBean must not be null" exception. The ValidatorFactory provided by the LazyValidatorFactory belongs to a different application/class loader than the delegate. Most likely caused by the fix for RESTEASY-1008. Fastest way to reproduce: start both our applications (can fail but works most of the time), redeploy App2, make rest call to App1 -> exception Stacktrace from App1 (note the lines with JaxrsInjectionTarget and LazyValidatorFactory): Preconditions.checkArgumentNotNull(Object, String) line: 40 BeanManagerImpl.getReference(InjectionPoint, Bean<?>, CreationalContext<?>) line: 766 ParameterInjectionPointImpl<T,X>.getValueToInject(BeanManagerImpl, CreationalContext<?>) line: 76 ConstructorInjectionPoint<T>.getParameterValues(BeanManagerImpl, CreationalContext<?>, CreationalContext<?>) line: 138 ConstructorInjectionPoint<T>.newInstance(BeanManagerImpl, CreationalContext<?>) line: 68 DefaultInstantiator<T>(AbstractInstantiator<T>).newInstance(CreationalContext<T>, BeanManagerImpl) line: 28 BeanInjectionTarget<T>(BasicInjectionTarget<T>).produce(CreationalContext<T>) line: 85 BeanInjectionTarget<T>.produce(CreationalContext<T>) line: 183 DestructibleBeanInstance<T>.createAndInjectBeans(BeanManager, InjectionTarget<T>) line: 53 DestructibleBeanInstance<T>.<init>(BeanManager, Class<T>) line: 33 ValidatorFactoryBean.createInstance(Class<T>) line: 206 ValidatorFactoryBean.createConstraintValidatorFactory(Configuration<?>) line: 192 ValidatorFactoryBean.create(CreationalContext<ValidatorFactory>) line: 119 ValidatorFactoryBean.create(CreationalContext) line: 52 ApplicationContextImpl(AbstractContext).get(Contextual<T>, CreationalContext<T>) line: 96 ContextBeanInstance<T>.getInstance() line: 98 ProxyMethodHandler.invoke(Object, Method, Method, Object[]) line: 99 ValidatorFactory$627848863$Proxy$_$$_WeldClientProxy.getValidator() line: not available [local variables unavailable] LazyValidatorFactory.getValidator() line: 73 GeneralValidatorImpl.getValidator(HttpRequest) line: 556 GeneralValidatorImpl.validate(HttpRequest, Object, Class<?>...) line: 69 JaxrsInjectionTarget<T>.validate(HttpRequest, T) line: 108 JaxrsInjectionTarget<T>.inject(T, CreationalContext<T>) line: 69 WeldInjectionContext.inject(Object) line: 39 WeldInjectionInterceptor.processInvocation(InterceptorContext) line: 51 InterceptorContext.proceed() line: 309 If we look at the JaxrsInjectionTarget we see the following: JaxrsInjectionTarget = this clazz = our own rest resource class with the @Path annotation on it delegate.beanManager = Weld BeanManager for App1 validator.validatorFactory.classLoader = ClassLoader for App2 To me it seems that there is only a single ResteasyProviderFactory for the entire WF instance. The application starting last (or getting redeployed) updates the context resolver list on the ResteasyProviderFactory with a LazyValidatorFactory.for the GeneralValidatorCDI key. The LazyValidatorFactory is bound to the classloader of the registering application. Hence a problem for App1 when it tries to resolve beans using the LazyValidatorFactory registered by App2.
    via by Sverre Boschman,
    • javax.ejb.EJBException: WFLYEJB0448: Transaction 'TransactionImple < ac, BasicAction: 0:ffff7f000101:-14628762:55ed8deb:273d status: ActionStatus.ABORTED >' is in unexpected state (STATUS_ROLLING_BACK) at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:114) at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:279) at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327) at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)

    Users with the same issue

    MoYapro
    3 times, last one,
    Andreas Häber
    4 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    10 more bugmates