Desperately seeking help. I'm a total newbie. Box: P4 2ghz, 1GB RAM Running: RedHat 9.0 Domain: martha2004.com Apache 2.x /usr/local/apache2 + PHP 4.3.4 (module) + MySQL 4.x + Webmin 1.40 Bundle [JBoss 3.2.1+Tomcat 4.1.24] on /usr/local/jboss-3.2.1_tomcat-4.1.24 /usr/java/j2sdk1.4.2 I need a 100% working installation of Tomcat+JBoss. When I try this: http://www.martha2004.com/jmx-console I get the JBoss "jmx-console"... no errors on screen... is that all? successful install? PROBLEMS: 1 - jmx-console...now what? why is it public? it should be password-protected... I think I'm missing something fundamental here and would appreciate your help 2 - yes, I can "deploy"(copy) a simple test1.war file (contains z1.jsp+z2.jsp) to /usr/local/jboss-3.2.1_tomcat-4.1.24/server/default/deploy/ http://www.martha2004.com:8080/test1/z1.jsp is working but................... WHO is running this z1.JSP? JBoss or Tomcat? 3 - when I try http://www.martha2004.com:8080 I get this... ******** 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. Apache Tomcat/4.1.24-LE-jdk14 ******* Why? I should get the default Tomcat page, and I would like to get the /jsp-examples page... with all those JSP and Servlet examples... It's not working when I try http://www.martha2004.com:8080/jsp-examples I get HTTP Status 500 - No Context configured to process this request, HELP!
You didn't clearly mentiond if you are using the default tomcat that comes with jboss or you installed tomcat seperately. If you are just starting the best policy would be to just let jboss manage it. It also seems that the files are not deployed properly. I would advice you to finish the jboss tutorial first. application.xml file contains the context name. YOu need to fill that out.
I'll try to provide some additional information. 1. You are correct that getting to the JBoss "jmx-console" seem anti-climatic end. However, it is nice to quickly know that you have properly installed everything. You can change the access privileges by editing the configuration files. 2. It is the Tomcat code that is processing your JSP. 3. Personally, I don't know why there is not a default page for the "root" level. The main reason that I have not bother to investigate it is the notion of the context representing the web application. This provides good hierarchical structure to build your web site and application. I would agree that the application.xml is not correct for your http://www.martha2004.com:8080/jsp-examples. I hope this helps answer your questions.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop