DO NOT REPLY [Bug 48565] Stack trace when tomcat service is down

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48565

--- Comment #1 from oscar  2010-01-25 00:39:35 UTC ---
Hi, 

Is there any new on this issue ?

Thanks a lot!

-- 
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 48605] New: Files not closed quickly enough during deployment / lack of recovery

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48605

   Summary: Files not closed quickly enough during deployment /
lack of recovery
   Product: Tomcat 6
   Version: 6.0.20
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: grahamtri...@gmail.com


When deploying applications, new file resources (operating system level) are
being consumed faster than they are released.

In some cases (ie. starting Tomcat when there are many applications in the
webapps folder), this can lead to the maximum open file limits being breached -
resulting in class not found exceptions and 'incomplete' deployments.

Subsequently reloading an incompletely loaded application may or may not work -
file handles consumed during loading are being released, but it appears that
you can also run into the situation where the failure to load a class is
cached, and so it doesn't check again - but undeploying and redeploying the
application will cause it to be loaded correctly.

This can be worked around by increasing the maximum number of concurrently open
files in the operating system. But ideally, the container should be better at
gracefully recovering from an failure to load a class and trying again.

This also applies to Tomcat 5.5

-- 
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 48587] Basic Authentication failed with multibyte username

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48587

--- Comment #4 from Mark Thomas  2010-01-25 06:00:01 GMT ---
I would be +1 for a spec breaking enhancement that made the encoding used
configurable as long as the default was ISO-8859-1.

-- 
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 48608] New: welcome-file ignores filter mapping

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48608

   Summary: welcome-file ignores filter mapping
   Product: Tomcat 6
   Version: 6.0.20
  Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
  Severity: normal
  Priority: P2
 Component: Servlet & JSP API
AssignedTo: dev@tomcat.apache.org
ReportedBy: man...@makumba.org


basically this is the same as bug 47378, but for filter mappings.

when a filter mapping should match a file defined as welcome-file entry, it is
ignored when the request URL is a directory.

example:


  myFilter
  *.jsp



  index.jsp



a call to http://myDomain/myApp/ will run (or try to run) the JSP without
filter

a call to http://myDomain/myApp/index.jsp will run the filter


thanks,

Manuel

-- 
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 48608] welcome-file ignores filter mapping

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48608

--- Comment #1 from Kris Schneider  2010-01-25 09:29:24 
UTC ---
Since it doesn't appear that a redirect is being used, there are two other
allowed options for handling welcome files: a forward or "...a container
specific mechanism that is indistinguishable from a direct request." So, what
happens if you add the following to your ?

REQUEST
FORWARD

I can actually see this as being a somewhat murky area in the spec...

-- 
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: r902899 - in /tomcat/tc5.5.x/trunk: STATUS.txt build/resources/confinstall/server_1.xml build/resources/confinstall/server_2.xml container/webapps/docs/changelog.xml

2010-01-25 Thread kkolinko
Author: kkolinko
Date: Mon Jan 25 18:03:31 2010
New Revision: 902899

URL: http://svn.apache.org/viewvc?rev=902899&view=rev
Log:
Align server.xml installed by .exe installer with the one bundled in zip/tgz 
archives

Modified:
tomcat/tc5.5.x/trunk/STATUS.txt
tomcat/tc5.5.x/trunk/build/resources/confinstall/server_1.xml
tomcat/tc5.5.x/trunk/build/resources/confinstall/server_2.xml
tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=902899&r1=902898&r2=902899&view=diff
==
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Mon Jan 25 18:03:31 2010
@@ -90,12 +90,6 @@
   +1: kkolinko
   -1:
 
-* Align server.xml installed by .exe installer with the one bundled in
-  zip/tgz archives
-  
http://people.apache.org/~kkolinko/patches/2009-11-15_Installer_serverxml_tc55.patch
-  +1: kkolinko, markt, rjung
-  -1:
-
 * Single quote should be not be treated as a separator
   http://svn.apache.org/viewvc?rev=830999&view=rev
   +1: markt, kkolinko

Modified: tomcat/tc5.5.x/trunk/build/resources/confinstall/server_1.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/build/resources/confinstall/server_1.xml?rev=902899&r1=902898&r2=902899&view=diff
==
--- tomcat/tc5.5.x/trunk/build/resources/confinstall/server_1.xml (original)
+++ tomcat/tc5.5.x/trunk/build/resources/confinstall/server_1.xml Mon Jan 25 
18:03:31 2010
@@ -1,4 +1,4 @@
-
+
 
 
 
-http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/build/resources/confinstall/server_2.xml?rev=902899&r1=902898&r2=902899&view=diff
==
--- tomcat/tc5.5.x/trunk/build/resources/confinstall/server_2.xml (original)
+++ tomcat/tc5.5.x/trunk/build/resources/confinstall/server_2.xml Mon Jan 25 
18:03:31 2010
@@ -1,4 +1,4 @@
-   maxHttpHeaderSize="8192"
+ maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="2" disableUploadTimeout="true" />
@@ -59,6 +59,14 @@
example application (the source for this filter may be found in
"$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
 
+   Note that this Valve uses the platform's default character encoding.
+   This may cause problems for developers in another encoding, e.g.
+   UTF-8.  Use the RequestDumperFilter instead.
+
+   Also note that enabling this Valve will write a ton of stuff to your
+   logs.  They are likely to grow quite large.  This extensive log 
writing
+   will definitely slow down your server.
+
Request dumping is disabled by default.  Uncomment the following
element to enable it. -->
   
 

Modified: tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml?rev=902899&r1=902898&r2=902899&view=diff
==
--- tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml (original)
+++ tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml Mon Jan 25 
18:03:31 2010
@@ -58,6 +58,10 @@
   
 Update to commons-pool 1.5.4. This fixes regressions in 1.5.2. (markt)
   
+  
+Align server.xml installed by the Windows installer with the one
+bundled in zip/tar.gz archives. (kkolinko)
+  
 
   
   



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



DO NOT REPLY [Bug 44927] Cookie parsing is broken in 6.0.16

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44927

--- Comment #5 from Tim McCune  2010-01-25 11:48:14 UTC 
---
Hey, I just discovered the
org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE system property
in 6.0.24 as I was about to patch it with our fix to this issue, as I've always
had to do since 6.0.16.

Does this mean that this issue has now been fixed as long as I set that system
property to "true"?

-- 
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 44679] Cookies are treated differently between 6.0.16 and 6.0.14

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44679

--- Comment #40 from Tim McCune  2010-01-25 11:50:45 UTC 
---
I just discovered the
org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE system property
that was introduced in Tomcat 6.0.24.  Looks like Mark has seen the light. :) 
I just wanted to update this issue so everyone that needs this feature is aware
of it.

-- 
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 48611] New: Can't build "extras" in 6.0.24. default.manifest does not exist

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48611

   Summary: Can't build "extras" in 6.0.24.  default.manifest does
not exist
   Product: Tomcat 6
   Version: unspecified
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: critical
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: tmcc...@yahoo-inc.com


This bug actually affects version 6.0.24, but that was not an option in this
form.

As of 6.0.24, building the "extras" package no longer works.

$ ant -f extras.xml
...
BUILD FAILED
apache-tomcat-6.0.24-src/extras.xml:154: Manifest file:
apache-tomcat-6.0.24-src/output/tmp/default.manifest does not exist.

-- 
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: r902972 [1/3] - in /tomcat/sandbox/gdev6x: ./ java/org/apache/tomcat/buildutil/ java/org/apache/tomcat/util/net/puretls/ res/META-INF/

2010-01-25 Thread fhanik
Author: fhanik
Date: Mon Jan 25 21:00:41 2010
New Revision: 902972

URL: http://svn.apache.org/viewvc?rev=902972&view=rev
Log:
Update sandbox to successfully build

Added:
tomcat/sandbox/gdev6x/java/org/apache/tomcat/buildutil/
tomcat/sandbox/gdev6x/java/org/apache/tomcat/buildutil/Txt2Html.java   
(with props)
tomcat/sandbox/gdev6x/res/META-INF/
tomcat/sandbox/gdev6x/res/META-INF/bootstrap.jar.manifest   (with props)
tomcat/sandbox/gdev6x/res/META-INF/default.license
tomcat/sandbox/gdev6x/res/META-INF/default.manifest   (with props)
tomcat/sandbox/gdev6x/res/META-INF/default.notice
tomcat/sandbox/gdev6x/res/META-INF/jasper-jdt.jar.license
tomcat/sandbox/gdev6x/res/META-INF/jasper-jdt.jar.notice
tomcat/sandbox/gdev6x/res/META-INF/jsp-api.jar.manifest   (with props)
tomcat/sandbox/gdev6x/res/META-INF/servlet-api.jar.manifest   (with props)
Removed:
tomcat/sandbox/gdev6x/java/org/apache/tomcat/util/net/puretls/
Modified:
tomcat/sandbox/gdev6x/build.properties.default
tomcat/sandbox/gdev6x/build.xml
tomcat/sandbox/gdev6x/dist.xml
tomcat/sandbox/gdev6x/extras.xml

Modified: tomcat/sandbox/gdev6x/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/sandbox/gdev6x/build.properties.default?rev=902972&r1=902971&r2=902972&view=diff
==
--- tomcat/sandbox/gdev6x/build.properties.default (original)
+++ tomcat/sandbox/gdev6x/build.properties.default Mon Jan 25 21:00:41 2010
@@ -1,4 +1,19 @@
 # -
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -
 # build.properties.sample
 #
 # This is an example "build.properties" file, used to customize building 
@@ -9,12 +24,12 @@
 # $Id$
 # -
 
-# - Vesion Control Flags -
+# - Version Control Flags -
 version.major=6
 version.minor=0
 version.build=0
 version.patch=0
-version=6.0-snapshot
+version.suffix=-dev
 
 # - Default Base Path for Dependent Packages -
 # Please note this path must be absolute, not relative,
@@ -28,11 +43,13 @@
 compile.target=1.5
 compile.debug=true
 
-base-jakarta.loc=http://archive.apache.org/dist/jakarta
+base-commons.loc=http://archive.apache.org/dist/commons
 base-tomcat.loc=http://archive.apache.org/dist/tomcat
+base-sf.loc=http://downloads.sourceforge.net
 
 # - Commons Logging, version 1.1 or later -
-commons-logging-src.loc=${base-jakarta.loc}/commons/logging/source/commons-logging-1.1-src.tar.gz
+commons-logging-version=1.1.1
+commons-logging-src.loc=${base-commons.loc}/logging/source/commons-logging-${commons-logging-version}-src.tar.gz
 
 # - Webservices -
 
jaxrpc-src.loc=http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-jaxrpc/1.1-rc4/geronimo-spec-jaxrpc-1.1-rc4.jar
@@ -42,40 +59,35 @@
 jdt.home=${base.path}/eclipse/plugins
 jdt.lib=${jdt.home}
 jdt.jar=${jdt.lib}/org.eclipse.jdt.core_3.3.1.v_780_R33x.jar
-jdt.loc=http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.3.1-200709211145/eclipse-JDT-3.3.1.zip
+jdt.loc=http://archive.eclipse.org/eclipse/downloads/drops/R-3.3.1-200709211145/eclipse-JDT-3.3.1.zip
 
 # - Tomcat native library -
-tomcat-native.home=${base.path}/tomcat-native-1.1.10
+tomcat-native.version=1.1.19
+tomcat-native.home=${base.path}/tomcat-native-${tomcat-native.version}
 tomcat-native.tar.gz=${tomcat-native.home}/tomcat-native.tar.gz
-tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/tomcat-native-1.1.10-src.tar.gz
+tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/${tomcat-native.version}/source/tomcat-native-${tomcat-native.version}-src.tar.gz
+tomcat-native.dll=${base-tomcat.loc}/tomcat-connectors/native/${tomcat-native.version}/binaries
 
 # - Commons DBCP, version 1.1 or later -
 commons-dbcp.version=1.2.2
 commons-dbcp.home=${base.path}/commons-dbcp-1.2.2-src
-commons-dbcp-src.loc=${base-jakarta.loc}/commons/dbcp/source/commons-dbcp-1.2.2-src.tar.gz
+commons-dbcp-src.loc=${base-commons.loc}/dbcp/source/commo

svn commit: r902972 [3/3] - in /tomcat/sandbox/gdev6x: ./ java/org/apache/tomcat/buildutil/ java/org/apache/tomcat/util/net/puretls/ res/META-INF/

2010-01-25 Thread fhanik
Added: tomcat/sandbox/gdev6x/res/META-INF/jasper-jdt.jar.license
URL: 
http://svn.apache.org/viewvc/tomcat/sandbox/gdev6x/res/META-INF/jasper-jdt.jar.license?rev=902972&view=auto
==
--- tomcat/sandbox/gdev6x/res/META-INF/jasper-jdt.jar.license (added)
+++ tomcat/sandbox/gdev6x/res/META-INF/jasper-jdt.jar.license Mon Jan 25 
21:00:41 2010
@@ -0,0 +1,424 @@
+
+ Apache License
+   Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+  "License" shall mean the terms and conditions for use, reproduction,
+  and distribution as defined by Sections 1 through 9 of this document.
+
+  "Licensor" shall mean the copyright owner or entity authorized by
+  the copyright owner that is granting the License.
+
+  "Legal Entity" shall mean the union of the acting entity and all
+  other entities that control, are controlled by, or are under common
+  control with that entity. For the purposes of this definition,
+  "control" means (i) the power, direct or indirect, to cause the
+  direction or management of such entity, whether by contract or
+  otherwise, or (ii) ownership of fifty percent (50%) or more of the
+  outstanding shares, or (iii) beneficial ownership of such entity.
+
+  "You" (or "Your") shall mean an individual or Legal Entity
+  exercising permissions granted by this License.
+
+  "Source" form shall mean the preferred form for making modifications,
+  including but not limited to software source code, documentation
+  source, and configuration files.
+
+  "Object" form shall mean any form resulting from mechanical
+  transformation or translation of a Source form, including but
+  not limited to compiled object code, generated documentation,
+  and conversions to other media types.
+
+  "Work" shall mean the work of authorship, whether in Source or
+  Object form, made available under the License, as indicated by a
+  copyright notice that is included in or attached to the work
+  (an example is provided in the Appendix below).
+
+  "Derivative Works" shall mean any work, whether in Source or Object
+  form, that is based on (or derived from) the Work and for which the
+  editorial revisions, annotations, elaborations, or other modifications
+  represent, as a whole, an original work of authorship. For the purposes
+  of this License, Derivative Works shall not include works that remain
+  separable from, or merely link (or bind by name) to the interfaces of,
+  the Work and Derivative Works thereof.
+
+  "Contribution" shall mean any work of authorship, including
+  the original version of the Work and any modifications or additions
+  to that Work or Derivative Works thereof, that is intentionally
+  submitted to Licensor for inclusion in the Work by the copyright owner
+  or by an individual or Legal Entity authorized to submit on behalf of
+  the copyright owner. For the purposes of this definition, "submitted"
+  means any form of electronic, verbal, or written communication sent
+  to the Licensor or its representatives, including but not limited to
+  communication on electronic mailing lists, source code control systems,
+  and issue tracking systems that are managed by, or on behalf of, the
+  Licensor for the purpose of discussing and improving the Work, but
+  excluding communication that is conspicuously marked or otherwise
+  designated in writing by the copyright owner as "Not a Contribution."
+
+  "Contributor" shall mean Licensor and any individual or Legal Entity
+  on behalf of whom a Contribution has been received by Licensor and
+  subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  copyright license to reproduce, prepare Derivative Works of,
+  publicly display, publicly perform, sublicense, and distribute the
+  Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  (except as stated in this section) patent license to make, have made,
+  use, offer to sell, sell, import, and otherwise transfer the Work,
+  where such license applies only to those patent claims licensable
+  by such Contributor that are necessarily infringed by their
+  Contribution(s) alone or by combination of their Contribution

DO NOT REPLY [Bug 48611] Can't build "extras" in 6.0.24. default.manifest does not exist

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48611

Konstantin Kolinko  changed:

   What|Removed |Added

Version|unspecified |6.0.24

--- Comment #1 from Konstantin Kolinko  2010-01-25 
13:27:57 UTC ---
(In reply to comment #0)
> This bug actually affects version 6.0.24, but that was not an option in this
> form.
Thank you. Added to the list.

> 
> As of 6.0.24, building the "extras" package no longer works.
> 
> $ ant -f extras.xml
> ...
> BUILD FAILED
> apache-tomcat-6.0.24-src/extras.xml:154: Manifest file:
> apache-tomcat-6.0.24-src/output/tmp/default.manifest does not exist.

You should build with build.xml first, before building extra. It is
"build-manifests" target in build.xml that creates that file. The full building
sequence is the following:

$ ant download
$ ant
$ ant -f extras.xml
$ ant -f dist.xml release

-- 
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 48608] welcome-file ignores filter mapping

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48608

--- Comment #2 from Manuel  2010-01-25 13:41:54 UTC ---
(In reply to comment #1)
> REQUEST
> FORWARD

I just tried this out, and I'm afraid it doesn't cut it. I also tried INCLUDE
just for the heck of it, but without success.

> I can actually see this as being a somewhat murky area in the spec...

I agree, it could be a bit more specific.

-- 
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 48611] Can't build "extras" in 6.0.24. default.manifest does not exist

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48611

--- Comment #2 from Tim McCune  2010-01-25 14:04:39 UTC 
---
Thank you for the clarification.  I just verified that that does work. 
However, until this new release of Tomcat, it was never a requirement to go
through all of those extra build steps just to build the "extras" package. 
Looking at the contents of default.manifest, it looks pretty useless:

Manifest-Version: 1.0
Specification-Title: Catalina
Specification-Version: 6.0
X-Compile-Source-JDK: 1.5
X-Compile-Target-JDK: 1.5

So I'd encourage you to simplify things and remove manifest dependency from
extras.xml in a future version.

-- 
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 48611] Can't build "extras" in 6.0.24. default.manifest does not exist

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48611

--- Comment #3 from Konstantin Kolinko  2010-01-25 
14:25:00 UTC ---
Thank you. Looks like this was introduced in rev.817260 (2009-09-21)

By the way, note, that pre-built extras are available for download in the
bin/extras folder at the distribution sites.

-- 
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 48612] New: java.net.Inet4Address cannot be cast to java.lang.String

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48612

   Summary: java.net.Inet4Address cannot be cast to
java.lang.String
   Product: Tomcat 6
   Version: 6.0.24
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: tmcc...@yahoo-inc.com


When I stop Tomcat, I get the following error message:

2010-01-25 14:33:52,891 ERROR
[org.apache.catalina.mbeans.ServerLifecycleListener] destroyMBeans: Throwable
javax.management.MalformedObjectNameException: Cannot create object name for
org.apache.catalina.connector.connec...@1d49247 java.lang.ClassCastException:
java.net.Inet4Address cannot be cast to java.lang.String
  at
org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.java:758)
  at org.apache.catalina.mbeans.MBeanUtils.destroyMBean(MBeanUtils.java:1412)
  at
org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:678)
  at
org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:1005)
  at
org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:971)
  at
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLifecycleListener.java:154)
  at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
  at org.apache.catalina.core.StandardServer.stop(StandardServer.java:748)
  at org.apache.catalina.startup.Catalina.stop(Catalina.java:643)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at org.apache.catalina.startup.Bootstrap.stop(Bootstrap.java:301)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:200)

There are actually 2 errors here; the problem that is causing the exception
shown above, and the fact that the catch block that logs the exception is
swallowing the original exception and stack trace.

I changed:

} catch (Exception e) {
  throw new MalformedObjectNameException("Cannot create object name for " +
connector + e);
}

to

} catch (Exception e) {
   MalformedObjectNameException tim = new MalformedObjectNameException
   ("Cannot create object name for " + connector);
   tim.initCause(e);
   throw tim;
}

and determined the actual cause of the exception:

Caused by: java.lang.ClassCastException: java.net.Inet4Address cannot be cast
to java.lang.String
  at
org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.java:745)

MBeanUtils.java line 745 looks like this:

String address = (String)
IntrospectionUtils.getProperty(connector, "address");

The "address" property on the Http 1.1 connector is indeed of type
Inet4Address, and not of type String.  In the Tomcat 6.0.20 source, the line
above was wrapped inside of the following check:

if (connector.getClass().getName().indexOf("CoyoteConnector") >= 0 ) {

on line 737.  In the Tomcat 6.0.24 source, this check was removed, and this
causes the exception reported above.

Here is my  element from my server.xml if that helps:



-- 
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 48582] JspServletWrapper.getServletContext() throws NullPointerException

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48582

Tim McCune  changed:

   What|Removed |Added

Version|6.0.20  |6.0.24

--- Comment #2 from Tim McCune  2010-01-25 14:48:32 UTC 
---
I just confirmed that this issue still affects the latest version (6.0.24).

-- 
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 48613] New: AprLifecycleListener tries to initialize even if it is not configured in server.xml

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48613

   Summary: AprLifecycleListener tries to initialize even if it is
not configured in server.xml
   Product: Tomcat 6
   Version: 6.0.24
  Platform: PC
   URL: http://www.martincordova.com
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: martin.cord...@gmail.com


When Tomcat starts, this message is displayed, in spite of this listener not
being used in server.xml. There is no way to avoid it.

org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path

-- 
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 48613] AprLifecycleListener tries to initialize even if it is not configured in server.xml

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48613

--- Comment #1 from Konstantin Kolinko  2010-01-25 
19:37:14 UTC ---
Confirming.

o.a.c.connector.Connector#setProtocol(String) has a call to static method
AprLifecycleListener.isAprAvailable().

o.a.c.core.AprLifecycleListener#isAprAvailable() calls
AprLifecycleListener#init() and that tries to initialize APR, and prints the
message.

-- 
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: r903078 - in /tomcat/tc5.5.x/trunk: STATUS.txt container/catalina/src/bin/catalina.sh container/webapps/docs/changelog.xml

2010-01-25 Thread kkolinko
Author: kkolinko
Date: Tue Jan 26 04:57:43 2010
New Revision: 903078

URL: http://svn.apache.org/viewvc?rev=903078&view=rev
Log:
Make the location of stdout and stderr output configurable. Leave the default 
as it always has been.
Currently, one can reconfigure the location of all logfiles except this one.
Patch by fhanik

Modified:
tomcat/tc5.5.x/trunk/STATUS.txt
tomcat/tc5.5.x/trunk/container/catalina/src/bin/catalina.sh
tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=903078&r1=903077&r2=903078&view=diff
==
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Tue Jan 26 04:57:43 2010
@@ -95,12 +95,6 @@
   +1: markt, kkolinko
   -1: 
 
-* Implement https://issues.apache.org/bugzilla/show_bug.cgi?id=37847
-  Make location and filename of catalina.out configurable in catalina.sh
-  http://svn.apache.org/viewvc?rev=881088&view=rev
-  +1: kkolinko, markt, rjung
-  -1:
-
 * Provide new option to allow = in cookie values
   http://people.apache.org/~markt/patches/2009-11-17-cookie-allow-equals.patch
   +1: markt, kkolinko

Modified: tomcat/tc5.5.x/trunk/container/catalina/src/bin/catalina.sh
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/catalina/src/bin/catalina.sh?rev=903078&r1=903077&r2=903078&view=diff
==
--- tomcat/tc5.5.x/trunk/container/catalina/src/bin/catalina.sh (original)
+++ tomcat/tc5.5.x/trunk/container/catalina/src/bin/catalina.sh Tue Jan 26 
04:57:43 2010
@@ -10,6 +10,10 @@
 #   of a Catalina installation.  If not present, resolves to
 #   the same directory that CATALINA_HOME points to.
 #
+#   CATALINA_OUT(Optional) Full path to a file where stdout and stderr
+#   will be redirected. 
+#   Default is $CATALINA_BASE/logs/catalina.out
+#
 #   CATALINA_OPTS   (Optional) Java runtime options used when the "start",
 #   or "run" command is executed.
 #
@@ -139,6 +143,10 @@
   CATALINA_BASE="$CATALINA_HOME"
 fi
 
+if [ -z "$CATALINA_OUT" ] ; then
+  CATALINA_OUT="$CATALINA_BASE"/logs/catalina.out
+fi
+
 if [ -z "$CATALINA_TMPDIR" ] ; then
   # Define the java.io.tmpdir to use for Catalina
   CATALINA_TMPDIR="$CATALINA_BASE"/temp
@@ -261,7 +269,7 @@
 elif [ "$1" = "start" ] ; then
 
   shift
-  touch "$CATALINA_BASE"/logs/catalina.out
+  touch "$CATALINA_OUT"
   if [ "$1" = "-security" ] ; then
 if [ $have_tty -eq 1 ]; then
   echo "Using Security Manager"
@@ -275,7 +283,7 @@
   -Dcatalina.home="$CATALINA_HOME" \
   -Djava.io.tmpdir="$CATALINA_TMPDIR" \
   org.apache.catalina.startup.Bootstrap "$@" start \
-  >> "$CATALINA_BASE"/logs/catalina.out 2>&1 &
+  >> "$CATALINA_OUT" 2>&1 &
 
   if [ ! -z "$CATALINA_PID" ]; then
 echo $! > $CATALINA_PID
@@ -287,7 +295,7 @@
   -Dcatalina.home="$CATALINA_HOME" \
   -Djava.io.tmpdir="$CATALINA_TMPDIR" \
   org.apache.catalina.startup.Bootstrap "$@" start \
-  >> "$CATALINA_BASE"/logs/catalina.out 2>&1 &
+  >> "$CATALINA_OUT" 2>&1 &
 
   if [ ! -z "$CATALINA_PID" ]; then
 echo $! > $CATALINA_PID

Modified: tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml?rev=903078&r1=903077&r2=903078&view=diff
==
--- tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml (original)
+++ tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml Tue Jan 26 
04:57:43 2010
@@ -62,6 +62,10 @@
 Align server.xml installed by the Windows installer with the one
 bundled in zip/tar.gz archives. (kkolinko)
   
+  
+37847: Make location and filename of catalina.out 
configurable
+in catalina.sh. (fhanik/kkolinko)
+  
 
   
   



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



DO NOT REPLY [Bug 37847] Allow User To Optionally Specify Catalina Output File

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=37847

Konstantin Kolinko  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #3 from Konstantin Kolinko  2010-01-25 
21:06:52 UTC ---
Implemented in TC 5.5, will be in 5.5.29 onwards. Thank you.

-- 
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: r903083 - in /tomcat/tc5.5.x/trunk: STATUS.txt container/catalina/src/share/org/apache/catalina/session/ManagerBase.java container/webapps/docs/changelog.xml

2010-01-25 Thread kkolinko
Author: kkolinko
Date: Tue Jan 26 05:21:39 2010
New Revision: 903083

URL: http://svn.apache.org/viewvc?rev=903083&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47718
Correct file descriptor leak on context stop/reload
Patch provided by George Sexton

Modified:
tomcat/tc5.5.x/trunk/STATUS.txt

tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/session/ManagerBase.java
tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=903083&r1=903082&r2=903083&view=diff
==
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Tue Jan 26 05:21:39 2010
@@ -126,13 +126,6 @@
   -1:
 
 
-* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47718
-  Correct file descriptor leak on context stop/reload
-  Patch provided by George Sexton
-  http://svn.apache.org/viewvc?rev=883130&view=rev
-  +1: markt, rjung, kkolinko
-  -1: 
-  
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47997
   Process changes for all naming contexts, not just the global one
   http://svn.apache.org/viewvc?rev=883134&view=rev

Modified: 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/session/ManagerBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/session/ManagerBase.java?rev=903083&r1=903082&r2=903083&view=diff
==
--- 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/session/ManagerBase.java
 (original)
+++ 
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/session/ManagerBase.java
 Tue Jan 26 05:21:39 2010
@@ -707,6 +707,15 @@
 public void destroy() {
 if( oname != null )
 Registry.getRegistry(null, null).unregisterComponent(oname);
+if (randomIS!=null) {
+try {
+randomIS.close();
+} catch (IOException ioe) {
+log.warn("Failed to close randomIS.");
+}
+randomIS=null;
+}
+
 initialized=false;
 oname = null;
 // Don't clear log since it is required in case attributes are changed

Modified: tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml?rev=903083&r1=903082&r2=903083&view=diff
==
--- tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml (original)
+++ tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml Tue Jan 26 
05:21:39 2010
@@ -35,6 +35,10 @@
 
   
 
+  
+37847: Make location and filename of catalina.out 
configurable
+in catalina.sh. (fhanik/kkolinko)
+  
   
 47712: Loading tcnative was broken in 5.5.28. (rjung)
   
@@ -62,10 +66,6 @@
 Align server.xml installed by the Windows installer with the one
 bundled in zip/tar.gz archives. (kkolinko)
   
-  
-37847: Make location and filename of catalina.out 
configurable
-in catalina.sh. (fhanik/kkolinko)
-  
 
   
   
@@ -95,6 +95,10 @@
 old method. Patch provided by Christopher Schultz. (markt)
   
   
+47718: Fix file descriptor leak on context stop/reload. 
Patch
+provided by George Sexton. (markt)
+  
+  
 47826: Correct error in debug message in
 org.apache.catalina.Bootstrap (markt)
   



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



DO NOT REPLY [Bug 47718] ManagerBase leaks fd to /dev/urandom when context stopped

2010-01-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47718

Konstantin Kolinko  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #4 from Konstantin Kolinko  2010-01-25 
21:22:59 UTC ---
The patch was applied to 5.5, will be in 5.5.29 onwards. Thank you.

-- 
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: r903091 - /tomcat/tc5.5.x/trunk/STATUS.txt

2010-01-25 Thread kkolinko
Author: kkolinko
Date: Tue Jan 26 06:01:39 2010
New Revision: 903091

URL: http://svn.apache.org/viewvc?rev=903091&view=rev
Log:
votes

Modified:
tomcat/tc5.5.x/trunk/STATUS.txt

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=903091&r1=903090&r2=903091&view=diff
==
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Tue Jan 26 06:01:39 2010
@@ -142,21 +142,24 @@
   Fix copy and paste error and call correct function
   Patch provided by gingyang.xu
   http://svn.apache.org/viewvc?rev=883177&view=rev
-  +1: markt, rjung
+  +1: markt, rjung, kkolinko
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48311
   Only the APR lifecycle listener should try and initialise APR
   Patch also syncs all APR lifecycle listener changes from 6.0.x to 5.5.x
   http://people.apache.org/~markt/patches/2009-11-27-bug48300-tc5.patch
-  +1: markt, rjung
+  +1: markt, rjung, kkolinko
   -1: 
+kkolinko: 1. It introduces SSLEngine property in AprLifecycleListener,
+ it could be described in ssl-howto.html, see 6.0.  2. BZ 48613 is
+ an issue that existed before this patch, but it makes it noticeable.
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47537
   Return an error page rather than a zero length 200 response if the forward to
   the login or error page fails during FORM authentication
   http://svn.apache.org/viewvc?rev=889606&view=rev
-  +1: markt, rjung
+  +1: markt, rjung, kkolinko
   -1: 
 
 * Address https://issues.apache.org/bugzilla/show_bug.cgi?id=45255



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



svn commit: r903099 - /tomcat/tc5.5.x/trunk/STATUS.txt

2010-01-25 Thread kkolinko
Author: kkolinko
Date: Tue Jan 26 06:24:30 2010
New Revision: 903099

URL: http://svn.apache.org/viewvc?rev=903099&view=rev
Log:
votes

Modified:
tomcat/tc5.5.x/trunk/STATUS.txt

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=903099&r1=903098&r2=903099&view=diff
==
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Tue Jan 26 06:24:30 2010
@@ -198,13 +198,16 @@
   Prevent medium term memory leak if using SSL under a security manager
   Based on a patch by Greg Vanore
   http://svn.apache.org/viewvc?rev=890350&view=rev
-  +1: markt, rjung
+  +1: markt, rjung, kkolinko
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47963
   Prevent use of non-RFC2616 compliant custom status messages
   http://svn.apache.org/viewvc?rev=892612&view=rev
   +1: markt
+  +1: kkolinko:  +1 to use r892777 instead of proposed r892612
+ - TC 6.0 version of the patch is more applicable here, than the one of
+ trunk.
   -1: 
 
 * Remove unneeded line from the method that normalizes decodedURI.



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