Hi all, I have a quite strange problem. I have a stateless bean acting as a facade for my entity beans with 2 methods. One uses em.find() and the other use em.createQuery() to retrieve data. Calling the first method from a web services stateless bean does work fine. Calling the second from the same bean give me the exception below. However calling the second method from a message driven bean works just fine. 10:14:09,741 ERROR [Axis2WebServiceContainer] Exception occurred while trying to invoke service method doService() org.apache.axis2.AxisFault: java.rmi.RemoteException: The bean encountered a non -application exception.; nested exception is: java.lang.OutOfMemoryError: Java heap space: The bean encountered a non- application exception.; nested exception is: java.lang.OutOfMemoryError: Java heap space at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417) at org.apache.geronimo.axis2.ejb.EJBMessageReceiver.receive(EJBMessageRe ceiver.java:94) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq uest(HTTPTransportUtils.java:275) at org.apache.geronimo.axis2.Axis2WebServiceContainer.processXMLRequest( Axis2WebServiceContainer.java:386) at org.apache.geronimo.axis2.Axis2WebServiceContainer.processPOSTRequest (Axis2WebServiceContainer.java:335) at org.apache.geronimo.axis2.Axis2WebServiceContainer.doService2(Axis2We bServiceContainer.java:265) at org.apache.geronimo.axis2.Axis2WebServiceContainer.doService(Axis2Web ServiceContainer.java:204) at org.apache.geronimo.axis2.Axis2WebServiceContainer.invoke(Axis2WebSer viceContainer.java:167) at org.apache.geronimo.tomcat.TomcatEJBWebServiceContext$EJBWebServiceVa lve.invoke(TomcatEJBWebServiceContext.java:180) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 568) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.openejb.InvalidateReferenceException: java.rmi.RemoteExcep tion: The bean encountered a non-application exception.; nested exception is: java.lang.OutOfMemoryError: Java heap space: The bean encountered a non- application exception.; nested exception is: java.lang.OutOfMemoryError: Java heap space at org.apache.openejb.core.transaction.TransactionPolicy.throwExceptionT oServer(TransactionPolicy.java:217) at org.apache.openejb.core.transaction.TxRequired.handleSystemException( TxRequired.java:107) at org.apache.openejb.core.stateless.StatelessContainer._invoke(Stateles sContainer.java:224) at org.apache.openejb.core.stateless.StatelessContainer._invoke(Stateles sContainer.java:188) at org.apache.openejb.core.stateless.StatelessContainer.invoke(Stateless Container.java:165) at org.apache.geronimo.axis2.ejb.EJBMessageReceiver.receive(EJBMessageRe ceiver.java:88) ... 17 more -- View this message in context: http://www.nabble.com/JPQL-%2B-JAXWS-cause-Axis-problem--tp19397045s134p19397045.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.