Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error loading the index.jsp with OC4J

 
vinod kumar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have deployed a EAR which has a war deployment(web application) with easy eclipse and OC4J standalone container.
The war in turn contains struts application.

The deployment works fine, but on launching the index.jsp i am getting the follownig error in the application log and no pages loads

java.lang.NoClassDefFoundError
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:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.jsp.runtime.OracleJspRuntime.getTagHandlerCT(OracleJspRuntime.java:1452)
at oracle.jsp.runtime.OracleJspRuntime.getTagHandler(OracleJspRuntime.java:1436)
at _reim__errorpage._jspService(_reim__errorpage.java:53)
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.2.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:258)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1598)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1500)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1608)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1500)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1608)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1500)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1608)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1500)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1608)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1500)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1608)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1500)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1608)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1500)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1608)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1500)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:872)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)

Please let me know if you have any idea abt this.

I have the necessary jar files in the lib. This application works fine in the OAS unix deployment.
i am trying to create a developement environment for the same with eclipse.

Vinod
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vinod kumar wrote:Please let me know if you have any idea abt this.

Please use real words when posting to the forums. Abbreviations such as "abt" in place of "about" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic