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

    Problems with 2.4.4 / Tomcat 4.0.1

    scott glen Newbie

      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.