This discussion is archived
0 Replies Latest reply: Apr 30, 2012 2:14 AM by 901163 RSS

java.lang.NoClassDefFoundError:oracle/jdbc/pool/OracleDataSource

901163 Newbie
Currently Being Moderated
Hi all,

I am trying to test the webservice in oc4j which throws the following exceiption ---Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource. I have BIP 10.1.3.4.2 and OC4J standalone 10.1.3.1. I have java 1.6 installed and i have ojdbc6.jar in ORACLE_HOME/lib diretory and updated in CLASSPATH as well as in start up script of OC4J. The error trace are---

Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1345)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:213)
at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at oracle.apps.xdo.servlet.webservices.DynamicClient.invokeMethod(DynamicClient.java:179)
at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:75)
at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:163)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:211)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:81)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:572)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:266)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:246)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:174)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:197)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points