2 Replies Latest reply on Apr 13, 2002 10:50 AM by johnclarke

    Tomcat/Jboss/Cocoon deploy question

    mkent

      I've currently using Jboss 2.4.3 and Tomcat 3.2.2 running on a Linux server with about 70 JSP pages and one big jar with all of my beans.

      I've also got about a dozen reports written in Cocoon2 developed locally using Tomcat 4.0 on my laptop.

      I'm now need to merge the apps and so I'm trying to upgrade using the JBoss 2.4.4/Tomcat 4.0.1 package to get all three apps playing nicely (I can get to all default examples - yeah! thanks FAQ!), and now I am ready to get MY existing code added it as well.

      My question is this: Do all of my pages need to be deployed in a ".war" folder/file in jboss/deploy for them to be seen? My current JBoss/Tomcat arrangement has all of the files under the tomcat/webapps folder so I'm a little confused here about the correct "new" arrangement of where the files should reside.

        • 1. Re: Tomcat/Jboss/Cocoon deploy question
          mkent

          I've been able to get my packaged ejb beans in a jar file to deploy without errors, but I cannot use them unless I put hte "unpackaged" files in a folder structure under WEB-INF. I know this can be fixed from the web.xml file, but I'm unsure about how to do it.

          Where can I find info on using the web.xml file for the JBoss2.4.4_Tomcat4.0.1 package? I'm using WinNT 4 SP5 with an Oracle 8 connection to a database on a local Linux server.

          • 2. Re: Tomcat/Jboss/Cocoon deploy question
            johnclarke

            The online-manual says 'To deploy your web application, you have to specify (nearly) everything about its setup using the standard web.xml descriptor. This file is bundled in the war archive in the WEB-INF directory. The content and syntax of this file in specified in the servlet2.2 specification.'

            You can get the spec here - http://java.sun.com/products/servlet/download.html

            I need to read it too.