0 Replies Latest reply on Jul 30, 2004 2:22 AM by 44207

    java.lang.NoClassDefFoundError"...when deploy a jsp with beans...


      We got an "500 Internal Server Error

      Previously..and currently also, others jsp we deployed are running ok and fine.

      But, the newest jsp file that we try to run in the OC4J, that calls bean, failed with the error above..

      Below is the detail..anybody can help?

      1) We have one jsp file (main.jsp) that will call bean in Main.jar.

      2)We want to put it in the current jpdk folder

      3)And we assume that the bean to put in
      /OC4J_Portal/applications/jpdk/WEB-INF/lib/Main.jar ,
      as the same level as samplev2.jar.

      4)But, when I try call the jsp from the browser,

      it gaves this error..

      "500 Internal Server Error
      at _htdocs._seller._main._jspService(_main.java:57)
      at com.orionserver[Oracle9iAS ( 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 ( Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
      at com.evermind[Oracle9iAS ( Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
      at com.evermind[Oracle9iAS ( Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
      at com.evermind[Oracle9iAS ( Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
      at com.evermind[Oracle9iAS ( Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
      at com.evermind[Oracle9iAS ( Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)"

      We already restart the server in order to make the bean work, but as it shows, it cannot find the bean.

      Any ideas, or missing steps?

      5) We also have a xml file, call plugin.xml, that to put in the server...should we put the file in
      OC4J_Portal/config/plugin.xml or
      any where else?

      Hope anyone can help...

      Regards and Best Wishes to All,