red hat linux 7.1, apache 1.3.20 with mod_webapp, jakarta-tomcat 4.0

the tomcat-apache connection for /examples works with the following setting in 
httpd.conf:
   WebAppConnection  conn      warp  myhostname:8008
   WebAppDeploy      examples  conn  /examples

now, i have another application /jsp that currently works as standalone, i.e., 
http://myhostname:8080/jsp.

how do i set it up such that it also goes through apache?  i tried defining another 
Apache-Connector service in server.xml with port 8009 then placed another couple of 
lines in httpd.conf as follows:

   WebAppConnection  conn2     warp   myhostname:8009
   WebAppDeploy      jsp       conn2  /jsp

and restarted the servers.  was just guessing so i was not surprised that it did not 
work.  the errors in the apache log in tomcat say that there are errors in 
initializing naming contexts for /examples and /jsp so that the context startup 
failed.  the error on the browser when accessing http://myhostname/examples/ is "the 
requested resource(/examples/) is not found," which makes sense.  and the standalone 
tomcat, e.g., http://myhostname:8080/examples still worked.

question: how should i set up tomcat and apache to serve more than one app?
thanks,
--meg



__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

Reply via email to