on 11-05-2006 7:01 AM
Hi,
We have a J2EE application which we are porting to Netweaver Web AS o4. We are running into issues related to Serialization of objects when those objects are being passed as parameters to EJBs. If the objects contain some primitive type members, we are seeing exception similar to:
[code]java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:388)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:283)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Caused by: com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.lang.ClassNotFoundException: boolean
Found in negative cache
-
Loader Info -
ClassLoader name: [ejbGensap.com/OurJ2EEApplications]
Parent loader name: [sap.com/OurJ2EEApplications]
References:
service:ejb
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:resourceset_api
interface:transactionext
interface:security
interface:cross
library:opensql
Resources:
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurJ2EEApplications\EJBContainer\jars\gen_tdappinfoejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurJ2EEApplications\EJBContainer\jars\gen_tddatamgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurJ2EEApplications\EJBContainer\jars\gen_tdengappsejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurJ2EEApplications\EJBContainer\jars\gen_tdevtmgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurJ2EEApplications\EJBContainer\jars\gen_tdmetadatasvcejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurJ2EEApplications\EJBContainer\jars\gen_tdplanningejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurJ2EEApplications\EJBContainer\jars\gen_tdsecurityejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurJ2EEApplications\EJBContainer\jars\gen_tdtaskmgmtejb.jar
-
:
at com.sap.engine.services.rmi_p4.server.P4ObjectBrokerServerImpl.getException(P4ObjectBrokerServerImpl.java:1054)
at com.sap.engine.services.rmi_p4.StubImpl.p4_replicateWithStreams(StubImpl.java:286)
at com.ourapp.server.planning.ejbs.ForecastPlanningSession_Stub.addProductsToPlan(ForecastPlanningSession_Stub.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy299.addProductsToPlan(Unknown Source)
at com.ourapp.server.service.planning.impl.ForecastPlanServiceImpl.addProductsToBO(ForecastPlanServiceImpl.java:802)
... 30 more
Caused by: java.lang.ClassNotFoundException: boolean
Found in negative cache
-
Loader Info -
ClassLoader name: [ejbGensap.com/OurJ2EEApplications]
Parent loader name: [sap.com/OurJ2EEApplications]
References:
service:ejb
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:resourceset_api
interface:transactionext
interface:security
interface:cross
library:opensql[/code]
The stacktrace mentions that the primitive 'boolean' is being considered of Object type which results in a exception resulting in the de-serialization failing and the application crashing.
On investigating further, we found this Java Bug :
<a href="http://bugs.sun.com/bugdatabase/.../view_bug.do;jsessionid=ae63b8ba6afa5ffffffffb10f0c0bdd877c6:YfiG?bug_id=4171142">Bug id: 4171142</a>
which appears to be related to this issue. The bug mentions that it affects JDK version 1.3 and Web AS o4 runs on 1.3 version of Java.
Can anyone confirm whether these are related. And if related, is there any fix for this issue in Web AS o4.
Hi Jaikiran,
My advice is to replace usages of boolean.class with Boolean.class - this replacement will solved your issue. In the newer SPs will add an additional check for primitive types' class and will run away the issue.
You are right about your assumption for de-serialization of primitive types' classes.
best regards,
mladen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We would appreciate if someone would let us know if there is a fix for this issue. Our RMI calls to the beans are failing because of this. The Bug id that i posted earlier has a linked issue which specifically is related to RMI calls:
<a href="http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=bbb76105d8fc8e8ad695f141b12:YfiG?bug_id=4442373">Bug id 4442373</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vladimir, thanks for replying. I was having a feeling that this thread would fall off the radar.
>SAP NetWeaver 04 does run on JDK 1.4.
We tested this on JDK 1.4 as well. No luck.
Here are a few more details of our usecase:
- We are using Webservices and the endpoint of this webservice is a Staless Bean.
- The bean has a method which accepts java.util.ArrayList as one of its parameters
- When the client sends this ArrayList through the webservice to the bean, we starting seeing this exception.
(Even an empty ArrayList throws this exception).
As part trying to figure out what the issue was, we changes the method signature of the bean to accept java.util.List instead of java.util.ArrayList. The client then passed an instance of java.util.LinkedList as the parameter to the bean method via the webservice and it WORKED. Further more we even tested this by changing the method signature to accept a java.util.Set and passed a HashSet. This too worked without any issues. The problem keeps coming up whenever a instance of java.util.ArrayList is being used. Note that we tried out these things with JDK 1.4.
Any thoughts as to what might the cause behind the exception?
[code]2006-11-03 17:07:57,069 DEBUG [org.apache.axis.i18n.ProjectResourceBundle] - org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)
2006-11-03 17:07:57,069 DEBUG [org.apache.axis.enterprise] - Mapping Exception to AxisFault
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:388)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:283)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Caused by: com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.lang.ClassNotFoundException: boolean
Found in negative cache
-
Loader Info -
ClassLoader name: [ejbGensap.com/OurApplication]
Parent loader name: [sap.com/OurApplication]
References:
service:ejb
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:resourceset_api
interface:transactionext
interface:security
interface:cross
library:opensql
Resources:
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdappinfoejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tddatamgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdengappsejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdevtmgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdmetadatasvcejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdplanningejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdsecurityejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdtaskmgmtejb.jar
-
:
at com.sap.engine.services.rmi_p4.server.P4ObjectBrokerServerImpl.getException(P4ObjectBrokerServerImpl.java:1054)
at com.sap.engine.services.rmi_p4.StubImpl.p4_replicateWithStreams(StubImpl.java:286)
at com.ourapp.server.planning.ejbs.ForecastPlanningSession_Stub.addProductsToPlan(ForecastPlanningSession_Stub.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy299.addProductsToPlan(Unknown Source)
at com.ourapp.server.service.planning.impl.ForecastPlanServiceImpl.addProductsToBO(ForecastPlanServiceImpl.java:802)
... 30 more
Caused by: java.lang.ClassNotFoundException: boolean
Found in negative cache
-
Loader Info -
ClassLoader name: [ejbGensap.com/OurApplication]
Parent loader name: [sap.com/OurApplication]
References:
service:ejb
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:resourceset_api
interface:transactionext
interface:security
interface:cross
library:opensql
Resources:
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdappinfoejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tddatamgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdengappsejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdevtmgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdmetadatasvcejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdplanningejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdsecurityejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdtaskmgmtejb.jar
-
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:298)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sap.engine.services.rmi_p4.ReplicateInputStream.resolveClass(ReplicateInputStream.java:63)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1402)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1260)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at com.sap.engine.services.rmi_p4.StubImpl.p4_replicateWithStreams(StubImpl.java:283)
... 38 more
2006-11-03 17:07:57,085 DEBUG [org.apache.axis.SOAPPart] - Enter: SOAPPart ctor(FORM_FAULT)
2006-11-03 17:07:57,085 DEBUG [org.apache.axis.i18n.ProjectResourceBundle] - org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
2006-11-03 17:07:57,085 DEBUG [org.apache.axis.SOAPPart] - Setting current message form to: FORM_FAULT (currentMessage is now org.apache.axis.AxisFault)
2006-11-03 17:07:57,085 DEBUG [org.apache.axis.SOAPPart] - Exit: SOAPPart ctor()
2006-11-03 17:07:57,085 DEBUG [org.apache.axis.SimpleChain] - Enter: SimpleChain::onFault
2006-11-03 17:07:57,085 DEBUG [org.apache.axis.utils.NSStack] - NSPush (32)
2006-11-03 17:07:57,085 DEBUG [org.apache.axis.i18n.ProjectResourceBundle] - org.apache.axis.i18n.resource::handleGetObject(empty00)
2006-11-03 17:07:57,085 DEBUG [org.apache.axis.utils.NSStack] - NSPop (empty)
2006-11-03 17:07:57,085 DEBUG [org.apache.axis.utils.NSStack] - NSPush (32)
2006-11-03 17:07:57,085 DEBUG [org.apache.axis.i18n.ProjectResourceBundle] - org.apache.axis.i18n.resource::handleGetObject(empty00)
2006-11-03 17:07:57,085 DEBUG [org.apache.axis.utils.NSStack] - NSPop (empty)
2006-11-03 17:07:57,085 ERROR [com.ourapp.server.service.security.handlers.ServiceSecurityHandler] - ; nested exception is:
com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.lang.ClassNotFoundException: boolean
Found in negative cache
-
Loader Info -
ClassLoader name: [ejbGensap.com/OurApplication]
Parent loader name: [sap.com/OurApplication]
References:
service:ejb
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:resourceset_api
interface:transactionext
interface:security
interface:cross
library:opensql
Resources:
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdappinfoejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tddatamgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdengappsejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdevtmgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdmetadatasvcejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdplanningejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdsecurityejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdtaskmgmtejb.jar
-
:
AxisFault
faultCode: Server.userException
faultSubcode:
faultString: com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.lang.ClassNotFoundException: boolean
Found in negative cache
-
Loader Info -
ClassLoader name: [ejbGensap.com/OurApplication]
Parent loader name: [sap.com/OurApplication]
References:
service:ejb
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:resourceset_api
interface:transactionext
interface:security
interface:cross
library:opensql
Resources:
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdappinfoejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tddatamgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdengappsejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdevtmgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdmetadatasvcejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdplanningejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdsecurityejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdtaskmgmtejb.jar
-
:
faultActor:
faultNode:
faultDetail:
stackTrace:com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.lang.ClassNotFoundException: boolean
Found in negative cache
-
Loader Info -
ClassLoader name: [ejbGensap.com/OurApplication]
Parent loader name: [sap.com/OurApplication]
References:
service:ejb
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:resourceset_api
interface:transactionext
interface:security
interface:cross
library:opensql
Resources:
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdappinfoejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tddatamgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdengappsejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdevtmgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdmetadatasvcejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdplanningejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdsecurityejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdtaskmgmtejb.jar
-
:
at com.sap.engine.services.rmi_p4.server.P4ObjectBrokerServerImpl.getException(P4ObjectBrokerServerImpl.java:1054)
at com.sap.engine.services.rmi_p4.StubImpl.p4_replicateWithStreams(StubImpl.java:286)
at com.ourapp.server.planning.ejbs.ForecastPlanningSession_Stub.addProductsToPlan(ForecastPlanningSession_Stub.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy299.addProductsToPlan(Unknown Source)
at com.ourapp.server.service.planning.impl.ForecastPlanServiceImpl.addProductsToBO(ForecastPlanServiceImpl.java:802)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:388)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:283)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Caused by: java.lang.ClassNotFoundException: boolean
Found in negative cache
-
Loader Info -
ClassLoader name: [ejbGensap.com/OurApplication]
Parent loader name: [sap.com/OurApplication]
References:
service:ejb
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:resourceset_api
interface:transactionext
interface:security
interface:cross
library:opensql
Resources:
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdappinfoejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tddatamgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdengappsejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdevtmgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdmetadatasvcejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdplanningejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdsecurityejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdtaskmgmtejb.jar
-
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:298)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sap.engine.services.rmi_p4.ReplicateInputStream.resolveClass(ReplicateInputStream.java:63)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1402)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1260)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at com.sap.engine.services.rmi_p4.StubImpl.p4_replicateWithStreams(StubImpl.java:283)
... 38 more
hostname:ps3405
com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.lang.ClassNotFoundException: boolean
Found in negative cache
-
Loader Info -
ClassLoader name: [ejbGensap.com/OurApplication]
Parent loader name: [sap.com/OurApplication]
References:
service:ejb
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:resourceset_api
interface:transactionext
interface:security
interface:cross
library:opensql
Resources:
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdappinfoejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tddatamgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdengappsejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdevtmgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdmetadatasvcejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdplanningejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdsecurityejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdtaskmgmtejb.jar
-
:
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Caused by: com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.lang.ClassNotFoundException: boolean
Found in negative cache
-
Loader Info -
ClassLoader name: [ejbGensap.com/OurApplication]
Parent loader name: [sap.com/OurApplication]
References:
service:ejb
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:resourceset_api
interface:transactionext
interface:security
interface:cross
library:opensql
Resources:
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdappinfoejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tddatamgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdengappsejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdevtmgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdmetadatasvcejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdplanningejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdsecurityejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdtaskmgmtejb.jar
-
:
at com.sap.engine.services.rmi_p4.server.P4ObjectBrokerServerImpl.getException(P4ObjectBrokerServerImpl.java:1054)
at com.sap.engine.services.rmi_p4.StubImpl.p4_replicateWithStreams(StubImpl.java:286)
at com.ourapp.server.planning.ejbs.ForecastPlanningSession_Stub.addProductsToPlan(ForecastPlanningSession_Stub.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy299.addProductsToPlan(Unknown Source)
at com.ourapp.server.service.planning.impl.ForecastPlanServiceImpl.addProductsToBO(ForecastPlanServiceImpl.java:802)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:388)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:283)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
... 23 more
Caused by: java.lang.ClassNotFoundException: boolean
Found in negative cache
-
Loader Info -
ClassLoader name: [ejbGensap.com/OurApplication]
Parent loader name: [sap.com/OurApplication]
References:
service:ejb
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:resourceset_api
interface:transactionext
interface:security
interface:cross
library:opensql
Resources:
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdappinfoejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tddatamgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdengappsejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdevtmgmtejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdmetadatasvcejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdplanningejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdsecurityejb.jar
C:\usr\sap\W02\JC00\j2ee\cluster\server0\apps\sap.com\OurApplication\EJBContainer\jars\gen_tdtaskmgmtejb.jar
-
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:298)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sap.engine.services.rmi_p4.ReplicateInputStream.resolveClass(ReplicateInputStream.java:63)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1402)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1260)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at com.sap.engine.services.rmi_p4.StubImpl.p4_replicateWithStreams(StubImpl.java:283)
... 38 more
[/code]
That's the entire stacktrace that we are seeing
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.