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 process.invoke java.lang.NullPointerException
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.
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.
> 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?