1 2 Previous Next 23 Replies Latest reply on Jul 4, 2002 7:37 AM by gregwilkins

    configuring Jboss with Tomcat

    sachin_bais

      HI,
      I have dowloaded JBoss 3.0 version which has integrated Tomcat 4.0.3 with it.
      It seems the server is starting......
      But.........When i start the default page it gives error like:
      Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request...
      what to do.....

        • 1. Re: configuring Jboss with Tomcat
          enkay

          If you go to http://localhost:8082 and see a list of JBoss components installed, that means installation went through properly.

          • 2. Re: configuring Jboss with Tomcat
            piter

            I have the same tomcat issue.

            I am in Linux, I goto jboss-tomcat/bin/run.sh to start JBoss3.0-Tomcat.

            which appears to be starting the EjbContainer and the Tomcat servlet/jsp container.

            However, when I goto check tomcats example directory by going to localhost:8080 or localhost:8080/examples I get the following

            Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request


            • 3. Re: configuring Jboss with Tomcat
              buster

              There is not defualt application installed, there for there is not default context root. you have to create an application.

              • 4. Re: configuring Jboss with Tomcat
                pbur

                I keep reading this same thread over and over. And the same response is "you need to configure an app" or "you need to make the default context" yet no one has provided a link to the exact documentation that states how to do this. I have the Quick Start Guide in front of me right now. If some one here can tell me Page Number and paragraph where it states how to configure the embedded Tomcat to serve the example apps in Tomcat, I would greatly appreciate it. I am trying to RTFM, but I am not finding the important information.

                • 5. Re: configuring Jboss with Tomcat
                  davejenk

                  Yep, the documentation is a bit lacking in detail. However I've been experimenting and have found that you need to deploy your war files to the 'jboss-3.0.0_tomcat-4.0.3\server\default\deploy' directory. Tomcat is on port 8080 not 8083 as the Agent view seems to suggest (or is there another Webserver?).
                  The upshot is that if you want the Tomcat examples to work then you'll have to create a war from the examples dir, fix up the deployment issues (try to deploy as is and you'll get a couple of errors) and put the war in the deploy dir as above.
                  I've not tried to fix the deploy errors with examples but have successfully deployed a struts war which was all html pages.

                  Dave

                  • 6. Re: configuring Jboss with Tomcat
                    piter

                    I was able to view the examples in the 'examples.war' archive at:

                    http://localhost:8080/examples/servlets/index.html

                    after I dropped the 'examples.war' file into the

                    /home/piter/jboss-3.0.0_tomcat-4.0.3/server/default/deploy

                    directory


                    • 7. Re: configuring Jboss with Tomcat
                      pbur

                      Thanks for the note. I will give that a shot. That has been the most informative post I have read so far. Now I just need to go look up building a WAR. (I am an old school EJB 1.0 guy. I am looking into App Servers to upgrade our app to at least EJB 1.1)

                      • 8. Re: configuring Jboss with Tomcat
                        belz

                        I tried copying my examples directory to the /jboss-3.0.0_tomcat-4.0.3/server/default/deploy directory. I
                        get the error: Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request, when I tried to go to http://localhost:8080/examples/servlets/index.html.
                        I also receive a command line error MAPPING configuration error for request URI. Is there something else I have missed doing?

                        • 9. Re: configuring Jboss with Tomcat
                          sachin_bais

                          thanks devjenk,
                          urs suggestion was really useful...
                          its running.....

                          • 10. Re: configuring Jboss with Tomcat
                            b_s_

                            can you tell me why use tomcat and not jetty???

                            • 11. Re: configuring Jboss with Tomcat
                              sachin_bais

                              I am developing an application to show case the Java Architecture.
                              The reason for using the Tomcat is more people know
                              Tomcat as compared to jetty...

                              • 12. Re: configuring Jboss with Tomcat
                                sosparma

                                I've installed the JBoss3.0-Tomcat4.0.3 bundle and I created a WAR file to test some HTMLs JSPs and Servlets.
                                Anything under the root directory inside my WAR file was recognized (HTMLs and JSPs), but none of the subdirectories were, so I couldn't see any of my gifs (under /images) or execute my servlets (under /WEB-INF/classes) and I guess the web.xml (under /WEB-INF) wasn't visible either. I used NETBEANS to create the WAR.

                                Could someone tell me how to enable those directories and their contents inside JBOSS-TOMCAT?

                                NOTE: My setup works OK inside NETBEANS and when deployed in TOMCAT-standalone server (without JBOSS).

                                Thanks.

                                • 13. Re: configuring Jboss with Tomcat
                                  angelicdevil

                                  i just cant wait for the release of the documentation for JBoss 3.0

                                  • 14. Re: configuring Jboss with Tomcat
                                    ikant

                                    I've been having the exact same problems but not only with .war files but also .ear files. They can see the top level stuff but can't see into my WEB-INF directory or my META-INF directory. I've created and deployed my wars from both Linux and Windoze 2000 and have used both Tomcat and Jetty to no effect.

                                    I find this very annoying as I am following the Sun standard specifically and it is not working.

                                    1 2 Previous Next