3 Replies Latest reply on Feb 18, 2011 1:00 AM by PCHIU

    Tomcat 6 and EA 1.1.0.291 java.lang.NoClassDefFoundError

    gabs
      Hello, i'm having a really hard time getting the listener (I have tried all versions up to and including EA 1.1.0.291) to run on tomcat6.
      The configuration page comes up fine, but as soon as I try to apply any settings, or go too /apex I get this error:

      "
      Feb 16, 2011 8:35:57 PM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet HttpEndPoint threw exception
      java.lang.NoClassDefFoundError: Could not initialize class $Proxy54
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
           at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:588)
           at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.createCallableStatementProxy(CallableStatementProxyFactory.java:64)
           at oracle.ucp.jdbc.proxy.ConnectionProxyFactory.proxyInvokeAfterTargetInvoke(ConnectionProxyFactory.java:154)
           at oracle.ucp.jdbc.proxy.JDBCConnectionProxyFactory.invoke(JDBCConnectionProxyFactory.java:266)
           at $Proxy52.prepareCall(Unknown Source)
           at oracle.dbtools.apex.OWA.getStatement(OWA.java:444)
           at oracle.dbtools.apex.OWA.resetSession(OWA.java:181)
           at oracle.dbtools.apex.ModApex.close(ModApex.java:156)
           at oracle.dbtools.apex.ModApex.doGet(ModApex.java:95)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
           at oracle.dbtools.rt.web.HttpEndpointBase.defaultServlet(HttpEndpointBase.java:115)
           at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:82)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
           at java.lang.Thread.run(Thread.java:619)
      Feb 16, 2011 8:35:58 PM org.apache.catalina.core.ApplicationContext log
      "
      The listener runs fine on the OC4j server that comes with Oracle 11g.

      Server Information:
      Tomcat Version - Apache Tomcat/6.0.26     
      JVM Version - 1.6.0_20-b02     
      OS Version - Debian lenny/sid
      OS Architecture - amd64

      Does anyone have any suggestions?

      Cheers,
      gabs.