Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by user3364391
, 1 year ago
WFLYJPA0060: Transaction is required to perform this operation (either use a transaction or extended persistence context)
via Stack Overflow by user3265132
, 2 years ago
java.lang.IllegalStateException: ARJUNA016082: Synchronizations are not allowed! Transaction status isActionStatus.RUNNING
via jboss.org by Unknown author, 2 years ago
ARJUNA016082: Synchronizations are not allowed! Transaction status isActionStatus.RUNNING
via Stack Overflow by Francesco
, 2 years ago
org.hornetq.jms.client.HornetQBytesMessage cannot be cast to javax.jms.TextMessage
via whitestein.com by Unknown author, 2 years ago
org.hibernate.SessionException: Session is closed!
javax.persistence.TransactionRequiredException: WFLYJPA0060: Transaction is required to perform this operation (either use a transaction or extended persistence context)	at org.jboss.as.jpa.container.AbstractEntityManager.transactionIsRequired(AbstractEntityManager.java:877)	at org.jboss.as.jpa.container.AbstractEntityManager.persist(AbstractEntityManager.java:579)	at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:506)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:503)	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:488)	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:460)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:133)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)	at com.sun.proxy.$Proxy132.save(Unknown Source)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)	at org.jboss.weld.proxies.CrudRepository$TestRepository$614971258$Proxy$_$$_WeldClientProxy.save(Unknown Source)	at com.module.test.TestEJB.testRepository(TestEJB.java:35)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)	at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)	at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329)	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)	at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)	at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)	at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)	at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)	at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)	at com.module.test.TestEJB$$$view5.testRepository(Unknown Source)	at com.module.test.TestScheduler.test(TestScheduler.java:23)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:57)	at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:95)	at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:57)	at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)	at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)	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.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at org.jboss.as.ejb3.concurrency.ContainerManagedConcurrencyInterceptor.processInvocation(ContainerManagedConcurrencyInterceptor.java:110)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)	at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)	at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)	at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ejb3.timerservice.TimedObjectInvokerImpl.callTimeout(TimedObjectInvokerImpl.java:104)	at org.jboss.as.ejb3.timerservice.CalendarTimerTask.invokeBeanMethod(CalendarTimerTask.java:64)	at org.jboss.as.ejb3.timerservice.CalendarTimerTask.callTimeout(CalendarTimerTask.java:53)	at org.jboss.as.ejb3.timerservice.TimerTask.run(TimerTask.java:155)	at org.jboss.as.ejb3.timerservice.TimerServiceImpl$Task$1.run(TimerServiceImpl.java:1221)	at org.wildfly.extension.requestcontroller.RequestController$QueuedTask$1.run(RequestController.java:497)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)	at org.jboss.threads.JBossThread.run(JBossThread.java:320)