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 apache.org by Unknown author, 2 years ago
Unable to determine identity of the current WebSphere managed transaction. Please ensure that your are running the application from within WebSphere Application Server (version 5.0.2 or newer).
via Apache's JIRA Issue Tracker by david zhang, 1 year ago
Unable to determine identity of the current WebSphere managed transaction. Please ensure that your are running the application from within WebSphere Application Server (version 5.0.2 or newer).
org.apache.openjpa.persistence.TransactionRequiredException: Unable to determine identity of the current WebSphere managed transaction. Please ensure that your are running the application from within WebSphere Application Server (version 5.0.2 or newer).	at org.apache.openjpa.ee.WASManagedRuntime$WASTransaction.getStatus(WASManagedRuntime.java:106)	at org.apache.openjpa.kernel.AbstractBrokerFactory.syncWithManagedTransaction(AbstractBrokerFactory.java:601)	at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:292)	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:165)	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:139)	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:187)	at com.ibm.ws.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:17)	at com.ibm.ws.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:8)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:615)	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:376)	at $Proxy25.createEntityManager(Unknown Source)	at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:168)	at $Proxy26.find(Unknown Source)	at com.dztest.jpa.dao.JpaRestaurantDao.findById(JpaRestaurantDao.java:29)	at com.dztest.services.RestaurantServiceImpl.getRestaurant(RestaurantServiceImpl.java:15)	at com.dztest.web.actions.TestAction.showRestaurant(TestAction.java:19)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:615)	at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:434)	at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:372)	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:819)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:754)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:399)	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:354)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3168)	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:254)	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:96)	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)	at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)