I hope everyone will forgive my ignorance; I'm brand new to J2EE. I'm setting up jboss/catalina from the JBoss-2.4.4_Tomcat-4.0.1.zip file on a Debian GNU/Linux machine with Sun's J2SDK 1.3.1_02 installed.
I'm having a really hard time finding docs, so I'm going to describe what I did in excruciating detail for the next archive-searching newbie (or, in case I did something horribly wrong, to receive wisdom). This is what I did (as root) to get it running: 1) unzip the archive in /usr/local 2) make sure the JAVA_HOME environment variable is set correctly 3) cd /usr/local/JBoss-2.4.4_Tomcat-4.0.1/jboss/bin 4) chmod +x *.sh 5) ./run_with_catalina.sh I'm running this on a remote machine which I'm referring to by IP address, but I'll pretend here that I can get to it by the name "jbosshost". Now, I can go to http://jbosshost:8080/jboss/ and I am immediately redirected to http://jbosshost:8080/jboss/index.html, where I see the page "Servlet / EJB example". I can execute the examples linked from this page without any problem. When I go to http://jbosshost:8080/, I get the message HTTP Status 500 - No Context configured to process this request and the log files show an error like: [16:34:48,374,EmbeddedCatalinaServiceSX] StandardHost[localhost]: MAPPING configuration error for request URI [16:34:48,375,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] process.invoke java.lang.NullPointerException at org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.java:280) at [ ... traceback omitted here for brevity ... ] This error looks exactly like one reported earlier on this list and the answer given at http://www.geocrawler.com/archives/3/10767/2001/21/0/7425721/ to "Deploy an ear with a web application with an empty context name" is still a little cryptic for me to comprehend. Any pointers to relevant documentation would be most appreciated. The problem I'm writing to report may or may not be solved by fixing that problem. Here it is: I can go to http://jbosshost/examples/jsp/index.html and I get the page of Tomcat JSP examples. I have to specify "index.html" to get there; if I just use the directory name with a trailing /, I get the same "HTTP Status 500" message I described above. When I try to execute or view the source of any of the JSP examples on that page, I get the same "HTTP Status 500" error as well. The same is true for the servlet examples at http://jbosshost:8080/examples/servlets/index.html. I guess JBoss needs to be told a little bit more about Tomcat's configuration, right? Can anyone give me some pointers on how to get this working? Forrest Cahoon not speaking for merrill corporation _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
