8 Replies Latest reply on Oct 19, 2002 7:11 AM by loopy

    JBoss 3.0/Tomcat 4.0 bundle no context?

    johncurley

      Hi, All:

      I just downloaded the JBoss 3.0/Tomcat 4.0 bundle. I am trying to set up a configuration that runs Tomcat 4.0 as the Web Container.

      Out of the box, I ran run.bat from the jboss\bin directory and JBoss started up.

      However, when I try to invoke any Tomcat example, such as the url:

      http://localhost:8080/examples

      I get the following error:

      /////////////////

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

      --------------------------------------------------------------------------------

      type Status report

      message No Context configured to process this request

      description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request.

      ////////////////

      does anyone know what I have to do to fix this?

      Thanks,
      John Curley

      john_curley@tvratings.com

        • 1. Re: JBoss 3.0/Tomcat 4.0 bundle no context?
          johncurley

          Found my own answer on the net:

          http://www.csd.abdn.ac.uk/~bscharla/JBossTomcatInstall.html

          thank you, whoever wrote this!

          • 2. Re: JBoss 3.0/Tomcat 4.0 bundle no context?
            pkasson

            This is a common problem based on using Tomcat standalone. The application will run if you build a WAR file (same as a ZIP, but with the WAR extension) and then deploy it to the server/default/deploy directory.

            When you copy it to that directory, you should see the JBoss console show the progress of its' new WAR file and when it has completed, you can run it as you described.

            • 3. Re: JBoss 3.0/Tomcat 4.0 bundle no context?
              dedhat

              Hi,

              I am also trying to set up a configuration that runs Tomcat 4.0 as the Web Container with JBoss 3.0.

              I did following things (as mentioned in http://www.csd.abdn.ac.uk/~bscharla/JBossTomcatInstall.html):

              1) set JAVA_HOME=G:\jdk1.3.1_04
              2) set J2EE_HOME=G:\j2sdkee1.3.1
              3) set CATALINA_HOME=G:\jboss-3.0.0_tomcat-4.0.3
              \catalina
              4) set JBOSS_DIST=G:\jboss-3.0.0_tomcat-4.0.3
              5) added the mysql-connector-java-3.0.0-beta-bin.jar
              JDBC-Driver into classpath of run.bat of Jboss server.

              I tried accessing http://localhost:8080/index.html but getting the same error (Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request....).

              Could you please tell me where am I making mistake.

              Thanks,

              Atul

              • 4. Re: JBoss 3.0/Tomcat 4.0 bundle no context?
                loopy

                I'm getting the same problem. I can start up and use Tomcat using the scripts in \jboss\catalina\bin, but if I use \jboss\bin\run.bat, I can't use Tomcat because of this context error. This leads me to believe that there is a configuration error, but I've run the package out of the box, without changing anything.

                Any ideas would be greatly appreciated.

                Loopy

                • 5. Re: JBoss 3.0/Tomcat 4.0 bundle no context?

                  Yes,

                  The configuration error is that there is no
                  web application deployed.

                  http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ you get the latest jboss3.0 release it includes a
                  jmx management web-app at
                  http://localhost:8080/jmx-console
                  which you can find in server/default/deploy/jmx-console.war

                  Regards,
                  Adrian

                  • 6. Re: JBoss 3.0/Tomcat 4.0 bundle no context?
                    dedhat

                    I got it working :)

                    Adrian, thank u very much!!

                    Atul


                    • 7. Re: JBoss 3.0/Tomcat 4.0 bundle no context?
                      bhatsubj

                      Hi friends,

                      I am using jboss3 and tomcat 4.0. New to jboss and tomcat. After starting jboss using run.bat.... I tried localhost:8080 at browser ... it is giving some context not found...

                      Can any one guide me to do it step by step on how to use tomcat integrated in jboss? First how to see index page when we give localhost:8080, then how to develop an application with servlet, jsp and helper classes. And then how to deploy.



                      Thanks
                      Bhat

                      • 8. Re: JBoss 3.0/Tomcat 4.0 bundle no context?
                        loopy

                        > If you get the latest jboss3.0 release it includes a
                        > jmx management web-app at
                        > http://localhost:8080/jmx-console
                        > which you can find in
                        > server/default/deploy/jmx-console.war

                        It doesn't work. I've downloaded 3.0.3 from the site and installed it over the top of my previous 3.0.0 and tried this link. All I get is this:

                        HTTP ERROR: 404 /jmx-console Not Found

                        RequestURI=/jmx-console


                        This is the last page of the startup messages in case you can see something I don't:

                        11:19:25,298 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/defaul
                        t/deploy/jmx-console.war/
                        11:19:25,298 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
                        ration 'checkIncompleteDeployments()'
                        Cause: Incomplete Deployment listing:
                        Packages waiting for a deployer:

                        Incompletely deployed packages:

                        MBeans waiting for classes:

                        MBeans waiting for other MBeans:
                        [ObjectName: jboss.web:service=EmbeddedCatalinaSX
                        state: FAILED
                        I Depend On:
                        Depends On Me: LifecycleException: null.open: java.net.BindException: Address
                        already in use: JVM_Bind:8080]
                        11:19:25,308 INFO [URLDeploymentScanner] Started
                        11:19:25,308 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/defaul
                        t/conf/jboss-service.xml
                        11:19:25,308 INFO [Server] JBoss (MX MicroKernel) [3.0.3 Date:200209301503] Sta
                        rted in 0m:17s:856ms
                        11:19:40,600 INFO [jbossweb] Registered jboss.web:Jetty=0,HttpContext=0,context
                        =/
                        11:19:40,600 INFO [jbossweb] Started HttpContext[/]

                        Any ideas why this is still happening?