Java.lang.NoClassDefFoundError: oracle/jbo/common/ampool/ApplicationPoolException

Oracle 9iAS J2EE Container 2.0 running on Sun Solaris 5.8
Development Env:
Oracle 9i JDeveloper Release Candidate running on Win2000
I have created a few JSPs in Jdeveloper and they work fine in the embedded OC4J server on Windows.
Then I downloaded oc4j_extended.zip and unzipped and installed in the Solaris box using the Readme.txt instructions. Then I deployed my .deploy file directly to Oracle 9iAS from Jdeveloper9i.
When I try to reach the page of on the appserver I got the following error:
Request URI:/vca/Virtual.jsp
Exception:
java.lang.NoClassDefFoundError: oracle/jbo/common/ampool/ApplicationPoolException
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName0(Compiled Code)
     at java.lang.Class.forName(Compiled Code)
     at com.evermind.server.ApplicationContextClassLoader.findClass(Compiled Code)
     at java.lang.ClassLoader.loadClass(Compiled Code)
     at java.lang.ClassLoader.loadClass(Compiled Code)
     at oracle.jsp.parse.JspUtils.loadClassJDK(Compiled Code)
     at oracle.jsp.parse.JspUtils.loadClass(Compiled Code)
     at oracle.jsp.parse.JspRTTag.(JspRTTag.java:100)
     at oracle.jsp.parse.JspParseState.createTagParser(Compiled Code)
     at oracle.jsp.parse.JspParseTag.parseNextTag(Compiled Code)
     at oracle.jsp.parse.JspParseTagFile.parse(Compiled Code)
     at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:40)
     at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:280)
     at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:173)
     at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:362)
     at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:357)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:145)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:356)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:306)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(Compiled Code)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
     at com.evermind.server.http.HttpRequestHandler.processRequest(Compiled Code)
     at com.evermind.server.http.HttpRequestHandler.run(Compiled Code)
     at com.evermind.util.ThreadPoolThread.run(Compiled Code)
Does the installation file for oc4j missing some libraries? I thought they would be already installed? Should I manually copy them from the embedded oc4j from my Windows installation. If yes, which files?
Please help.
Regards,
D.C.

You need to configure oc4J_extended with BC4J runtime libraries in order to run BC4J applications.
Check out the information in help system
Launch JDev Help system
Select "packaging and deploying"
Select "Ways to deploy Business components for Java (Bc4J)"
Select "Loading BC4J runtime libraries to oc4J"
raghu
JDev Team

Similar Messages

  • Java.lang.NoClassDefFoundError: oracle.adf.mds.repos.DatabaseContext

    Hi All,
    I have a need to run some modules of EBS R12 PMS application in JDeveloper 11g (11.1.2.0). I copied the classes from appl top of the ebs server (/oracle/apps/per/...) to my local computer and added to the ADF application source path.
    Trying to run one of the AMs (/oracle/apps/per/wpm/objectives/server/ObjectivesAM) compiles well but through the following error.
    Am using ADF in JDeveloper 11.1.2.0
    [977] Connected to Oracle JBO Server - Version: 11.1.2.60.81
    [978] An exception occured during checkout.
    [979] oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NoClassDefFoundError, msg=oracle/adf/mds/repos/DatabaseContext
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:599)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2472)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    Caused by: java.lang.NoClassDefFoundError: oracle/adf/mds/repos/DatabaseContext
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:35)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:174)
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:210)
         at oracle.jbo.server.RemotableCompDef.loadFromXML(RemotableCompDef.java:145)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:1118)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:1063)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:537)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1212)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:595)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:515)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:497)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:753)
         at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:277)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:466)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:86)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2912)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         ... 13 more
    Caused by: java.lang.ClassNotFoundException: oracle.adf.mds.repos.DatabaseContext
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         ... 34 more
    ## Detail 0 ##
    java.lang.NoClassDefFoundError: oracle/adf/mds/repos/DatabaseContext
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:35)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:174)
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:210)
         at oracle.jbo.server.RemotableCompDef.loadFromXML(RemotableCompDef.java:145)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:1118)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:1063)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:537)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1212)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:595)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:515)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:497)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:753)
         at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:277)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:466)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:86)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2912)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2472)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    Caused by: java.lang.ClassNotFoundException: oracle.adf.mds.repos.DatabaseContext
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         ... 34 more
    [980] JUErrorHandlerDlg.reportException(oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper)
    [981] UIMessageBundle (language base) being initialized
    Please I will appreciate someone's help here.
    Regards
    Michael

    HI there,
    Is the EBS R12 PMS certified on JDev 11.1.2.x? ... I don't think so. Oracle E-Business Suite has a corresponding JDeveloper release that is certified and enabled to work with OAF framework, any release outside of the certified scope won't work.
    - Juan Camilo

  • Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/

    Hi!
    Kindly assist on the following error.
    I'm doing the sample acmevideo on Cashier Application deploying as a Java Application from JDeveloper3.0 and Oracle8i 8.1.5. And I had this error after executing the following command;
    Path=e:\javaWebServer2.0\jre\bin;%Path%
    jre -cp "e:\cashier\acme.jar" acmevideo.swing.CashierApp
    ERROR MESSAGE ARE FOLLOWS:
    E:\cashier>jre -cp "e:\cashier\acme.jar" acmevideo.swing.CashierAppException in thread "main" java.lang.NoClassDefFoundError:
    oracle/xml/parser/v2/DOMParser
    at
    at oracle.jbo.server.SessionImpl.init(SessionImpl.java:82)
    at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:81)
    at oracle.dacf.dataset.SessionInfo._createAppModule(SessionInfo.java:1776)
    at oracle.dacf.dataset.SessionInfo.connect(SessionInfo.java:1370)
    at oracle.dacf.dataset.SessionInfo.open(Compiled Code)
    at oracle.dacf.dataset.SessionInfo.publishSession(SessionInfo.java:952)
    at oracle.dacf.dataset.SessionInfo.publishSession(SessionInfo.java:934)
    at acmevideo.infoswing.ViewRentalsForm.<init>(ViewRentalsForm.java:189)
    at acmevideo.swing.CashierApp.<init>(CashierApp.java:45)
    at acmevideo.swing.CashierApp.main(CashierApp.java:141)

    Make sure the classpath for the application includes all necessary dependency archives.
    The error in question is referring to the XMLParverv2.jar. This needs to be in the application's classpath when you launch it.
    The jar is available from JDEV_HOME\lib.
    Laura

  • Java.lang.NoClassDefFoundError: oracle/security/ssl/OracleSSLSocketImpl

    Hi, can anyone please help us to come out of this:
    java.lang.NoClassDefFoundError: oracle/security/ssl/OracleSSLSocketImpl
    at oracle.security.ssl.OracleSSLCipherSuite.isSSLLibDomestic(Unknown Source)
    at oracle.security.ssl.OracleSSLCipherSuite.getSupportedCipherSuites(Unknown Source)
    at oracle.security.ssl.OracleSSLSocketFactoryImpl.getSupportedCipherSuites(Unknown Source)
    at HTTPClient.OracleSSL.getSSLDefaultCipherSuites(OracleSSL.java:108)
    at HTTPClient.OracleSSL.initHttps(OracleSSL.java:91)
    at HTTPClient.OracleSSL.<init>(OracleSSL.java:77)
    at HTTPClient.HTTPClientSSLFactory.mk(HTTPClientSSLFactory.java:137)
    at HTTPClient.HTTPConnection.getSSL(HTTPConnection.java:4174)
    at HTTPClient.HTTPConnection.getSSLSocket(HTTPConnection.java:4220)
    at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4038)
    at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3003)
    at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2843)
    at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2635)
    at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1107)
    at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1072)
    at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1049)
    at com.eds.bluesphere.util.V01.HTTPQueryStringRequestDispatcher.invokePost(Unknown Source)
    at com.eds.bluesphere.util.V01.HTTPRequestor.obtainReponse(Unknown Source)
    at com.eds.bluesphere.util.V01.HTTPRequestor.submit(Unknown Source)
    at com.newcorp.mailinglabel.response.USPSResponseProcessor.generateResponseXml(USPSResponseProcessor.java:111)
    at com.newcorp.mailinglabel.response.USPSResponseProcessor.processResponse(USPSResponseProcessor.java:62)
    at com.newcorp.mailinglabel.response.ResponseProcessor.execute(ResponseProcessor.java:89)
    at com.newcorp.mailinglabel.MailingLabelAPI.generateLabel(MailingLabelAPI.java:177)
    at com.newcorp.consumerportal.dataaccess.claim.ClaimMailingLabel.generateUSPSLabel(ClaimMailingLabel.java:74)
    at com.newcorp.consumerportal.process.claim.ClaimConfirmProcess.generateLabel(ClaimConfirmProcess.java:67)
    at com.newcorp.consumerportal.process.claim.ClaimConfirmProcess.executeDoProcess(ClaimConfirmProcess.java:157)
    at com.newcorp.common.PortalProcess.doProcess(PortalProcess.java:201)
    at com.eds.bluesphere.framework.process.V01.ApplicationFrameworkNavigationProcess.invokeDoProcess(Unknown Source)
    at com.newcorp.common.PortalProcessChainingProcess.doProcess(PortalProcessChainingProcess.java:146)
    at com.eds.bluesphere.framework.process.runner.V01.HttpServletProcessRunner.invokeDoProcess(Unknown Source)
    at com.eds.bluesphere.framework.process.runner.V01.HttpServletProcessRunner.execute(Unknown Source)
    at com.eds.bluesphere.framework.process.runner.V01.HttpServletProcessRunner.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at com.eds.bluesphere.framework.process.runner.V01.HttpServletProcessRunner.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    thanks in advance..sha

    java.lang.NoClassDefFoundError: oracle/security/ssl/OracleSSLSocketImpl
    at oracle.security.ssl.OracleSSLCipherSuite.isSSLLibDomestic(Unknown Source)
    at oracle.security.ssl.OracleSSLCipherSuite.getSupportedCipherSuites(Unknown Source)
    at oracle.security.ssl.OracleSSLSocketFactoryImpl.getSupportedCipherSuites(Unknown Source)Some Orcale SSL related classes seem to be there as we see in the trace.
    Those classes seem to deal with general management.
    However, OracleSSLSocketImpl cannot be found, which makes me guess that you have
    some kind of non-SSL enabled version (trial perhaps?) of the Orcale software. Can it be the case?
    Or that you need to place another Oracle supplied jar in your classpath to get SSL to work?
    Edited by: baftos on Sep 26, 2008 11:43 AM

  • Java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver

    When I run java servlet test_ora.java with IE6.0 I get the following error page:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2349)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:376)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:518)
         at java.lang.Thread.run(Thread.java:536)
    root cause
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
         at test_ora.doGet(test_ora.java:21)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2349)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:376)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:518)
         at java.lang.Thread.run(Thread.java:536)
    Java Web Services Developer Pack/1.0-fcs
    I thought it is about JDBC configuration. But when I run JdbcCheckup.java everything works fine. Can anybody help me, please?
    test_ora.java looks like this:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class test_ora extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    String str_dok_numer, str_f_inkraft;
    int int_dok_wal_id;
    Connection conn=null;
    Statement s = null;
    response.setContentType("text/html;charset=iso-8859-2");
    PrintWriter out = response.getWriter();
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@192.168.15.2:1521:DB2","janusz","kimono");
    s = conn.createStatement();
    } catch (SQLException e) {
    out.println("Blad polaczenia z baza danych: " + e.getMessage());
    try {
    ResultSet r =s.executeQuery("select dok_numer, f_inkraft, dok_wal_id from gndlf_umowy_inkraft");
    out.println("DOK_NUMER\tF_INKRAFT\tDOK_WAL_ID");
    while(r.next()){
    out.println (r.getString (1) +"\t" + r.getString (2) + "\t" +r.getString (3));
    conn.close();
    } catch (Exception e) {
    out.println("Wystapil problem z wyslaniem SQL do bazy danych: " + e.getMessage());
    finally {
    try { conn.close(); }
    catch(SQLException e) {}
    and here is code for JdbcCheckup.java (I get it from Internet and made some modifications):
    * This sample can be used to check the JDBC installation.
    * Just run it and provide the connect information. It will select
    * "Hello World" from the database.
    // You need to import the java.sql package to use JDBC
    import java.sql.*;
    // We import java.io to be able to read from the command line
    import java.io.*;
    class JdbcCheckup {
    public static void main(String args[])
    throws SQLException, IOException
    // Load the Oracle JDBC driver
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    // Prompt the user for connect information
    System.out.println("Please enter information to test connection to the database");
    String user;
    String password;
    String database;
    user = readEntry("user: ");
    int slash_index = user.indexOf('/');
    if (slash_index != -1)
    password = user.substring(slash_index + 1);
    user = user.substring(0, slash_index);
    else
    password = readEntry("password: ");
    database = readEntry("database(a TNSNAME entry): ");
    System.out.print("Connecting to the database...");
    System.out.flush();
    System.out.println("Connecting...");
    //Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@" + database, user, password);
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@192.168.15.2:1521:" + database, user, password);
    System.out.println("connected!!!");
    // Create a statement
    Statement stmt = conn.createStatement();
    // Do the SQL "Hello World" thing
    ResultSet rset = stmt.executeQuery("select 'Hello World' from dual");
    while (rset.next())
    System.out.println(rset.getString(1));
    // close the result set, the statement and connect
    rset.close();
    stmt.close();
    conn.close();
    System.out.println("Your JDBC installation is correct.");
    // Utility function to read a line from standard input
    static String readEntry(String prompt)
    try
    StringBuffer buffer = new StringBuffer();
    System.out.print(prompt);
    System.out.flush();
    int c = System.in.read();
    while (c != '\n' && c != -1)
    buffer.append((char)c);
    c = System.in.read();
    return buffer.toString().trim();
    catch(IOException e) {
    return "";
    I use Java Web Service Developer Pack 1.0 on Win98 SE, database Oracle 8.1.7 is installed on dedicated IBM server (AIX 4.x).
    I put these lines in autoexec.bat:
    set PATH=C:\Perl\bin\;"C:\j2sdk1.4.0\bin";%PATH%
    set CLASSPATH=.;C:\j2sdk1.4.0\lib\tools.jar;C:\j2sdk1.4.0\lib\classes12.zip;C:\j2sdk1.4.0\lib\classes111.zip;%CLASSPATH%
    set CLASSPATH=C:\jwsdp_1_0\common\lib\servlet.jar;C:\jwsdp_1_0\common\lib\jasper-compiler.jar;C:\jwsdp_1_0\common\lib\jasper-runtime.jar;%CLASSPATH%
    set JAVA_HOME=C:\j2sdk1.4.0

    I have the same problem. I created a JSP page that uses a class to retrieve database information. I added a main method to the class so I would be able to test it. When I test the class using the main method the method returns all the information from the database. When I try it using Tomcat, I get the following error: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
    Does anyone have an idea of what is going on?
    My CLASSPATH configuration is the same.

  • Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apex/APEX

    Hi All,
    Getting the above error when running the following export utility:
    $ java oracle/apex/APEXExport
    ABove error is thrown.
    I have looked at most blogs suggested by ML.
    Here are my env params:
    echo $CLASSPATH
    /u01/app/oracle/product/11.2.0/db_1/jdbc/lib/ojdbc5dms.jar
    ( No, i don't see any classes12.jar. The classes12.zip resides in oui folder. I tried that as well and it didnt work)
    echo $JAVA_HOME
    /usr/java/jdk1.7.0_02
    So for the heck of it, I tried:
    $ export CLASSPATH=.:${ORACLE_HOME}/jdbc/lib/classes12.zip
    and lo, I am able to at least summon this:
    $ java oracle/apex/APEXExport
    Usage APEXExport -db -user -password -applicationid -workspaceid -instance -skipExportDate -expSavedReports -debug
    -db: Database connect url in JDBC format
    -user: Database username
    -password : Database password
    -applicationid : ID for application to be exported
    -workspaceid : Workspace ID for which all applications to be exported
    -instance : Export all applications
    -skipExportDate : Exclude export date from application export files
    -expSavedReports: Export all user saved intera
    BUT: when invoking specific job, I get this:
    java oracle/apex/APEXExport -db hostname:1521:SID -user apex_030200 -password welcome123 -instance
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver
    at oracle.apex.APEXExport.main(APEXExport.java:315)
    any ideas?

    Hello,
    I get a very similar error.
    Windows 7 Ultimate SP1
    Oracle XE 11.2
    Apex 4.1
    jdk 6u31-windows x64.exe (installed to C:\Program Files\Java\jdk1.6.0_31\.....)
    User Variable CLASSPATH = .\; C:\oraclexe\app\oracle\product\11.2.0\server\jdbc\lib\ojdbc5.jar
    User Variable JAVA_HOME = C:\program files\java\jdk1.6.0_31\jre\bin
    User Variable ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server
    System Variable PATH = C:\oraclexe\app\oracle\product\11.2.0\server\bin;;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\11.0\DLLShared\;C:\Program Files (x86)\Pinnacle\Shared Files\;C:\Program Files (x86)\Pinnacle\Shared Files\Filter\;C:\Program Files (x86)\QuickTime\QTSystem\
    At the C:\apex\utilities directory I give the command:
    java oracle.apex.APEXExpress -db localhost:1521:XE -user SUSANNA -password skippy123 -expworkspace
    I get the error:
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apex/APEXExpress
    Caused by: java.lang.ClassNotFoundException: oracle.apex.APEXExpress
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doProvileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    Could not find the main class: oracle.apex.APEXExpress. Program will exit.

  • Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parse

    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/
    XSLException
    Hi
    I have downloaded XDK and was trying to use the XSU feature..
    I unzipped the XDK file, I ran the following query on SQL plus
    select * from emp. It displayed the full table.
    Then i set the class path for XDK,XMLparserv2,oracle JDBC driver and then ran the same query on dos prompt(that is front end command line for java in my case).
    The following is the line i tried to execute on the command prompt
    java OracleXML getXML -user "scott/tiger" -conn "jdbc:oracle:thin:@localhost
    :1521:PomonaT" "select * from emp"
    PomonaT is the db name(Host string i use to enter SQL+)
    I get the following error
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/
    XSLException
    at OracleXML.To_XML(OracleXML.java:1038)
    at OracleXML.ExecuteGetXML(OracleXML.java:917)
    at OracleXML.main(OracleXML.java:184)
    IS SOMETHING MISSING IN MY CLASSPATH??
    IF YES? Could anyone tell what??
    Kunal

    Add xmlparserv2.jar to Classpath & reboot.

  • JSP error java.lang.NoClassDefFoundError: org/apache/commons/fileupload/Fil

    I'm rather new to jsp. I'm using myeclipse and I'm deploying my site on tomcat. I've been slowly working away on the errors in my log files. Most of the problems that I've run into have been missing jar files. The log error that I'm stuck on follows:
    10:14:40,359 ERROR [Faces Servlet]:253 - Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUpload
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:115)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at com.wolverinecrane.view.util.SecurityFilter.doFilter(SecurityFilter.java:77)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    In my buildpath I have commons-fileupload-1.0.jar which includes org.apache.commons.fileupload which has the class FileUpload.class in it.
    Any help on what may be going wrong here would be appreciated.
    Dan

    Solved:
    http://javalive.com/modules/newbb/viewtopic.php?topic_id=355&post_id=1013&order=0&viewmode=flat&pid=0&forum=4#forumpost1013

  • Java.lang.NoClassDefFoundError: org/apache/commons/fileupload/DiskFileUploa

    i have a servlet for the upload of the files...I compile and it's ok, but in esecution i've this error:
    java.lang.NoClassDefFoundError: org/apache/commons/fileupload/DiskFileUpload
    Why? Any idea?
    The classpath it's ok...
    Thanx !

    Ah...I use package commons-fileupload-1.0.jar
    I hope in your answer...Thanx!

  • ADF / Jdeveloper DVT - java.lang.NoClassDefFoundError: oracle/dss/util/tran

    Hi there,
    I have deployed an application to a weblogic server and one of my pages contains a DVT graph. The application works fine until I attempt to navigate to this page, and incur the following error:
    Deploying from JDdev 1.1.14 to WLS 10.3.4
    java.lang.NoClassDefFoundError: oracle/dss/util/transform/total/TotalData
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at java.lang.ClassLoader.defineClass1(Native Method)
    ... etc.
    I have reviewed the following article which contains the exact issue:
    http://cn.forums.oracle.com/forums/thread.jspa?threadID=1129729&tstart=59
    however, do not know if what I have done is correct.
    I right click on the view controller > Deployments > Edit > Web Inf / Lib and have ensured that ADF Faces Runtime 11 and ADF DVT Faces Runtime are ticked (these weren't initially). ADF DVT Faces Databinding Runtime was already ticked by default.
    I have also attempted this through the EAR via Application > Application Properties, but when I include these in the EAR I receive a deployment error.
    Any help with directions or more specific instructions would be much appreciated.
    S
    Also -
    THe deployment in this instance completes sucessfully, and takes a little longer to deploy, so I do know that something is happenning. However, I still experience the same issue. Is there something that I need to do on the remote server?

    Can I also add, that when I check the WAR file in my deployments folder, I can see the appropriate java classes.
    They are not however included in the EAR.
    Do they need to be in the EAR as well?
    Again, to reiterate, when I try doing this, the deployment fails.
    Simo

  • Help on "java.lang.NoClassDefFoundError: oracle/jsp/runtimev2/JspReportUtil"

    Hi all,
    I encounted the following exception on a deployed project to ias 9.0.2:
    500 Internal Server Error
    java.lang.NoClassDefFoundError: oracle/jsp/runtimev2/JspReportUtil     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:333)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java(Compiled Code))     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:108)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:596)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:567)     at data.lookjjview._jspService(_lookjjview.java(Compiled Code))     at com.orionserver[Oracle9iAS (9.0.2.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java(Compiled Code))     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java(Compiled Code))
    I found there is leak of memory resource on the Oracle RDBMS host while this problem occurs,the database host has only 512Mb RAM.And I once configred the database to worked on Shared Mode,in this case the database has less chance of memory leak,but the above exception occurs more often.So I have to change the database to work back on Dedicate Mode!It's hard to find any tips on my Exception as mentioned above.
    And I want to know the working principle of servlet on iAS.When invoke a servlet,will the servlet be cached on Memory from the first request,or it will be clear up and re-inload until next request?I just wonder if the iAS server will run out of memory,because I noticed there is a memory configure option in "jser.properties" file.And the exception I encoutered seems to occur at a critical point.

    Thanks but that did help since they are talking about
    JDK1.3. I downloaded J2SDK-Beta 3 it says that you
    don't need to set a class path variable. You need to be careful about how you interpret this statement. The rule is, if your system doesn't have a classpath set, you'll get a default of the current directory (.). If your system does have a classpath setting, then the setting will be used.
    Just because you didn't set your classpath doesn't mean someone or some other application didn't. Make sure that your system doesn't have a classpath setting. If it does, you may need to add the current directory (.) to it.

  • Java.lang.NoClassDefFoundError: oracle/xml/sql/query/OracleXMLQuery

    Hello, all.
    I get this error message:
    java.lang.NoClassDefFoundError: oracle/xml/sql/query/OracleXMLQuery
    at oracle.xml.xsql.actions.XSQLQueryHandler.handleAction(Compiled Code) ...
    when trying to view an xsql page with the jswdk 1.0.1 web server. (I have no problems when using Web-to-go)
    Classpath includes:
    C:\jdk1.1.8\lib\classes.zip;
    C:\xsql\lib\oraclexsql.jar;
    C:\xsql\lib\xmlparserv2.jar;
    C:\xsql\lib\xsu111.jar;
    C:\xsql\lib\classes111.zip;
    C:\xsql\lib;
    What could be the problem?
    Mateja
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    Only thing I can think of is that maybe your server classpath is getting too long. I recall one of the Java Web Server releases having a classpath length limit that caused strange errors like this because that .jar files you thought were on your classpath were getting their path names truncated so the Java VM cannot find the JAR's.
    Try putting xsu111.jar earlier in the list of JAR's and/or try shortening the classpath (perhaps by using SUBST'd drive letters or softlinks on Unix to shorten the path names).<HR></BLOCKQUOTE>
    Putting the xsu11.jar file towards the start of the path did not help.
    I have rewriten the entire bat file that creates the CLASSPATH and starts the server and things now seem to work. There must have been some error in the original bat file, that I just couldn't see.
    Anyway - I thank you for your help.
    null

  • Oracle reports developer 11g java.lang.NoClassDefFoundError oracle/xml/parser/v2/XMLParserException

    Hi All,
    Need expertise help to resolve the issue I am getting with Oracle Report builder.
    I have installed and configured Oracle Forms and Reports Builder 11g  on my Windows 7 & 64 bit machine.
    Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
    It says
    The error is;
    java.lang.NoClassDefFoundError:
    oracle/xml/parser/v2/XMLParserException
    once I close th eabove error window, then it says java.lang.NullPOinterException.
    I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
    @echo off
    @echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
    @echo Starting Reports 11g Builder...
    setlocal
    call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
    @echo on
    start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
    @echo off
    endlocal
    :end
    @echo on
    But report builder is not working. (Error comes when launching the Report Builder ).
    Quick support is highly appreciated.
    Thanks
    Muditha

    Hi All,
    Need expertise help to resolve the issue I am getting with Oracle Report builder.
    I have installed and configured Oracle Forms and Reports Builder 11g  on my Windows 7 & 64 bit machine.
    Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
    It says
    The error is;
    java.lang.NoClassDefFoundError:
    oracle/xml/parser/v2/XMLParserException
    once I close th eabove error window, then it says java.lang.NullPOinterException.
    I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
    @echo off
    @echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
    @echo Starting Reports 11g Builder...
    setlocal
    call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
    @echo on
    start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
    @echo off
    endlocal
    :end
    @echo on
    But report builder is not working. (Error comes when launching the Report Builder ).
    Quick support is highly appreciated.
    Thanks
    Muditha

  • Tomcat: java.lang.NoClassDefFoundError: oracle/sql/NUMBER

    hi,
    i have managed to come this far with my "simple" webapplication under tomcat.
    the exception is:
    java.lang.NoClassDefFoundError: oracle/sql/NUMBER
    since i have tried to put the classes12.jar in every reasonable directory without effect, i have to bother this forum. does anyone know "where the dog is burried"(german saying)?
    greetz
    Selim Keser

    Hi yves,
    This class is in the jdev_home/jdbc.lib/ojdbc14.jar.
    But prior to deploying your ADF application, did you install the ADF runtime libraries to Tomact as explained here?:
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=j2ee_ptomcatdeploy_html
    Thanks
    Prasanth

  • Java.lang.NoClassDefFoundError: oracle/sql/STRUCT after 11g/GF3.1.2 upgrade

    We have recently upgraded all of our servers from:
    Java 1.6.31 to 1.6.32
    and
    Glassfish 3.1.1 to 3.1.2
    We upgraded our development server from Oracle 10g to 11g.
    Our live servers are working fine. Our development server now is spewing out a java.lang.NoClassDefFoundError: oracle/sql/STRUCT error whenever it encounters a servlet or page which uses this class.
    ojdbc14.jar and sdopai.jar were included within the WAR file, and I have tried with them excluded from the WAR file to no avail. We have tried reverting the version of ojdbc.jar on the server to the earlier version, this has made no different.
    Any ideas? The full stack trace is below:
    [#|2012-05-28T16:15:34.950+0100|WARNING|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=80;_ThreadName=Thread-2;|StandardWrapperValve[EnterDataSS]: PWC1406: Servlet.service() for servlet EnterDataSS threw exception
    java.lang.NoClassDefFoundError: oracle/sql/STRUCT
    at oracle.spatial.geometry.JGeometry.load(JGeometry.java:3097)
    at Bto.Location.LocatorUtils.JavaScriptifySDO(LocatorUtils.java:97)
    at Bto.Chats.Controllers.EnterDataModuleMain.<init>(EnterDataModuleMain.java:136)
    at Bto.Chats.SessionBean.initialiseEdm2(SessionBean.java:348)
    at Bto.Chats.Servlets.Enter.EnterDataSS.processRequest(EnterDataSS.java:36)
    at Bto.Chats.Servlets.ChatsServlet.doGet(ChatsServlet.java:90)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
    at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
    at com.sun.grizzly.http.ajp.AjpProcessorTask.invokeAdapter(AjpProcessorTask.java:135)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.ClassNotFoundException: oracle.sql.STRUCT
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 33 more
    |#]

    >
    Our live servers are working fine. Our development server now is spewing out a java.lang.NoClassDefFoundError: oracle/sql/STRUCT error whenever it encounters a servlet or page which uses this class.
    ojdbc14.jar and sdopai.jar were included within the WAR file, and I have tried with them excluded from the WAR file to no avail. We have tried reverting the version of ojdbc.jar on the server to the earlier version, this has made no different.
    >
    If your code can't find the class then you have the classic NoClassDefFoundError problem you get when any other referenced class can't be located.
    The oracle/sql/STRUCT class is in the ojdbc14.jar, ojdbc5.jar and ojdbc6.jar so if it can't be found then that class is missing from the jar you are using (which you can tell by examining the jar contents) or the jar is missing from the classpath being used.
    As already mentioned you need the Oracle 11 JDBC files to support Java 1.6
    Here is the official Oracle JDBC page that shows the Oracle DB versions supported for each of the JDBC drivers available and also describes the JDBC jars and what JDK versions they support.
    http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#02_01
    >
    Which JDBC drivers support which versions of Javasoft's JDK?
    pre-8i OCI and THIN Drivers - JDK 1.0.x and JDK 1.1.x
    8.1.5 OCI and THIN Drivers - JDK 1.0.x and JDK 1.1.x
    8.1.6SDK THIN Driver - JDK 1.1.x and JDK 1.2.x (aka Java2)
    8.1.6SDK OCI Driver - Only JDK 1.1.x
    8.1.6 OCI and THIN Driver - JDK 1.1.x and JDK 1.2.x
    8.1.7 OCI and THIN Driver - JDK 1.1.x and JDK 1.2.x
    9.0.1 OCI and THIN Driver - JDK 1.1.x, JDK 1.2.x and JDK 1.3.x
    9.2.0 OCI and THIN Driver - JDK 1.1.x, JDK 1.2.x, JDK 1.3.x, and JDK 1.4.x
    10.1.0 OCI and THIN Driver - JDK 1.2.x, JDK 1.3.x, and JDK 1.4.x
    10.2.0 OCI and THIN Driver - JDK 1.2.x, JDK 1.3.x, JDK 1.4.x, and JDK 5.0.x
    11.1.0 OCI and THIN Driver - JDK 1.5.x and JDK 1.6.x
    11.2.0 OCI and THIN Driver - JDK 1.5.x and JDK 1.6.x
    Please note that JDK 1.4 is not supported by the 11 drivers.

Maybe you are looking for

  • What is the expected behavior in a zone after adding a new static route in Solaris 10....

    Hi Folks, I have a few Solaris 10 production machines here at work and had a strange thing happen. I added a new route to these machines using the "add route <destination > <gateway>" command and my web applications running in the zones on these mach

  • Wrong week day when using Calendar

    Today is the 14. of May which is a Monday. Calendar.MONDAY = 2 and therefore : Calendar rightNow = Calendar.getInstance(); int weekday = rightNow.get(Calendar.DAY_OF_WEEK); System.out.println(weekday);should print 2, which it also does. But when I wa

  • Installing from early system disc

    I have an early Leopard disk, which my mac mini spits out after a quick examination. I have an up-to-date version of Leopard installed on an external drive and would like to install from my old Leopard disc -- which I paid for! -- COPYING all the ele

  • Refresh rate settings

    I got a monitor 20.1" Samsung SyncMaster 204b, which blinks on and off when using 1600x1200 60Hz resolution. After extensive search I found information that setting the refresh rate to 56Hz would help, but unfortunately that option is grayed out in O

  • Changing the printed borders on photos

    My current Epson Artisan 710 prints my 4 x 6 photos with a right tab border. I wanted to change this to a standard border (border equal on all sides). When I set this up in iphoto by clicking the standard border etc., the printer continues to print w