Tomcat on Windows XP: WAR file not fully unpacked

2011-02-01 Thread Jonathan Rosenberg
I'm on Windows XP, local Tomcat running.  Most of the time when I
upload (from the local machine) a .war file via the Manager HTML UI,
I find that it is only partially unpacked into the app dir.

In particular, only the WEB-INF folder is there & it contains only 1
file.  If I unpack the uploaded WAR file by hand, it is fine & I can
load it myself into the app dir.  Then all is good.

Anyone seen this kind of behavior?

--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary
http://www.tabbysplace.org/

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



Re: Tomcat on Windows XP: WAR file not fully unpacked

2011-02-01 Thread Konstantin Kolinko
2011/2/1 Jonathan Rosenberg :
> I'm on Windows XP, local Tomcat running.  Most of the time when I
> upload (from the local machine) a .war file via the Manager HTML UI,
> I find that it is only partially unpacked into the app dir.
>
> In particular, only the WEB-INF folder is there & it contains only 1
> file.  If I unpack the uploaded WAR file by hand, it is fine & I can
> load it myself into the app dir.  Then all is good.
>
> Anyone seen this kind of behavior?
>

1. Anything in the logs?
2. Maybe there is no enough free space to write, besides a single file.
3. How do you unpack "by hand"? Do you use jar.exe?
4. The full version of Tomcat (x.y.z) and vendor and version of JVM = ?
5. What are attributes of  element in server.xml ?

Best regards,
Konstantin Kolinko

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



RE: Tomcat on Windows XP: WAR file not fully unpacked

2011-02-01 Thread Caldarale, Charles R
> From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan 
> Rosenberg
> Subject: Tomcat on Windows XP: WAR file not fully unpacked

> I'm on Windows XP, local Tomcat running.  Most of the time when I
> upload (from the local machine) a .war file via the Manager HTML UI,
> I find that it is only partially unpacked into the app dir.

That's usually because Tomcat is unpacking it elsewhere, since Windows presents 
ugly locking problems.  Look at the antiResourceLocking and antiJARLocking 
attributes of the  element:

http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

However, you shouldn't ever depend on the .war file being unpacked, since 
there's no guarantee it will be.

 - 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



Re: Tomcat on Windows XP: WAR file not fully unpacked

2011-02-03 Thread Jonathan Rosenberg
Thanks to all for the help,.  The problem has gone away since I set
antiJARLocking='true'

--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary
http://www.tabbysplace.org/


On Tue, Feb 1, 2011 at 1:00 PM, Caldarale, Charles R
 wrote:
>> From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan 
>> Rosenberg
>> Subject: Tomcat on Windows XP: WAR file not fully unpacked
>
>> I'm on Windows XP, local Tomcat running.  Most of the time when I
>> upload (from the local machine) a .war file via the Manager HTML UI,
>> I find that it is only partially unpacked into the app dir.
>
> That's usually because Tomcat is unpacking it elsewhere, since Windows 
> presents ugly locking problems.  Look at the antiResourceLocking and 
> antiJARLocking attributes of the  element:
>
> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
>
> However, you shouldn't ever depend on the .war file being unpacked, since 
> there's no guarantee it will be.
>
>  - 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
>
>

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