java.rmi.RemoteException: EJB Exception: ; nested exception is: javax.ejb.EJBException: Exception during RTSMgrBean.findAll : com.logistics.javalib.persistence.layer.PersistLayerExc eption: org.hibernate.QueryException: fetch may not be used with scroll() or iterate() [select count(*) from com.logistics.so .rts.bo.RTS rts LEFT OUTER JOIN fetch rts.rtsLineItems as rli where rts.tcCompanyId in(95612190,95612192,95611892) and rts.bu sinessPartnerId in( 'Relation', 'jorela', 'dkdk', 'jorelati') and rli.regionIdInteger in ('')]


Solutions on the web9

Solution icon of hibernate
via Hibernate JIRA by Jogeswara Rao, 1 year ago
() [select count(*) from com.logistics.so .rts.bo.RTS rts LEFT OUTER JOIN fetch rts.rtsLineItems as rli where rts.tcCompanyId in(95612190,95612192,95611892) and rts.bu sinessPartnerId in( 'Relation', 'jorela', 'dkdk', 'jorelati') and rli.regionIdInteger in ('')]

Solution icon of oraclecommunity
via Oracle Community by user2635003, 1 year ago
EJB Exception: ; nested exception is: java.lang.NullPointerException

Solution icon of oraclecommunity
via Oracle Community by 681094, 3 months ago
EJB Exception: ; nested exception is: java.lang.NoClassDefFoundError

Solution icon of oraclecommunity
via Oracle Community by 843793, 1 year ago
EJB Exception: ; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.Exception: com.wm.app.b2b.server.ServiceException: com.wm.zeus.pd.pdclient.api.WFException: Error code = 2. [WKB.024.0001] Authentication failed. com.wm.zeus.pd.authsrv.AuthenticationException: [WKA.020.0031] The logout operation failed, Login Failed: Returned null user

Solution icon of oraclecommunity
via Oracle Community by 3004, 3 months ago
EJB Exception: ; nested exception is: java.lang.NoClassDefFoundError: sampleAdapter/eis/EISConnection

Solution icon of oraclecommunity
via Oracle Community by 666705, 3 months ago
EJB encountered System Exception: ; nested exception is: java.lang.AssertionError: java.security.AccessControlException: No READ permission for key: "weblogic.diagnostics.DiagnosticContext"

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 3 months ago
EJB Exception: ; nested exception is: java.lang.NoClassDefFoundError: com/sun/jersey/api/client/Client

Solution icon of oraclecommunity
BEA1-51590F174ED744F5004B; nested exception is: javax.transaction.HeuristicMixedException: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Closed Connection))

Solution icon of oraclecommunity
[EJB:010171]Illegal attempt to call EJBObject.getPrimaryKey() on a session bean.

Stack trace

java.rmi.RemoteException: EJB Exception: ; nested exception is:
        javax.ejb.EJBException: Exception during RTSMgrBean.findAll : com.logistics.javalib.persistence.layer.PersistLayerExc
eption: org.hibernate.QueryException: fetch may not be used with scroll() or iterate() [select count(*) from com.logistics.so
.rts.bo.RTS rts LEFT OUTER JOIN fetch rts.rtsLineItems as rli where rts.tcCompanyId in(95612190,95612192,95611892) and rts.bu
sinessPartnerId in( 'Relation', 'jorela', 'dkdk', 'jorelati') and rli.regionIdInteger in ('')]
	at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:186)
	at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290)
	at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
	at com.logistics.so.rts.ejb.RTSMgrBean_t9iaop_EOImpl_814_WLStub.findAll(Unknown Source)
	at webroot.jsp_servlet._ofr._rts._jsp.__vendorrtslist._jspService(__vendorrtslist.java:2183)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
	at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
	at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:328)
	at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
	at com.oroad.stxx.plugin.StxxRequestProcessor.doForward(StxxRequestProcessor.java:115)
	at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
	at com.oroad.stxx.plugin.StxxRequestProcessor.processForwardConfig(StxxRequestProcessor.java:149)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
	at com.logistics.javalib.controller.servlet.SessionIdleTimeoutServlet.processRequest(SessionIdleTimeoutServlet.java:107)
	at com.logistics.javalib.controller.servlet.SessionIdleTimeoutServlet.doGet(SessionIdleTimeoutServlet.java:95)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6722)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.ejb.EJBException: Exception during RTSMgrBean.findAll : com.logistics.javalib.persistence.layer.PersistLayer
Exception: org.hibernate.QueryException: fetch may not be used with scroll() or iterate() [select count(*) from com.logistics
.so.rts.bo.RTS rts LEFT OUTER JOIN fetch rts.rtsLineItems as rli where rts.tcCompanyId in(95612190,95612192,95611892) and rts
.businessPartnerId in( 'Relation', 'jorela', 'dkdk', 'jorelati') and rli.regionIdInteger in ('')]
	at com.logistics.so.rts.ejb.RTSMgrBean.findAll(RTSMgrBean.java:182)
	at com.logistics.so.rts.ejb.RTSMgrBean_t9iaop_EOImpl.findAll(RTSMgrBean_t9iaop_EOImpl.java:620)
	at com.logistics.so.rts.ejb.RTSMgrBean_t9iaop_EOImpl_WLSkel.invoke(Unknown Source)
	at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
	... 31 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.