4 Replies Latest reply on Jan 23, 2002 6:45 AM by scotia

    Problems with 2.4.4 / Tomcat 4.0.1

    scotia

      Hi all,

      Having problems getting the integrated JBOSS/Tomcat (2.4.4/4.0.1) to run on W2K......

      If I run the Tomcat stand alone (Catalina/bin/startup.bat script), then it runs fine, servering HTML and servlets on 8080. I'm guessing its using its own HTTP server as I havn't explicitly integrated Apache with mod_JServ.

      However, when I try the jboss/bin/run_with_catalina.bat file, the integrated jboss/tomcat appears to run up normally (I get no errors and a "[INFO,Default] JBoss-2.4.4 Started in 0m:14s.721" message), but it does not serve anything on 8080. Something is running on 8080 though, as the jboss console gives the following message whenever I request "localhost:8080/index.html".

      [INFO,EmbeddedCatalinaServiceSX] StandardHost[localhost]: MAPPING configuration error for request URI
      [ERROR,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] process.invoke java.lang.NullPointerException
      at org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.java:280)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:180)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
      at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
      at java.lang.Thread.run(Unknown Source)

      I have uncommemted the doc base definitions in the server.xml (ie.




      but I always get the same MAPPING configuration error shown above. (Am I right in thinking that the embedded Tomcat does not look at the server.xml file???).

      I think the install works fine, as "http://localhost:8080/jboss/index.html" runs the sample servlet/EJB from the "G:\JBoss-2.4.4_Tomcat-4.0.1\jboss\tmp\deploy\Default\tomcat-test.ear\web1001\index.html" dir. So I have to be doing something wrong!!!


      Apologise if I'm missing something obvious here, but jboss could really use a "getting started" guide. Paid my $10 for the docs, but they jump straight into MBean configuration. Is there any doc that defines the basics of runnig a simple app with HTML, JSP, Servlets and EJB to verify that the installatin works fine????

      Any help or directions would be appreciated - I know I'm not the only person having this issue right now.

      Cheers,

      Scott.

        • 1. Re: Problems with 2.4.4 / Tomcat 4.0.1

          http://localhost/jboss

          Does the forums database use tokens, or this string
          stored about 4000 times in the database :-)

          I know add it to FAQ.

          Regards,
          Adrian

          • 2.
            bytor2002

             

            • 3. Re: Problems with 2.4.4 / Tomcat 4.0.1
              bytor2002

              I think there is a problem with the forum -- when I attached a file to my previous post, the subject and reply text were truncated.

              Here is the text which should have appeared in my previous post:
              =======================================
              After being on this list only a short while and reading how many people are confused by the Error 500 when attempting to open the http://localhost:8080 URL, I created a jboss-root.ear which can be deployed in JBoss to serve up the root context. The default page simply contains a link to the /jboss context and a comment about how if the user sees this page then their configuration is working correctly.

              I have attached the file to this post.

              Regards,
              Michael Schulz
              =======================================

              -Michael Schulz

              • 4. Re: Problems with 2.4.4 / Tomcat 4.0.1
                scotia

                > =======================================
                > After being on this list only a short while and
                > reading how many people are confused by the Error 500
                > when attempting to open the http://localhost:8080
                > URL, I created a jboss-root.ear which can be deployed
                > in JBoss to serve up the root context. The default
                > page simply contains a link to the /jboss context and
                > a comment about how if the user sees this page then
                > their configuration is working correctly.

                Michael - can't seem to get your file from the forum. Did it post okay?

                Scott.