Re: [VOTE] Release build 6.0.16

2008-02-01 Thread Peter Rossbach


Am 30.01.2008 um 15:21 schrieb Remy Maucherat:


According to the release process, the 6.0.16 tag is:
[ ] Broken
[ ] Alpha
[ ] Beta
[ x] Stable


Peter



DO NOT REPLY [Bug 44337] New: - Dir listing crashes if no readme-file present

2008-02-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44337

   Summary: Dir listing crashes if no readme-file present
   Product: Tomcat 6
   Version: 6.0.14
  Platform: Sun
   URL: http://www.a-weinert.de
OS/Version: Windows Server 2003
Status: NEW
  Severity: blocker
  Priority: P2
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


DefaultServlet docu 6.0  says about attibute readmeFile:
If a directory listing is presented, a readme file
 *may* 
also be presented with the listing. This file is inserted
.

This was true for 5.5.x.

6.0.14 crashes if the file is absent in the listed directory.
javax.servlet.ServletException: 
Error opening readme resource at
org.apache.catalina.servlets.DefaultServlet.getReadme(DefaultServlet.java:1418)

This new behaviour blocks the listing of big directory trees managed by others,
where the work-around is nor feasible.

Work around 1: readme file in *every* subdir, empty (length=0) if none wanted 
 (and subsequent changes in the used XSL-Transformers)
Work around 2: Change "may" to  "must" in docu.

Repair: fix DefaultServlet

>From web.xml:


default

org.apache.catalina.servlets.DefaultServlet

listings
true


globalXsltFile
D:\www\serv-intra\meva-dir-li.xsl


readmeFile
readme.htm

1


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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Release build 5.5.26

2008-02-01 Thread Yoav Shapira
On Jan 31, 2008 10:06 AM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> According to the release process, the 5.5.26 tag is:
> [ ] Broken
> [ ] Alpha
> [ ] Beta
> [ X ] Stable

Yoav

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Windows Server 2003

2008-02-01 Thread Wade Hundley
We are developing a servlet that is running within Apache Tomcat
(6.0.15).  We are currently using the NIO connectors with SSL enabled.
We are simulating heavy loads using approximately 200 simultaneous
users.



All of this is running within Windows Server 2003 SP2.

 

Over the course of the test we notice that the afd.sys driver is
consuming kernel memory at a rate of 900KB per hour until the kernel
memory is exhausted (approximately 285 MB) and the system hangs.

 

Has anyone had experience with this sort of problem with other web
servers?  This same scenario actually runs with no memory leaks on
Windows XP Pro and LINUX.

 

We have tried a number of tweaks on the connector, in the TCP/IP
registry, and the AFD registry settings.

 

Any help would be much appreciated!

 



DO NOT REPLY [Bug 44342] - Cannot run tomcat on Solaris IPv6-only machine

2008-02-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44342





--- Additional Comments From [EMAIL PROTECTED]  2008-02-01 12:11 ---
I started tomcat with startup.sh in the tomcat/bin directory.  I was running as
root.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 44342] New: - Cannot run tomcat on Solaris IPv6-only machine

2008-02-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44342

   Summary: Cannot run tomcat on Solaris IPv6-only machine
   Product: Tomcat 5
   Version: 5.5.17
  Platform: Sun
   URL: [none]
OS/Version: Solaris
Status: NEW
  Severity: major
  Priority: P1
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I try to start tomcat on a solaris IPv6-only machine, and it does not start.  It
does start on dual-stack solaris machines.

Here is the uname-a output for the machine:
SunOS ic-eye 5.9 Generic_117171-17 sun4u sparc SUNW,UltraAX-i2

Here is the catalina.out log:


Jan 30, 2008 12:25:14 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
/usr/SAM72/SAM/smarts/jre/lib/sparc/client:/usr/SAM72/SAM/smarts/jre/lib/sparc:/usr/SAM72/SAM/smarts/jre/../lib/sparc:/usr/lib
Jan 30, 2008 12:25:14 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 30, 2008 12:25:14 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3063 ms
Jan 30, 2008 12:25:15 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 30, 2008 12:25:15 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Jan 30, 2008 12:25:15 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 30, 2008 12:25:17 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive SMViewletAuth.war
Jan 30, 2008 12:25:20 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 30, 2008 12:25:21 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jan 30, 2008 12:25:21 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/75  config=null
Jan 30, 2008 12:25:21 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jan 30, 2008 12:25:21 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6719 ms
Jan 30, 2008 12:25:21 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]: 
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.(Unknown Source)
at 
org.apache.catalina.core.StandardServer.await(StandardServer.java:372)
at org.apache.catalina.startup.Catalina.await(Catalina.java:615)
at org.apache.catalina.startup.Catalina.start(Catalina.java:575)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Jan 30, 2008 12:25:21 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jan 30, 2008 12:25:21 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.net.SocketException: Network is unreachable
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at 
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:473)
at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:270)
at org.apache.jk.server.JkMain.pause(JkMain.java:679)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:162)
at org.apache.catalina.connector.Connector.pause(Connector.java:1031)
at 
org.apache.catalina.core.StandardService.stop(StandardService.java:491)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
at org.apache.catalina.startup.Catalina.stop(C

DO NOT REPLY [Bug 44342] - Cannot run tomcat on Solaris IPv6-only machine

2008-02-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44342





--- Additional Comments From [EMAIL PROTECTED]  2008-02-01 13:16 ---
I was also able to reproduce this problem with tomcat 5.5.25

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Release build 6.0.16

2008-02-01 Thread Remy Maucherat
On Wed, 2008-01-30 at 15:21 +0100, Remy Maucherat wrote:
> The candidates binaries are available here:
> http://people.apache.org/~remm/tomcat-6/v6.0.16/
> 
> According to the release process, the 6.0.16 tag is:
> [ ] Broken
> [ ] Alpha
> [ ] Beta
> [ ] Stable

Ok, the voting seems wrapped up at this point. Any second thoughts ?

Rémy



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 44342] - Cannot run tomcat on Solaris IPv6-only machine

2008-02-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44342


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2008-02-01 13:26 ---
This could be bug 43588. Could you try 6.0.16 and see if you have the same
problem. If it is fixed, I'll look at porting the patch.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 40213] - Tomcat/JK Software caused connection abort: socket write error

2008-02-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40213


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2008-02-01 13:15 ---
A firewall, a faulty network connection, a bad NIC, the list goes on. This is a
network issue, not a Tomcat issue.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r617679 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-02-01 Thread markt
Author: markt
Date: Fri Feb  1 14:28:00 2008
New Revision: 617679

URL: http://svn.apache.org/viewvc?rev=617679&view=rev
Log:
Withdraw patch to work on better one.

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=617679&r1=617678&r2=617679&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Fri Feb  1 14:28:00 2008
@@ -38,14 +38,6 @@
   -1: remm: I believe it would need specific support for certain managers. 
Interested users
 could use their own extended manager instead.
 
-* Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=43741
-  Only compile tags in a JAR file once rather than once per JSP that uses it.
-  Patch provided by Anthony Berglas
-  http://svn.apache.org/viewvc?rev=616556&view=rev
-  +1: markt
-  -1: remm: I didn't test the performance issue. If it exists, then the patch 
could be improved
-(move any check logic to the Compiler class - and maybe try to 
handle JAR updates ?).
-
 * Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=43878
   Use a single class loader when not reloading JSPs and tag files to reduce 
perm
   gen usage.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r617682 - /tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java

2008-02-01 Thread markt
Author: markt
Date: Fri Feb  1 14:32:13 2008
New Revision: 617682

URL: http://svn.apache.org/viewvc?rev=617682&view=rev
Log:
Revert fix for 43741. Aim for better fix that handles tag files in JARs.

Modified:
tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java

Modified: tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java?rev=617682&r1=617681&r2=617682&view=diff
==
--- tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java (original)
+++ tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java Fri Feb  1 
14:32:13 2008
@@ -554,15 +554,7 @@
 
 public void compile() throws JasperException, FileNotFoundException {
 createCompiler();
-boolean outDated;
-if (isPackagedTagFile) {
-// Tags in JARs only need to be compiled once
-// If the JAR changes, the app needs to be re-loaded
-outDated = !(new File(getClassFileName()).exists());
-} else {
-outDated = jspCompiler.isOutDated();
-}
-if (outDated) {
+if (isPackagedTagFile || jspCompiler.isOutDated()) {
 try {
 jspCompiler.removeGeneratedFiles();
 jspLoader = null;



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 43741] - .tag files in a .tar recompiled for each .jsp -- extremely slow (with fix)

2008-02-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43741





--- Additional Comments From [EMAIL PROTECTED]  2008-02-01 14:33 ---
My relaoding comment is wrong. The app needs to be redployed (ie the work dir
cleared as pointed out in the original report). I have reverted the patch and am
working on one that handles tags in JARs.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Release build 6.0.16

2008-02-01 Thread Rainer Jung

Can't vote before Sunday evening, but no need to wait for that.

Rainer

Remy Maucherat schrieb:

Ok, the voting seems wrapped up at this point. Any second thoughts ?

Rémy


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Release build 6.0.16

2008-02-01 Thread Remy Maucherat
On Sat, 2008-02-02 at 00:14 +0100, Rainer Jung wrote:
> Can't vote before Sunday evening, but no need to wait for that.

I'll wait at least until monday.

Rémy



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 44283] - JVM crashes unexpectedly when using APR

2008-02-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44283





--- Additional Comments From [EMAIL PROTECTED]  2008-02-01 15:34 ---
It looks to me like you are doing asynchronous writes to the output stream, and
could be writing after the request has ended its processing.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r617736 - /tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java

2008-02-01 Thread fhanik
Author: fhanik
Date: Fri Feb  1 17:33:05 2008
New Revision: 617736

URL: http://svn.apache.org/viewvc?rev=617736&view=rev
Log:
fix file paths

Modified:

tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java

Modified: 
tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java
URL: 
http://svn.apache.org/viewvc/tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java?rev=617736&r1=617735&r2=617736&view=diff
==
--- 
tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java 
(original)
+++ 
tomcat/sandbox/gdev6x/java/org/apache/catalina/loader/VirtualWebappLoader.java 
Fri Feb  1 17:33:05 2008
@@ -247,13 +247,13 @@
 }
 if (tmpFile.isDirectory()) {
 if (log.isDebugEnabled()) log.debug("Adding directory to virtual 
repo:"+tmpFile.getAbsolutePath());
-addRepository("file:/" + tmpFile.getAbsolutePath() + "/");
+addRepository("file:" + tmpFile.getAbsolutePath() + "/");
 } else if (tmpFile.getAbsolutePath().endsWith(".jar") && separateJars) 
{
 //addRepository("file:/" + tmpFile.getAbsolutePath());
 jarFiles.add(tmpFile.getAbsolutePath());
 } else {
 if (log.isDebugEnabled()) log.debug("Adding file to virtual 
repo:"+tmpFile.getAbsolutePath());
-addRepository("file:/" + tmpFile.getAbsolutePath());
+addRepository("file:" + tmpFile.getAbsolutePath());
 }
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]