DO NOT REPLY [Bug 51619] Absolutely no cookies in Javascript variable

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

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID
 OS/Version||All

--- Comment #1 from Mark Thomas  2011-08-05 07:38:49 UTC ---
Bugzilla is not a support forum. This question belongs on the Tomcat user's
mailing list.

-- 
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 51620] New: Tomcat 7.0.19 with libapr crash randomly

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

 Bug #: 51620
   Summary: Tomcat 7.0.19 with libapr crash randomly
   Product: Tomcat 7
   Version: 7.0.19
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Integration
AssignedTo: dev@tomcat.apache.org
ReportedBy: h.shiros...@gmail.com
Classification: Unclassified


Shortly after tomcat starts, tomcat sometimes crashes ramdomly.
Tomcat 7.0.19 with libtcnative-1.so.0.1.20.

Tomcat without libtcnative doesn't crash.

Using Tomcat 7.0.14 with libtcnative-1.so.0.1.20, tomcat doesn't crash.

Here is hs_err_pid706.log.



#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x004bc5eb, pid=706, tid=70232976
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode, sharing linux-x86 )
# Problematic frame:
# C  [libapr-1.so.0+0x1a5eb]  apr_pollset_remove+0x4b
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---  T H R E A D  ---

Current thread (0x0a28f800):  JavaThread "http-apr-8080-Poller-0" daemon
[_thread_in_native, id=738, stack(0x041fa000,0x042fb000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
si_addr=0x0004

Registers:
EAX=0x, EBX=0x004c4a54, ECX=0x042f9e84, EDX=0x
ESP=0x042f9d80, EBP=0x042f9db8, ESI=0x042f9e84, EDI=0x09c99580
EIP=0x004bc5eb, CR2=0x0004, EFLAGS=0x00210246

Register to memory mapping:

EAX=0x
0x is pointing to unknown location

EBX=0x004c4a54
0x004c4a54:  in /usr/local/apr/lib/libapr-1.so.0 at 0x004a2000

ECX=0x042f9e84
0x042f9e84 is pointing into the stack for thread: 0x0a28f800
"http-apr-8080-Poller-0" daemon prio=10 tid=0x0a28f800 nid=0x2e2 runnable
[0x042f9000]
   java.lang.Thread.State: RUNNABLE

EDX=0x
0x is pointing to unknown location

ESP=0x042f9d80
0x042f9d80 is pointing into the stack for thread: 0x0a28f800
"http-apr-8080-Poller-0" daemon prio=10 tid=0x0a28f800 nid=0x2e2 runnable
[0x042f9000]
   java.lang.Thread.State: RUNNABLE

EBP=0x042f9db8
0x042f9db8 is pointing into the stack for thread: 0x0a28f800
"http-apr-8080-Poller-0" daemon prio=10 tid=0x0a28f800 nid=0x2e2 runnable
[0x042f9000]
   java.lang.Thread.State: RUNNABLE

ESI=0x042f9e84
0x042f9e84 is pointing into the stack for thread: 0x0a28f800
"http-apr-8080-Poller-0" daemon prio=10 tid=0x0a28f800 nid=0x2e2 runnable
[0x042f9000]
   java.lang.Thread.State: RUNNABLE

EDI=0x09c99580
0x09c99580 is pointing to unknown location


Top of Stack: (sp=0x042f9d80)
0x042f9d80:   83dee158  042f9da8 042f9da0
0x042f9d90:   b5f6fe21 0056  792fb238
0x042f9da0:   0005 792fb200 778757e8 004a1174
0x042f9db0:   09e30270 09e2f268 042f9e18 00495f28
0x042f9dc0:   09c99580 042f9e84  
0x042f9dd0:   042f9e00 0001 0002 
0x042f9de0:   042f9e18 005d6ab0 005878c6 042f9e84
0x042f9df0:   09e2f268  2000  

Instructions: (pc=0x004bc5eb)
0x004bc5db:   00 00 00 8b 55 0c 8d 45 e8 89 44 24 0c 8b 42 0c
0x004bc5eb:   8b 40 04 c7 44 24 04 02 00 00 00 89 44 24 08 8b 

Stack: [0x041fa000,0x042fb000],  sp=0x042f9d80,  free space=1023k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libapr-1.so.0+0x1a5eb]  apr_pollset_remove+0x4b
C  [libtcnative-1.so.0.1.20+0x13f28]
C  [libtcnative-1.so.0.1.20+0x14176] 
Java_org_apache_tomcat_jni_Poll_maintain+0x176
J  org.apache.tomcat.jni.Poll.maintain(J[JZ)I
J  org.apache.tomcat.util.net.AprEndpoint$Poller.run()V
V  [libjvm.so+0x23f671]
V  [libjvm.so+0x375498]
V  [libjvm.so+0x23eee5]
V  [libjvm.so+0x23efa8]
V  [libjvm.so+0x2c1737]
V  [libjvm.so+0x41f89f]
V  [libjvm.so+0x376a8e]
C  [libpthread.so.0+0x549b]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  org.apache.tomcat.jni.Poll.maintain(J[JZ)I
J  org.apache.tomcat.util.net.AprEndpoint$Poller.run()V
v  ~StubRoutines::call_stub

---  P R O C E S S  ---

Java Threads: ( => current thread )
  0x0a4ce000 JavaThread "pool-4-thread-1" daemon [_thread_blocked, id=887,
stack(0x02ef,0x02ff1000)]
  0x09dfec00 JavaThread "pool-3-thread-1" daemon [_thread_blocked, id=886,
stack(0x022ec000,0x023ed000)]
  0x0a344800 JavaThread "http-apr-8080-exec-10" daemon [_thread_blocked,
id=826, stack(0x085fa000,0x086fb000)]
  0x0a343400 JavaThread "http-apr-8080-exec-9" daemon [_thread_blocked, id=825,
stack(0x02784000,0x02885000)]
  0x0a341000 JavaThread "http-apr-8080-exec-8" daemon [_thread_blocked, id=824,
stack(0x05608000,0x05709000)]
  0x0a3f4400 JavaThread "http-apr-8080-exec-7" daemon [_thread_blocked, id=823,
stack(0x08fc4000,0x090c5000)]
  0x0a3f2800 JavaThread "http-apr-8080-exec-6" 

DO NOT REPLY [Bug 51621] New: Missing jars in Deployer

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

 Bug #: 51621
   Summary: Missing jars in Deployer
   Product: Tomcat 7
   Version: 7.0.19
  Platform: HP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Packaging
AssignedTo: dev@tomcat.apache.org
ReportedBy: silvio.corciol...@tiscali.it
Classification: Unclassified


I put to ANT classpath all jars included in "apache-tomcat-7.0.19-deployer.zip"
("lib" dir).
Trying to run the Deployer ANT task "undeploy", I got:

java.lang.NoClassDefFoundError: org/apache/tomcat/util/buf/B2CConverter

I added to ANT classpath "tomcat-coyote.jar" from Tomcat core distribution
(apache-tomcat-7.0.19-windows-x64.zip), and I got:

java.lang.NoClassDefFoundError: org/apache/tomcat/util/res/StringManager

I added to ANT classpath "tomcat-util.jar" from Tomcat core distribution
(apache-tomcat-7.0.19-windows-x64.zip), and finally I got the task successfully
executed.

Therefore, I guess the Deployer distribution should include "tomcat-coyote.jar"
and "tomcat-util.jar".

-- 
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 51624] New: Request is not forwarded to servlet... goes to 404 instead.

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

 Bug #: 51624
   Summary: Request is not forwarded to servlet... goes to 404
instead.
   Product: Tomcat 7
   Version: 7.0.19
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: minor
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: rui.da...@gmail.com
Classification: Unclassified


I have a local server that i use for testing named like "yaw".
Requests under a url that starts with "http://yaw/yaw/"; will return a 404
error, without ever invoking the servlet.
I tried with diferent server/folder names, and believe that the cause is that
the server name equals the first folder in path, since other paths work fine...

At first i thought it also had to do with the undotted name,
since this one works: http://alphabit.org/alphabit.org/ddd.css
or this one: http://www.alphabit.org/www.alphabit.org/dss.css

But then i found that this one does not:
http://under-construction.homeunix.net/under-construction.homeunix.net/ddd
should return something like this:
http://under-construction.homeunix.net/under-
construction.unix.net/ddd
or this one: http://thai.homeunix.net/thai.homeunix.net/sdsd.css
should return something like this:
http://thai.homeunix.net/thai.home.net/sdsd.css

@ server.xml ...

  


@ web.xml

  KISSLet
  /*


at least since version 7.0.8

[]r.

-- 
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 51624] Request is not forwarded to servlet... goes to 404 instead.

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

Chuck Caldarale  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #1 from Chuck Caldarale  2011-08-05 
13:39:34 UTC ---
Bugzilla is not a support forum; post your queries on the Tomcat user's list.

BTW, your configuration is invalid.

-- 
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



Re: [VOTE] Release Apache Tomcat Native 1.1.22

2011-08-05 Thread Mark Thomas
On 04/08/2011 23:32, jean-frederic clere wrote:
> On 08/04/2011 10:13 PM, Mark Thomas wrote:
>> On 29/07/2011 11:06, jean-frederic clere wrote:
>>> Hi,
>>>
>>> Native 1.1.22 is available for testing.
>>> Compared with 1.1.21 it just fix typos in docs and the packaging script.
>>>
>>> If you want to take a look, the final source distribution can be
>>> downloaded from:
>>> http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.22/source
>>>
>>> Win32/Win64 binaries are available at:
>>> http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.22/binaries/
>>>
>>>
>>> So here's the vote.
>>> It will be closed in about 72 hours
>>> (or sooner if enough votes are encountered)
>>
>> The 72 hours have passed and sufficient votes were cast for this
>> release. Usually the person calling the vote closes it but this is
>> holding up the Tomcat 7.0.20 release so I intend to close the vote and
>> do the release tomorrow morning unless someone objects or gets to it
>> before me.
> 
> I am on holidays (well moving from one remote location to another) so if
> you NEED the release please do it, otherwise I will do it on Monday.

I now have some bugs to fix first. If I clear those before Monday I'll
at least send the result e-mail and copy the files to /dist so I can
update the 7.0.x build.

Mark

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



DO NOT REPLY [Bug 51624] Request is not forwarded to servlet... goes to 404 instead.

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

--- Comment #2 from Rui  2011-08-05 14:04:02 UTC ---
(In reply to comment #1)
> Bugzilla is not a support forum; post your queries on the Tomcat user's list.
ty, i know :)

> BTW, your configuration is invalid.
my configuration has been working fine for years without ever complaining.
so, btw, should't tomcat complain about such an invalid configuration?

anyway... thanks and sorry.

i'll reread the configuration docs then.

-- 
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 51610] Context fails to reload after an error in web.xml was corrected

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

--- Comment #1 from Mark Thomas  2011-08-05 14:44:52 UTC ---
I can reproduce this and am close to having a fix. One thing I will say is that
the expected behaviour once deployment fails is that the context will stay in
the failed state until it is undeployed. Trying to figure out what is a
recoverable error and what is not is way too hard and we need to avoid repeated
re-deployment attempts.

-- 
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 51624] Request is not forwarded to servlet... goes to 404 instead.

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

--- Comment #3 from Rui  2011-08-05 14:47:30 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > Bugzilla is not a support forum; post your queries on the Tomcat user's 
> > list.
> ty, i know :)
> 
> > BTW, your configuration is invalid.
> my configuration has been working fine for years without ever complaining.
> so, btw, should't tomcat complain about such an invalid configuration?
> 
> anyway... thanks and sorry.
> 
> i'll reread the configuration docs then.

i read the docs...

@ server.xml ... replaced:

  


by:

  


and it worked :)

... the one bellow did not:

  


the documentation says for docBase: "or a pathname that is relative to the
appBase directory of the owning Host.", which is the case of "" and ".", both
valid paths denoting the "current" directory.

ty... and btw, makes sense that my config should be valid (and it actually has
been working fine, apart of this bug), otherwise an error would be nice ;P

... and btw, change the docs to: 'or a pathname that is relative to the appBase
directory of the owning Host (except for "" and ".").'

it is a bug, like it or not.

-- 
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 51624] Request is not forwarded to servlet... goes to 404 instead.

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

--- Comment #4 from Pid  2011-08-05 15:23:58 UTC ---
Setting docBase == appBase is not valid.
Join the Tomcat Users mailing list, if you wish to discuss it further.

-- 
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



svn commit: r1154296 - /tomcat/trunk/webapps/docs/changelog.xml

2011-08-05 Thread markt
Author: markt
Date: Fri Aug  5 16:26:21 2011
New Revision: 1154296

URL: http://svn.apache.org/viewvc?rev=1154296&view=rev
Log:
Expand description

Modified:
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1154296&r1=1154295&r2=1154296&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Fri Aug  5 16:26:21 2011
@@ -130,8 +130,8 @@
 in the same Context). (kkolinko)
   
   
-51614: Avoid two times calls of store.load() and 
-session.expire() in PersistentManager. (kfujino)
+51614: Avoid calling store.load() and  session.expire()
+twice in PersistentManager when expiring sessions. (kfujino)
   
 
   



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



svn commit: r1154297 - in /tomcat/trunk: java/org/apache/catalina/util/LifecycleBase.java java/org/apache/catalina/util/LocalStrings.properties webapps/docs/changelog.xml

2011-08-05 Thread markt
Author: markt
Date: Fri Aug  5 16:29:58 2011
New Revision: 1154297

URL: http://svn.apache.org/viewvc?rev=1154297&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51610
Make lifecycle transitions more robust at handling unchecked exceptions

Modified:
tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java
tomcat/trunk/java/org/apache/catalina/util/LocalStrings.properties
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java?rev=1154297&r1=1154296&r2=1154297&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java Fri Aug  5 
16:29:58 2011
@@ -23,6 +23,7 @@ import org.apache.catalina.LifecycleList
 import org.apache.catalina.LifecycleState;
 import org.apache.juli.logging.Log;
 import org.apache.juli.logging.LogFactory;
+import org.apache.tomcat.util.ExceptionUtils;
 import org.apache.tomcat.util.res.StringManager;
 
 
@@ -99,9 +100,11 @@ public abstract class LifecycleBase impl
 
 try {
 initInternal();
-} catch (LifecycleException e) {
+} catch (Throwable t) {
+ExceptionUtils.handleThrowable(t);
 setStateInternal(LifecycleState.FAILED, null, false);
-throw e;
+throw new LifecycleException(
+sm.getString("lifecycleBase.initFail",toString()), t);
 }
 
 setStateInternal(LifecycleState.INITIALIZED, null, false);
@@ -143,9 +146,11 @@ public abstract class LifecycleBase impl
 
 try {
 startInternal();
-} catch (LifecycleException e) {
+} catch (Throwable t) {
+ExceptionUtils.handleThrowable(t);
 setStateInternal(LifecycleState.FAILED, null, false);
-throw e;
+throw new LifecycleException(
+sm.getString("lifecycleBase.startFail",toString()), t);
 }
 
 if (state.equals(LifecycleState.FAILED) ||
@@ -223,9 +228,11 @@ public abstract class LifecycleBase impl
 
 try {
 stopInternal();
-} catch (LifecycleException e) {
+} catch (Throwable t) {
+ExceptionUtils.handleThrowable(t);
 setStateInternal(LifecycleState.FAILED, null, false);
-throw e;
+throw new LifecycleException(
+sm.getString("lifecycleBase.stopFail",toString()), t);
 }
 
 if (state.equals(LifecycleState.MUST_DESTROY)) {
@@ -283,9 +290,11 @@ public abstract class LifecycleBase impl
 
 try {
 destroyInternal();
-} catch (LifecycleException e) {
+} catch (Throwable t) {
+ExceptionUtils.handleThrowable(t);
 setStateInternal(LifecycleState.FAILED, null, false);
-throw e;
+throw new LifecycleException(
+sm.getString("lifecycleBase.destroyFail",toString()), t);
 }
 
 setStateInternal(LifecycleState.DESTROYED, null, false);

Modified: tomcat/trunk/java/org/apache/catalina/util/LocalStrings.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/util/LocalStrings.properties?rev=1154297&r1=1154296&r2=1154297&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/util/LocalStrings.properties 
(original)
+++ tomcat/trunk/java/org/apache/catalina/util/LocalStrings.properties Fri Aug  
5 16:29:58 2011
@@ -22,12 +22,16 @@ extensionValidator.web-application-manif
 extensionValidator.extension-not-found-error=ExtensionValidator[{0}][{1}]: 
Required extension [{2}] not found.
 extensionValidator.extension-validation-error=ExtensionValidator[{0}]: Failure 
to find [{1}] required extension(s).
 extensionValidator.failload=Failure loading extension [{0}]
-lifecycleBase.initMBeanFail=Failed to register component [{0}] with MBean name 
[{1}]
+lifecycleBase.alreadyDestroyed=The destroy() method was called on component 
[{0}] after destroy() had already been called. The second call will be ignored.
 lifecycleBase.alreadyStarted=The start() method was called on component [{0}] 
after start() had already been called. The second call will be ignored.
 lifecycleBase.alreadyStopped=The stop() method was called on component [{0}] 
after stop() had already been called. The second call will be ignored.
-lifecycleBase.alreadyDestroyed=The destroy() method was called on component 
[{0}] after destroy() had already been called. The second call will be ignored.
+lifecycleBase.destroyFail=Failed to destroy component [{0}]
+lifecycleBase.initFail=Failed to initialize component [{0}]
+lifecycleBase.initMBeanFail=Failed to register component [{0

svn commit: r1154298 - in /tomcat/trunk: java/org/apache/catalina/core/ContainerBase.java java/org/apache/catalina/core/StandardContext.java webapps/docs/changelog.xml

2011-08-05 Thread markt
Author: markt
Date: Fri Aug  5 16:31:41 2011
New Revision: 1154298

URL: http://svn.apache.org/viewvc?rev=1154298&view=rev
Log:
Prevent spurious log warnings on container stop if a child component has 
previously failed.

Modified:
tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java
tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java?rev=1154298&r1=1154297&r2=1154298&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java Fri Aug  5 
16:31:41 2011
@@ -1062,7 +1062,8 @@ public abstract class ContainerBase exte
 setState(LifecycleState.STOPPING);
 
 // Stop the Valves in our pipeline (including the basic), if any
-if (pipeline instanceof Lifecycle) {
+if (pipeline instanceof Lifecycle &&
+((Lifecycle) pipeline).getState().isAvailable()) {
 ((Lifecycle) pipeline).stop();
 }
 
@@ -1082,7 +1083,8 @@ public abstract class ContainerBase exte
 if ((cluster != null) && (cluster instanceof Lifecycle)) {
 ((Lifecycle) cluster).stop();
 }
-if ((manager != null) && (manager instanceof Lifecycle)) {
+if ((manager != null) && (manager instanceof Lifecycle) &&
+((Lifecycle) manager).getState().isAvailable() ) {
 ((Lifecycle) manager).stop();
 }
 if ((logger != null) && (logger instanceof Lifecycle)) {

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1154298&r1=1154297&r2=1154298&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Fri Aug  5 
16:31:41 2011
@@ -5459,7 +5459,8 @@ public class StandardContext extends Con
 // Stop ContainerBackgroundProcessor thread
 threadStop();
 
-if (manager != null && manager instanceof Lifecycle) {
+if (manager != null && manager instanceof Lifecycle &&
+((Lifecycle) 
manager).getState().isAvailable()) {
 try {
 ((Lifecycle) manager).stop();
 } catch (LifecycleException e) {
@@ -5507,7 +5508,8 @@ public class StandardContext extends Con
 fireLifecycleEvent(Lifecycle.CONFIGURE_STOP_EVENT, null);
 
 // Stop the Valves in our pipeline (including the basic), if any
-if (pipeline instanceof Lifecycle) {
+if (pipeline instanceof Lifecycle &&
+((Lifecycle) pipeline).getState().isAvailable()) {
 ((Lifecycle) pipeline).stop();
 }
 

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1154298&r1=1154297&r2=1154298&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Fri Aug  5 16:31:41 2011
@@ -138,6 +138,10 @@
 51614: Avoid calling store.load() and  session.expire()
 twice in PersistentManager when expiring sessions. (kfujino)
   
+  
+Prevent spurious log warnings on container stop if a child component 
has
+previously failed. (markt)
+  
 
   
   



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



DO NOT REPLY [Bug 51610] Context fails to reload after an error in web.xml was corrected

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

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #2 from Mark Thomas  2011-08-05 16:32:02 UTC ---
Fixed in 7.0.x and will be in 7.0.20 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 51624] Request is not forwarded to servlet... goes to 404 instead.

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

--- Comment #5 from Rui  2011-08-05 16:44:07 UTC ---
"docBase == appBase"!?

where did i do that!?...
sure you read what i write?

i don't discuss bugs with users...
i don't necessarily wish further discussion, gee, my "problem" i solved... in a
way that it seams that i could not make the root of a file system the root of
the context and access a directory with server name... where you would have to
appBase="/" and docBase="", since there are no parent directories... your bug
prevents that, for example.

i just think, considering your "docBase == appBase" comment, that you are
missing the point and ignoring a real bug or having a weak documentation.

my "problem" should not even exist, my original config complies with the
documentation (just read it) since "" and "." are valid relative paths... and,
it actually works fine except if the first directory in path equal the name of
the server... odd enough to be a bug... no?

i'm sorry if it seams to you that i'm bothering you...
but your comment... "docBase == appBase", what are you talking about? lol

-- 
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 51624] Request is not forwarded to servlet... goes to 404 instead.

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

--- Comment #6 from Chuck Caldarale  2011-08-05 
16:53:33 UTC ---
Once more: bugzilla is not a support forum.  Bring your questions to the Tomcat
users' list.  (Or better yet, search the users' list archives to find the
answers.)

-- 
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 51611] javascript gzip not support

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

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME

--- Comment #1 from Mark Thomas  2011-08-05 16:59:22 UTC ---
This works for me and there have been no code changes in this part of the code
base for quite some time. The users list is the place to seek help.

-- 
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 51628] New: Manager App landing page is wrongly localized to french by default

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

 Bug #: 51628
   Summary: Manager App landing page is wrongly localized to
french by default
   Product: Tomcat 7
   Version: 7.0.19
  Platform: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: Manager
AssignedTo: dev@tomcat.apache.org
ReportedBy: jasheph...@hotmail.com
Classification: Unclassified


The manager app page is displaying in french by default after a new clean
install of the windows installer for Tomcat 7.0.19.  I've tested twice on 2
different machines, both of which are set to en-US as far as the OS and browser
locale settings.  Duplicate by installing, then starting the server, and then
go to the default index.html root landing page ('If you're seeing this, you've
successfully installed Tomcat. Congratulations!'), and then click on the
'manager app' button/link.  The manager app displays in French.

-- 
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 51628] Manager App landing page is wrongly localized to french by default

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

Jeremy Shepherd  changed:

   What|Removed |Added

 OS/Version||All

--- Comment #1 from Jeremy Shepherd  2011-08-05 
17:09:30 UTC ---
Seems to only occur in Firefox (I'm using 5.0)

-- 
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 51628] Manager App landing page is wrongly localized to french by default

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

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME

--- Comment #2 from Mark Thomas  2011-08-05 17:12:59 UTC ---
This works for me and nothing has changed in this area since late last year.
You almost certainly have a configuration problem and the users list is the
place to seek help.

-- 
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 51624] Request is not forwarded to servlet... goes to 404 instead.

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

--- Comment #7 from Rui  2011-08-05 17:15:43 UTC ---
or just wait 1 year, and if the bug still exists, report it again in the hope
of someone that actually talks sense, answers something rather than a
senseless: "Setting docBase == appBase is not valid."

... or if ever get the time and patience... fix the bug my self and slap it @ u
like a big large trout :D

once more: this is not a support question, my problem i already solved without
support at all other than intuition and guessing since not even the
documentation mentions any problem with my original config... actually supports
it.

this is bug report, and it's fine with me that you don't want to solve or
consider it... the solution i found is working and i don't actually publish
roots of file systems (but someone might, if using windows... that has several
roots).

i don't see the point in talking in a users forum about something that should
be changed at the source or brought to attention in the documentation of these
issues.

bb, sad talking to u... get replaced, plz

-- 
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 51628] Manager App landing page is wrongly localized to french by default

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

--- Comment #3 from Jeremy Shepherd  2011-08-05 
17:16:37 UTC ---
Issue was browser related, not Tomcat.  Please ignore.

-- 
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



svn commit: r1154321 - /tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java

2011-08-05 Thread markt
Author: markt
Date: Fri Aug  5 17:17:48 2011
New Revision: 1154321

URL: http://svn.apache.org/viewvc?rev=1154321&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51615
Code clean-up.

Modified:

tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java

Modified: 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java?rev=1154321&r1=1154320&r2=1154321&view=diff
==
--- 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
 (original)
+++ 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
 Fri Aug  5 17:17:48 2011
@@ -264,7 +264,7 @@ public class PooledConnection {
 if (pwd != null) properties.setProperty(PROP_PASSWORD, pwd);
 
 try {
-connection = connection = driver.connect(driverURL, properties);
+connection = driver.connect(driverURL, properties);
 } catch (Exception x) {
 if (log.isDebugEnabled()) {
 log.debug("Unable to connect to database.", x);



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



DO NOT REPLY [Bug 51615] Line 267 of "org.apache.tomcat.jdbc.pool.PooledConnection": double assignment typo

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

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Mark Thomas  2011-08-05 17:18:18 UTC ---
Thanks for the report. This has been fixed in trunk and will be included in the
version of JDBC pool shipping with Tomcat 7.0.20 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 51615] Line 267 of "org.apache.tomcat.jdbc.pool.PooledConnection": double assignment typo

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

Mark Thomas  changed:

   What|Removed |Added

  Component|Catalina|jdbc-pool
Product|Tomcat 7|Tomcat Modules

-- 
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 51620] Tomcat 7.0.19 with libapr crash randomly

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

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #1 from Mark Thomas  2011-08-05 17:19:27 UTC ---
Without more information I am going to assume that this is a duplicate.

*** This bug has been marked as a duplicate of bug 49595 ***

-- 
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 49595] Tomcat crashes in tcnative-1.dll frequently

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

Mark Thomas  changed:

   What|Removed |Added

 CC||h.shiros...@gmail.com

--- Comment #6 from Mark Thomas  2011-08-05 17:19:27 UTC ---
*** Bug 51620 has been marked as a duplicate of this bug. ***

-- 
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



svn commit: r1154330 - in /tomcat/trunk: build.xml webapps/docs/changelog.xml

2011-08-05 Thread markt
Author: markt
Date: Fri Aug  5 18:08:53 2011
New Revision: 1154330

URL: http://svn.apache.org/viewvc?rev=1154330&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51621
Add additional required JARs to the deployer distribution.

Modified:
tomcat/trunk/build.xml
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1154330&r1=1154329&r2=1154330&view=diff
==
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Fri Aug  5 18:08:53 2011
@@ -1581,6 +1581,8 @@ Apache Tomcat ${version} native binaries
 
 
 
+
+
   
   
 

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1154330&r1=1154329&r2=1154330&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Fri Aug  5 18:08:53 2011
@@ -289,6 +289,10 @@
   
 Update to Apache Commons Daemon 1.0.7. (markt)
   
+  
+51621: Add additional required JARs to the deployer
+distribution. (markt) 
+  
 
   
 



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



DO NOT REPLY [Bug 51621] Missing jars in Deployer

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

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
 OS/Version||All

--- Comment #1 from Mark Thomas  2011-08-05 18:09:18 UTC ---
Thanks for the report. This has been fixed in 7.0.x and will be included in
7.0.20 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