I ran into problems trying to do this as well - deploy a webapp through
apache that was not in tomcats default location for serving webapps.  I
could not get an absolute path name to work - its a particularly nasty
little bug - as when I put in an absolute path name, it not only wouldn't
find it on startup, it would lock into an infinite loop while attempting to
deploy it, and never finish starting apache.  It did make some impressively
sized error log files before I tracked it down however... :)

Has anyone else had this infinite loop bug?  I should probably go look in
bugzilla somewhere, and report it... 

Anyway, use a relative path name (I think from tomcats webapps directory),
and it should work.  This works for me.  


<IfModule mod_webapp.c>
    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy manager warpConnection /manager
    WebAppDeploy /../../../home/armbrust/webapps/test warpConnection /test
</IfModule>




-----Original Message-----
From: Ali Manji [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 10:34 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.0.1 + Apache 1.3.22 + WebAppDeploy


I am trying to figure out what I would put for the WebAppDeploy entry in
my apache httpd.conf file.

I have the following configuration in my TC4.0.1 server.xml I have something

like the following:

     ...
     <Host name="star" debug="0" appBase="webapps" unpackWARs="true">
        <Context path="/myApp"
         docBase="E:/WORK/MyApplication/DEPLOYMENT"
                 reloadable="true">
        </Context>
        </Host>
     ...

That is to say my application does NOT sit under the tomcat webapps 
directory.  So I was wondering what I would enter in this scenario for the 
WebAppDeploy entry in my apache httpd.conf file to suit this scenario?

Thanks in advance,
Ali



*****************************************************
Ali M. Manji

We increase what we have through scattering it and
experience poverty through hoarding it.
We are enlarged by pressure and shrunk by prosperity.
*****************************************************


_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

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

Reply via email to