dcsimg
No Context configured to process this request - Apache+Tomcat+JBoss
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Hari_Om
Posted On:   Monday, September 16, 2002 02:20 PM

Hi Experts, Can anyone provide me with the Simple HellowWorld JSP/Servlet? I want to TEST is my servers are working fine. I am using Apache 1.3.26, Tomcat 4.0.4, JBoss 3.0.3 Also, can anyone list the " Directory structure " of placing Class files, JSP files, Servlet files, WAR/EAR/JAR files? In " httpd.conf " I have following for Apache to know about Tomcat: -------------------------------------------------------- LoadModule jk_module libexec/mod_jk.so JkWorkersFile /usr/local/apache1326/conf/workers.properties JKMount /examples/servlet/* ajp13 JKMount /examples/*.jsp ajp13   More>>
Hi Experts,




Can anyone provide me with the Simple HellowWorld JSP/Servlet? I want to TEST is my servers are working fine. I am using Apache 1.3.26, Tomcat 4.0.4, JBoss 3.0.3




Also, can anyone list the " Directory structure " of placing Class files, JSP files, Servlet files, WAR/EAR/JAR files?



In " httpd.conf " I have following for Apache to know about Tomcat:


--------------------------------------------------------



LoadModule jk_module libexec/mod_jk.so

JkWorkersFile /usr/local/apache1326/conf/workers.properties

JKMount /examples/servlet/* ajp13

JKMount /examples/*.jsp ajp13

JKMount /uno/* ajp13



--------------------------------------------------------



In " workers.properties " I have following:


--------------------------------------------------------


workers.tomcat_home=/jboss/catalina

workers.java_home=/usr/java130

ps=/

worker.list=ajp12, ajp13, ajp14

worker.ajp13.port=8009

worker.ajp13.host=100.100.100.101

worker.ajp13.type=ajp13


--------------------------------------------------------



I have a simple JSP file " uno.jsp " as follows:


--------------------------------------------------------


<%@ page import="java.text.*,java.util.*"%>





<% Date d = new Date();

String myDate = DateFormat.getDateInstance().format(d);%>

Greetings from Manoj <%= myDate %>






--------------------------------------------------------


I created the WAR/EAR file (uno.ear; uno.war) and put those in /jboss/server/default/deploy directory.



I then start my JBoss (Tomcat)first and then Apache and then point my URL to http://IPADDRESS:8080/uno/uno.jsp on which I get following Error:


--------------------------------------------------------


Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request



--------------------------------------------------------



Do I have to follow the same procedure for Servlets?



Does anyone of your Experts know what this Error is about and how to tackle that.



THANKS!


Manoj G. Kithany    <<Less
About | Sitemap | Contact