You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by vi...@yahoo.co.in on 2013/01/21 06:41:23 UTC
War archive issue
Is this is an issue in tomcat that if we
Deploy an archive file having hypen(-) , then the tomcat creates multiple directories while deploying it eg:- if the war file name is demo-rest.war then tomcat creates two
Directories i.e "demo-rest" & "demo"
Please suggest, does this is the expected behavior
Thanks,
Vick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
AW: War archive issue
Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
he can/should/shal/must check-out this as it is very easy to check it out, and every one can check it as well.
Take any ".war-file" and rename it to include a "-" in the name, then deploy it into the /webapps directory.
personaly we use Tomcat on OpenVMS and when I deploy
axis2.war and axis2-1.6.1 into /webapps I get two sub-directories
a) axis2 and
b) axis2-1.6.1
so for OpenVMs Tomcat this is no issue;
but maybe for other platforms this is an issue.
Josef
-----Ursprüngliche Nachricht-----
Von: David kerber [mailto:dckerber@verizon.net]
Gesendet: Montag, 21. Januar 2013 15:58
An: Tomcat Users List
Betreff: Re: War archive issue
Are you sure you don't have some residue from a previous webapp name still hanging out under conf/catalina/localhost? That has bitten me more than once in the past.
D
On 1/21/2013 8:47 AM, vicky007aggarwal@yahoo.co.in wrote:
> Tomcat 6.0.35
> Jdk 1.6.24
> OS - Red Hat Linux 5
>
> Thanks,
> Vick
>
>
> On Jan 21, 2013, at 6:20 PM, André Warnier<aw...@ice-sa.com> wrote:
>
>> vicky007aggarwal@yahoo.co.in wrote:
>>> Can u please explain a bit on this
>> Tomcat Host OS& version
>> Java JVM version
>> Tomcat version (x.y.z)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: War archive issue
Posted by David kerber <dc...@verizon.net>.
Are you sure you don't have some residue from a previous webapp name
still hanging out under conf/catalina/localhost? That has bitten me
more than once in the past.
D
On 1/21/2013 8:47 AM, vicky007aggarwal@yahoo.co.in wrote:
> Tomcat 6.0.35
> Jdk 1.6.24
> OS - Red Hat Linux 5
>
> Thanks,
> Vick
>
>
> On Jan 21, 2013, at 6:20 PM, André Warnier<aw...@ice-sa.com> wrote:
>
>> vicky007aggarwal@yahoo.co.in wrote:
>>> Can u please explain a bit on this
>> Tomcat Host OS& version
>> Java JVM version
>> Tomcat version (x.y.z)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: War archive issue
Posted by vi...@yahoo.co.in.
Tomcat 6.0.35
Jdk 1.6.24
OS - Red Hat Linux 5
Thanks,
Vick
On Jan 21, 2013, at 6:20 PM, André Warnier <aw...@ice-sa.com> wrote:
> vicky007aggarwal@yahoo.co.in wrote:
>> Can u please explain a bit on this
> Tomcat Host OS & version
> Java JVM version
> Tomcat version (x.y.z)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: War archive issue
Posted by André Warnier <aw...@ice-sa.com>.
vicky007aggarwal@yahoo.co.in wrote:
> Can u please explain a bit on this
>
Tomcat Host OS & version
Java JVM version
Tomcat version (x.y.z)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: War archive issue
Posted by vi...@yahoo.co.in.
Can u please explain a bit on this
Thanks,
Vick
On Jan 21, 2013, at 2:26 PM, pid@pidster.com wrote:
> On 21 Jan 2013, at 05:42, "vicky007aggarwal@yahoo.co.in"
> <vi...@yahoo.co.in> wrote:
>
>> Is this is an issue in tomcat that if we
>> Deploy an archive file having hypen(-) , then the tomcat creates multiple directories while deploying it eg:- if the war file name is demo-rest.war then tomcat creates two
>> Directories i.e "demo-rest" & "demo"
>>
>> Please suggest, does this is the expected behavior
>
> You should know to include version info by now.
>
>
> p
>
>
>
>>
>> Thanks,o
>> Vick
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: War archive issue
Posted by pi...@pidster.com.
On 21 Jan 2013, at 05:42, "vicky007aggarwal@yahoo.co.in"
<vi...@yahoo.co.in> wrote:
> Is this is an issue in tomcat that if we
> Deploy an archive file having hypen(-) , then the tomcat creates multiple directories while deploying it eg:- if the war file name is demo-rest.war then tomcat creates two
> Directories i.e "demo-rest" & "demo"
>
> Please suggest, does this is the expected behavior
You should know to include version info by now.
p
>
> Thanks,o
> Vick
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: War archive issue
Posted by Mark Eggers <it...@yahoo.com>.
On 1/20/2013 9:41 PM, vicky007aggarwal@yahoo.co.in wrote:
> Is this is an issue in tomcat that if we Deploy an archive file
> having hypen(-) , then the tomcat creates multiple directories while
> deploying it eg:- if the war file name is demo-rest.war then tomcat
> creates two Directories i.e "demo-rest" & "demo"
>
> Please suggest, does this is the expected behavior
>
> Thanks, Vick
OS: Fedora 18 64 bit (i5, 8 GB memory)
JRE: 1.7.0_11
Tomcat: 6.0.36 (closest I could come to 6.0.35)
Renamed an example war file from RWeb.war to R-Web.war and copied it
into $CATALINA_BASE/webapps.
One directory created - R-Web.
I skimmed the changelog and found two directory-related fixes for 6.0.36
(versus 6.0.35). I don't immediately see how either of them can cause
the issue you're seeing, but I've not looked at the bugs nor the code
changes.
Try 6.0.36 and see what you get.
. . . . just my two cents.
/mde/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
AW: War archive issue
Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
This is definitely not the intended behavior for Tomcat, OR for any Application Server!
If that is the case, then every web application provider must take care about correctly naming the ".war" file.
OR
Tomcat deployment routines for ".war" files must be corrected
BUT must consider
that there might be an issue
that certain OS file systems might not accept a "-" in a directory name.
Josef
-----Ursprüngliche Nachricht-----
Von: vicky007aggarwal@yahoo.co.in [mailto:vicky007aggarwal@yahoo.co.in]
Gesendet: Montag, 21. Januar 2013 06:41
An: users@tomcat.apache.org
Betreff: War archive issue
Is this is an issue in tomcat that if we Deploy an archive file having hypen(-) , then the tomcat creates multiple directories while deploying it eg:- if the war file name is demo-rest.war then tomcat creates two Directories i.e "demo-rest" & "demo"
Please suggest, does this is the expected behavior
Thanks,
Vick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org