I have a similar problem I think :

My webapp is not in the "webapp" directory, but elsewhere on my hard drive.
I configured the server.xml to indicate this information (<Context
path="/bod" docBase="c:\tmp\bod" ...>).
The /bod context works fine in tomcat standalone (http://localhost:8080/bod)
but the warp connection looks for another path, in the "webapp" directory !!
Moreover, it fills the apache_log..txt file with this error message:

[org.apache.catalina.connector.warp.WarpConfigurationHandler] Cannot find
"C:\Program Files\Tomcat 4.0\webapps\bod" for appl. "bod" host "localhost"
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Error
deploying web application "bod" under <http://localhost:80/bod/>

I tell you, I have to delete this log file because it's easily 500Mb after a
few seconds !

Here are the lines I've put in my apache httpd.conf:

WebAppConnection bod  warp localhost:8008
WebAppDeploy     bod  bod  /bod

I use tomcat 4.0.1, apache 1.3.22, on windows xp.

Thank you for your help.

BoD



----- Original Message -----
From: "xx" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 25, 2001 8:34 AM
Subject: Tomcat 4.0.1/Apache 1.3/Warp Connection


> Hi Everyone,
>
> I have two problems which were already discussed here, but i have not
> found a solution - maybe because I am new to tomcat.
>
> Tomcat and Apache are installed,connected by warp and are working - no
> problem.
>
> But:
>
> 1. I dont't want to use the webapp directory under catalina-home,
> instead I want to place all servlets,jsps and webpages in d:\myapp. This
>
> should also be the document root for apache. As far as I can see I have
> to edit server.xml, and httpd.conf. Can anyone say, what exactely has to
>
> be inserted.
>
> 2.When I deploy a servlet,I have to start  the entire
> catalina-engine,because reloading via the manager app only works on port
>
> 8080 - as it s documented. Is there a way, to reload a context also on
> port 80 and if so what lines have to be inserted in server.xml.
>
> Dieter
>
> [EMAIL PROTECTED]



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to