DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2012-04-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

Michael michael.sonnleit...@gmail.com changed:

   What|Removed |Added

 CC||michael.sonnleitner@gmail.c
   ||om

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2012-02-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

Philippe Busque pbus...@mediagrif.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #9 from Philippe Busque pbus...@mediagrif.com 2012-02-02 15:05:37 
UTC ---
This if is a major show stopper. It was working fine before, why 'fix' it?

We are currently investigating into upgrading from Tomcat 6 to Tomcat 7.
We have HUNDREDS of Tomcat application running. Some of require to be able to
manipulate the webapps content at runtime.  Due to the amount of instance to
manage, we link our war outside the webapp for better management.

This 'fix' break any Tomcat server that require an unpacked war and use any
management tools to manage their configuration and data.

As mentioned by another user, there should be an option to allow unpacking a
WAR located outside of the Webapps.

It was mentioned in another thread the reason it isn't so is it complicate the
autodeploy.  Well, make those feature mutually exclusive. You cannot use
autoDeploy if unpackWarOutsideWebapp is true.  I know we don't use autoDeploy
for security reason.

We're strongly thinking of stopping the Tomcat 7 migration project and stick to
Tomcat 6 until the EOL if this 'fix' is not rollabacked or offer a workaround.

Nowhere in the documentation of Tomcat 6 was it mentioned the war need to be in
the Webapp to be unpacked. I haven't found any specification mentioning that
this has to be that way too. So changing this behaviour without first
consulting people and on an haunch really was a bad move.

If it's working, don't fix it.  Right now, it's broken for a tomcat instance
fully relying on configuration files to manage context and deployment.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2012-02-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

Tiago Cruz tiago.tuxkil...@gmail.com changed:

   What|Removed |Added

 CC||pbus...@mediagrif.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2012-02-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

   Severity|minor   |enhancement

--- Comment #10 from Mark Thomas ma...@apache.org 2012-02-02 16:24:46 UTC ---
(In reply to comment #9)
 Nowhere in the documentation of Tomcat 6 was it mentioned the war need to be 
 in
 the Webapp to be unpacked. I haven't found any specification mentioning that
 this has to be that way too. So changing this behaviour without first
 consulting people and on an haunch really was a bad move.

The Tomcat documentation for the host element has contained variations of the
following since the 6.0.0 tag (and probably earlier but I didn't go back into
the 5.5.x series):
quote
upackWARs: Set to true if you want web applications that are placed in the
appBase directory as web application archive (WAR) files to be unpacked into a
corresponding disk directory structure, false to run such web applications
directly from a WAR file.
/quote

The Servlet specification is quite clear that applications should not rely on
running in expanded form on a file system. If I recall correctly, it mentions
that they might be located in a database.

The behaviour if the WAR is placed outside the appBase was undefined until
7.0.12 where it was defined that they would not be expanded due, as you say, to
complications this creates for auto-deployment.

The simplest work-around is to deploy as an expanded directory rather than as a
WAR or deploy into the appBase.


I'm moving this issue to an enhancement. Any patch that addresses this needs to
take account of the various edge cases as per the referenced discussions.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2012-01-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

--- Comment #8 from Konstantin Kolinko knst.koli...@gmail.com 2012-01-17 
16:03:46 UTC ---
Recent discussion on dev (Re: r1080719):
http://tomcat.markmail.org/thread/q6lfopguhnedtbzt

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2011-12-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

Tiago Cruz tiago.tuxkil...@gmail.com changed:

   What|Removed |Added

 CC||tiago.tuxkil...@gmail.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2011-12-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

--- Comment #7 from Tiago Cruz tiago.tuxkil...@gmail.com 2011-12-20 21:45:01 
UTC ---
I also have this problem with tomcat = 7.0.12 :/

Is this configuration possible? (unpackExternalWARs=true) :D

'Cause to use with configuration management (puppet, chef e etc) its easier to
put the .war up-to-date in one directory and use a Context with one docBase
using the full path of application.

Thanks!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2011-08-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

--- Comment #6 from archmisha archmi...@gmail.com 2011-08-10 14:14:11 UTC ---
I have the same problem when upgraded to the new version.

But reviewing the following documentation link:
http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Automatic%20Application%20Deployment
Section Automatic Application Deployment explicitly states: ...The docBase
attribute of this Context element must only be set if the docBase is outside
the Host's appBase

What resolution you proposed in our case?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2011-06-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

--- Comment #3 from Mark Thomas ma...@apache.org 2011-06-02 11:22:40 UTC ---
The unpackWAR option of the context is so rarely used I had actually forgotten
it even existed.

http://tomcat.markmail.org/thread/rk6fw5ooohgiqklu explains why it was
introduced. Even then it was as an override to unpackWARs at the host level.

The original intention, the current implementation and the current
documentation are all different. For now, I'm going to take the easy way out
which is to align the documentation with the current implementation. I'm not
against changing the implementation to reflect the original intention but that
probably needs some discussion on the users list as to what behaviour makes
most sense.

I don't see any of the WAR unpacking options being changed to trigger the
unpacking of an external WAR in the appBase without a strong use case that
can't be met by alternative configurations.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2011-06-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #4 from Mark Thomas ma...@apache.org 2011-06-02 13:09:55 UTC ---
Docs updated in 7.0.x and will be included in 7.0.15 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2011-06-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

--- Comment #5 from Andrey M deadu...@mail.ru 2011-06-02 17:11:35 UTC ---
Strange choice method of what must be fixed...
Here
[http://webcache.googleusercontent.com/search?q=cache:PnXpxLit9OwJ:osdir.com/ml/users-tomcat.apache.org/2011-04/msg00351.htmlcd=4hl=ruct=clnkgl=rusource=www.google.ru]
You fix sources to be compliant to documentation, in my bug request You fix
documentation to be compliant to sources... Where is truth? Truth is out
there...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2011-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #1 from Mark Thomas ma...@apache.org 2011-05-31 08:30:13 UTC ---
The documented and intended behaviour of unpackWARs is that it only applies to
WARs in the appBase.  This is true for 5.5.x, 6.0.x and 7.0.x.

Unpacking WARs from outside the appBase into the appBase should be possible but
adds complexity to the autoDeploy process that I am not convinced is worth it.

If an app needs to be unpacked there are two options:
- deploy the WAR in the appBase with unpackWARs=true
- deploy outside the appBase using a directory rather than a WAR

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2011-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

Andrey M deadu...@mail.ru changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |

--- Comment #2 from Andrey M deadu...@mail.ru 2011-05-31 13:19:59 UTC ---
What about Context Container documentation:

unpackWAR: If true, Tomcat will unpack all compressed web applications before
running them. If not specified, the default value is true.

When I use Context path=/app docBase=${home}/war/app.war/ I can't find
unpacked WAR content in appBase and see only part of WAR in WORK directory
(only libs and something from META-INF)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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