tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <qm...@brandxdev.net>
Subject Re: Embedded tomcat ussage
Date Fri, 01 Apr 2005 01:54:15 GMT
On Thu, Mar 31, 2005 at 03:18:30PM +0200, Renat Zubairov wrote:
: I have a question concerning embedded tomcat.
: How to make it even more embedded as it is?
: I.e. do not extract war file somewhere but getting a files from it directly?
: Is there any standart way to acomplish it?

It depends on what you mean by "extract war file":
1/ did you specify "unpackWars=true" in server.xml?  If so, Tomcat will
unpack the WAR file because you asked it to.  Set that attribute to
false and see what happens.

2/ or do you mean that Tomcat unpacks certain files to a temporary
space?  I don't think there's a way around this; so just specify (a
subdirectory of) java.io.tmpdir as the work directory, and that should
(sort of) cover you.

-QM


-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message