3 Replies Latest reply on Jul 27, 2004 9:08 AM by 44207

    How to install a JSP in the OC4J Home of Portal 9.0.2.x

    389935
      Hi

      I have a 9iAS Portal 9.0.2.22 installation and I would like to install and run my simple JSP page in the OC4J "Home" of Portal.

      What are the operations needed to install and run my JSP ?

      Thanks for your help,

      Best regards,

      JC
        • 1. Re: How to install a JSP in the OC4J Home of Portal 9.0.2.x
          13925
          Hi,

          You'll need to wrap your JSP up in an enterprise application (.ear file) and deploy that app (using dcm or em) to the destination OC4J instance.

          You can use JDeveloper to simplify the task of generating the .ear file.

          Regards,

          Gareth
          (PDK team)
          • 2. Re: How to install a JSP in the OC4J Home of Portal 9.0.2.x
            279511
            You can refer to this document for more information on packaging and deploying your Enterprise Archives

            http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/JPDK/V2/DEPLOYING.PDKJAVA.V2.PROVIDERS.HTML

            HTH,
            Ashish.
            • 3. Re: How to install a JSP in the OC4J Home of Portal 9.0.2.x
              44207
              Hi..

              Regarding the issue..I have similar problem..

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

              2)I want to put it in the current jpdk folder
              jpdk/htdocs/main/main.jsp

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

              4)But, when I try call the jsp from the browser,
              http://server:7778/jpdk/htdocs/main/main.jsp,

              it gaves this error..

              "500 Internal Server Error
              java.lang.NoClassDefFoundError
                   at _htdocs._seller._main._jspService(_main.java:57)
                   [SRC:/htdocs/seller/main.jsp:3]
                   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:59)
                   at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
                   at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
                   at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
                   at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
                   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: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,
              Rushdan.