Re: autodeploying/unpacking ROOT.war

2009-08-20 Thread Ognjen Blagojevic

Christoph Kukulies wrote:
What again are the bits to auto-unpack/deploy a file in the webapps 
directory, e.g. ROOT.war?

I looked into server.xml and there is
unpackWars=true and autoDeploy=true and still a ROOT.war file I put 
into /usr/share/tomcat5.5/webapps remains untouched when I start 
tomcat5.5 again. (It's Debian, yes).


Is your context visible after server restart or not? Are there any 
arrors in the log files?


Please send the content of ROOT's context.xml.

-Ognjen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: autodeploying/unpacking ROOT.war

2009-08-20 Thread Christoph Kukulies

Ognjen Blagojevic schrieb:

Christoph Kukulies wrote:
What again are the bits to auto-unpack/deploy a file in the webapps 
directory, e.g. ROOT.war?

I looked into server.xml and there is
unpackWars=true and autoDeploy=true and still a ROOT.war file I 
put into /usr/share/tomcat5.5/webapps remains untouched when I start 
tomcat5.5 again. (It's Debian, yes).


Is your context visible after server restart or not? Are there any 
arrors in the log files?


Nothing got unpacked. I was used that whenever I put a fresh ROOT.war 
(which hen contained something different than the tomcat ROOT app) it 
got unpacked into a ROOT directory in webapps.

(I helped myself now in unzipping the war file).


Please send the content of ROOT's context.xml.


/usr/share/tomcat5.5-webapps# vi ROOT.xml
!--
   Context configuration file for the Tomcat Web App Root
--

Context path=/ docBase=/usr/share/tomcat5.5-webapps/ROOT
  debug=0 privileged=true allowLinking=true
/Context



-Ognjen

--
Christoph


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: autodeploying/unpacking ROOT.war

2009-08-20 Thread Ognjen Blagojevic

Christoph Kukulies wrote:
Nothing got unpacked. I was used that whenever I put a fresh ROOT.war 
(which hen contained something different than the tomcat ROOT app) it 
got unpacked into a ROOT directory in webapps.

(I helped myself now in unzipping the war file).


This is typical behavior when the docBase points to ROOT.war (file) 
instead of ROOT (folder), but it seems that this is not the case with 
your configuration:


The Document Base (also known as the Context Root) directory for this 
web application, or the pathname to the web application archive file (if 
this web application is being executed directly from the WAR file). [1]


What kind of Tomcat installation do you have? ZIP file or Debian package?



Context path=/ docBase=/usr/share/tomcat5.5-webapps/ROOT
  debug=0 privileged=true allowLinking=true
/Context


The value of this field [docBase] must not be set when the Context is 
configured using a META-INF/context.xml file as it will be inferred by 
the automatic deployment process. [1]


This might be the problem. Try to remove the docBase attribute, and let 
us know what happens.



-Ognjen

[1] http://tomcat.eu.apache.org/tomcat-5.5-doc/config/context.html


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: autodeploying/unpacking ROOT.war

2009-08-20 Thread Caldarale, Charles R
 From: Ognjen Blagojevic [mailto:ogn...@etf.bg.ac.rs]
 Subject: Re: autodeploying/unpacking ROOT.war
 
  Context path=/ docBase=/usr/share/tomcat5.5-webapps/ROOT
debug=0 privileged=true allowLinking=true
  /Context
 
 This might be the problem. Try to remove the docBase attribute, and let
 us know what happens.

Also remove the path attribute, since it's both wrong and illegal here.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



autodeploying/unpacking ROOT.war

2009-08-19 Thread Christoph Kukulies
What again are the bits to auto-unpack/deploy a file in the webapps 
directory, e.g. ROOT.war?

I looked into server.xml and there is
unpackWars=true and autoDeploy=true and still a ROOT.war file I put 
into /usr/share/tomcat5.5/webapps remains untouched when I start 
tomcat5.5 again. (It's Debian, yes).


--
Christoph Kukulies


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org