tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Sabourdin <zouy...@yahoo.com>
Subject RE: WAR deployment
Date Tue, 17 Oct 2000 09:46:57 GMT
I think it is your docbase that is wrong:
> > docBase="C:/Program Files/Apache
> Group/apache/htdocs/myapp" 
> >
docBase="C:\Program%20Files\Apache%20Group\apache\htdocs\myapp"

I am not sur about that, cause I work under linux, but
the letter also should have a % somewhere..
no?

--- Leon Palermo <leonp@zedak.com> wrote:
> >Hello all,
> 
> >I have an application whose document root is not
> relative to tomcat.  I put a context entry into the
> server.xml file:
> 
> ><Context path="/myapp"
> > docBase="C:/Program Files/Apache
> Group/apache/htdocs/myapp" 
> >debug="0" 
> >reloadable="true" >
> ></Context>
> 
> >I placed my myapp.war file in the "C:/Program
> Files/Apache Group/apache/htdocs" directory and
> deleted the >"C:/Program Files/Apache
> Group/apache/htdocs/myapp directory".  When I
> restart tomcat nothing happens.  >When I move the
> myapp.war file to the "tomcat/webapps" directory the
> war file is unpacked.  How do I get >tomcat to
> recognize that the warfile should be unpacked where
> the context is?  Thanks in advance!
> 
> >Leon
> 
> 
> Thanks to all who answered the previous post.  I
> tried to create my context with 8.3 filenames like
> this:
> 
> <Context path="/myapp"
>  docBase="C:/Progra~1/Apache~1/apache/htdocs/myapp" 
>  debug="0" 
>  reloadable="true" >
> </Context>
> 
> And it didn't affect the outcome.
> 
> So, I tried to put a home="C:/Program Files/Apache
> Group/apache/htdocs/myapp directory" attribute in
> the ContextManager tag of the server.xml file, but
> that required me to copy the conf, webapps, log,
> etc. directories to the new home.  Not exactly what
> I was looking for.  It seems, based on the
> documentation, that the .war file should unzip into
> the docBase attribute of the Context tag.  If anyone
> has had any success in doing this, I would love to
> hear your suggestions.  Thanks again!
> 
> Leon
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

Mime
View raw message