9 Replies Latest reply on Jul 8, 2003 5:13 AM by dosapati

    Configuring Tomcat 4.1.24 with Jboss 3.2.1

    dmilks

      I need some help configuring Tomcat 4.1.24 with Jboss 3.2.1. After I start Jboss, I am unable to start Tomcat. I'm assuming it has to do with both services trying to use the same port. However, there are so many port numbers used for different things and I don't know which ones (if any) to change. What I'm trying to do is run my STRUTS app on Tomcat and have it access EJB on the Jboss container.

      Thanks.

        • 1. Re: Configuring Tomcat 4.1.24 with Jboss 3.2.1
          frito

          I am not sure if I got you right...
          If you are using JBoss 3.2.1 with Tomcat 4.1.24, you don't have to start Tomcat at all... it starts with JBoss.

          If you don't want to use the embedded Tomcat, remove it from your configuration.

          Greetings,
          Frito

          • 2. Re: Configuring Tomcat 4.1.24 with Jboss 3.2.1
            dmilks

            You mean that JBoss automatically starts Tomcat for me?

            I tried this but the http://localhost:8080/ url points to a page in the Jboss directory which says "No Default Context". So I don't see how it would have started Tomcat.

            I want to use Jboss as my app server and Tomcat as my web server. I'm NOT using the JBoss which has Tomcat embedded. I'm using the standalone JBoss.

            Also, where can I find all documentation on using JBoss and Tomcat? There doesn't seem to be a "Documentation" link on the JBoss site as there is on the Tomcat site. There are so many directories and XML files and I'm not sure what any of them do!

            Thanks,
            Dylan

            • 3. Re: Configuring Tomcat 4.1.24 with Jboss 3.2.1
              paultaylor

              Im just porting from Weblogic appserver ,tomcat frontend to JBOSS 3.1.24 with integrated tomcat. I have to say it works really well and I would recommend going for the integrate dapproach.

              • 4. Re: Configuring Tomcat 4.1.24 with Jboss 3.2.1
                paultaylor

                sorry JBOSS 3.2.1 with tomcat 4.1.24

                • 5. Re: Configuring Tomcat 4.1.24 with Jboss 3.2.1
                  frito

                  @dmilks
                  JBoss comes with embedded Tomcat or standalone. Well, even the standalone verison has a webservice in (Jetty). Remove this (or try another configuration for Jetty) and you can start Tomcat standalone with the default configuration.

                  Greetings,
                  Frito

                  • 6. Re: Configuring Tomcat 4.1.24 with Jboss 3.2.1
                    jinlxu

                    i have the same problem,who solve it? thanks.

                    • 7. Re: Configuring Tomcat 4.1.24 with Jboss 3.2.1

                      I want to configure JBoss 3.2.1 with Tomcat 4.1.24. I do not want to use the integrated version. How do I configure tomcat/Jboss which are individually installed to work together?

                      • 8. Configuring Tomcat 4.1.24 with Jboss 3.2.1
                        tsstsc

                        Hi, i'm new to Jboss, have just installed Jboss 3.2.1 with integrated Tomcat 4.1.24 and Ant 1.4. I have JBOSS_DIST and ANT_HOME and both can run.

                        I have also downloaded the documentation example ("Interest" example"). All the codes in still uncompiled. I could not compile codes with ejb or servlets. What should i do? How to i deploy the example? Please help. thanks

                        • 9. Re: Configuring Tomcat 4.1.24 with Jboss 3.2.1
                          dosapati

                          hi,
                          try this if it is helpful for you.
                          I am recently trying out jboss3.2.1_tomcat4.1.24. When you start this, tomcat service is also get started. But you dont find any context at http://localhost:8080.

                          I tried examples context, which is provided with jakarta-tomcat-4.1.24[from jakarta.apache.org website]. follow these steps
                          1. start jboss using 'run.bat -c all'
                          2. create examples.war directory under <JBoss_HOME>/server/all/deploy
                          3. copy all the files under <JAKARTA_TOMCAT_4.1.24>/webapps/examples to <JBoss_HOME>/server/all/deploy/examples.war/
                          [**before copying remove all the content in the <web-app> tag in web.xml of examples context]
                          4. now the 'examples' context is loaded
                          5. point your browser to http://localhost:8080/examples
                          --