tomcat-4.0.4/Apache-1.3.26 and mod_jk

2002-09-09 Thread damar thapa

Hi,

I followed John Turner's Apache1.3.26 version of howto to 
install/setup/configure the captioned packages.

All went fine:
Apache is ok on its own,
tomcat is ok on its own,
and localhost/examples can access the html file located at 
/webapps/examples, but when I try to run servlet or jsp, I get internal 
error message. To be precise, I can run 
http://localhost:8080/examples/servlet/HelloWorldExample; but not 
http://localhost/examples/servlet/HelloWorldExample;

I would appreciate, if any one out there can point me what I have not done.

regards,

Damar





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: tomcat-4.0.4/Apache-1.3.26 and mod_jk

2002-09-09 Thread damar thapa

Hi,

I would like to add one more query here.

I created one servlet called AddDispServlet.class, which I copied to 
/webapps/examples/WEB-INF/classes directory.

And to deploy that, I added the following lines in /WEB-INF/web.xml file:

servlet
servlet-nameAddDispServlet/servlet-name
servlet-classAddDispServlet/servlet-class
/servlet

servlet-mapping
servlet-nameAddDispServlet/servlet-name
url-patternAddDispServlet/url-pattern
/servlet-mapping

Reran apache, and tomcat, and tried to access that servlet with 
localhost:8080/examples/servlet/AddDispServlet, it did not work.
After updating web.xml file with the above lines, I even cannot run 
localhost:8080/examples.

Have I missed some points in deploying the servlet? Any pointers would 
be highly appreciated.

Thanks again.

Damar


damar thapa wrote:

 Hi,

 I followed John Turner's Apache1.3.26 version of howto to 
 install/setup/configure the captioned packages.

 All went fine:
Apache is ok on its own,
tomcat is ok on its own,
and localhost/examples can access the html file located at 
 /webapps/examples, but when I try to run servlet or jsp, I get 
 internal error message. To be precise, I can run 
 http://localhost:8080/examples/servlet/HelloWorldExample; but not 
 http://localhost/examples/servlet/HelloWorldExample;

 I would appreciate, if any one out there can point me what I have not 
 done.

 regards,

 Damar





 -- 
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]