DO NOT REPLY [Bug 40305] - The getSession() method returns invalid session.

2007-02-14 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=40305





--- Additional Comments From [EMAIL PROTECTED]  2007-02-14 00:33 ---
This issue is different from Bug37356. 
The synchronization of accessCount by Bug37356 is not useful for this issue.

I will return with a simple 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 41610] New: - mod_jk incorrectly creates duplicate content-length:0 header

2007-02-14 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=41610

   Summary: mod_jk incorrectly creates duplicate content-length:0
header
   Product: Tomcat 5
   Version: 5.5.16
  Platform: PC
OS/Version: Linux
Status: NEW
  Keywords: RFC
  Severity: normal
  Priority: P2
 Component: Native:JK
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Under specific circumstances, the mod_jk adds a content-length:0 header, even if
there was already another content-length:0 header.

Tomcat seems to handle it without problem. But if tomcat forwards the packet to
another Apache, this second Apache sends an http 400 error (incorrect request),
due to this duplicate header.

We have this behavior when an empty (i.e. without any body) POST request is sent
by Internet Explorer. This happens when IE tries to authenticate through NTLM
with a POST request.

We have the following architecture :
Server 1 :
- A: a web application (Jahia 5.0.1_02) running under tomcat 5.5.17 
- B: an apache 2.0.40 running on the same server, with mod_jk 1.2.20
Server 2 :
- C: a web application (Jahia cache server r370) running under tomcat 5.5.16
- D: an apache 2.0.40 running on the same server, with mod_jk 1.2.20
Both servers run with Linux Redhat.

Tomcat A is configured to authenticate users through NTLM, with the java library
jcifs 1.2.11
Tomcat C behaves (roughly) as a reverse-proxy : it sends the packets to Apache 
B.
Apache B and D have been set up to implement optional SSL encryption.
NTLM authentication is made with Active Directory 2003.

If I send my requests to Apache D, I have the http 400 error with every POST
request. By sniffing the packets, I discovered that this http error was sent by
Apache B, and not D.
If I send my requests to Tomcat C, I don't have any http 400 errors.
The duplicate content-length:0 is created by Apache D, accepted by Tomcat C, but
refused by Apache B.

These http errors happen with or without SSL encryption.
They do not happen if I disable NTLM authentication on Tomcat A, probably
because no empty POST requests are sent.

-- 
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 41610] - mod_jk incorrectly creates duplicate content-length:0 header

2007-02-14 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=41610





--- Additional Comments From [EMAIL PROTECTED]  2007-02-14 05:56 ---
We tried an upgrade to Apache 2.0.59 (with mod_jk-apache-2.0.58.so) and Apache
2.2.4 (with mod_jk-apache-2.2.3.so) : not better.

-- 
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 41610] - mod_jk incorrectly creates duplicate content-length:0 header

2007-02-14 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=41610





--- Additional Comments From [EMAIL PROTECTED]  2007-02-14 06:14 ---
Created an attachment (id=19590)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19590&action=view)
Packet captures of the duplicate content-length:0

These are 4 packet captures that follow a single packet through the servers :

client -> Apache D -> Tomcat C -> Apache B -> Tomcat A

We can see in these captures that :
- the client sends only one content-lenth:0 header
- Apache D sends duplicate headers
- Tomcat C re-sends the same duplicate headers
- Apache B rejects the request and does not send anything to Tomcat A


-- 
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 41610] - mod_jk incorrectly creates duplicate content-length:0 header

2007-02-14 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=41610





--- Additional Comments From [EMAIL PROTECTED]  2007-02-14 06:23 ---
Created an attachment (id=19591)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19591&action=view)
Proposed patch in mod_jk.c

Our problem has been solved with the following patch in mod_jk.c

The code seems to look for an existing content-length header before adding the
content-length:0 header.
So it loops through the headers and compares them to the string
"content-length". But the comparison was made on the header values. We changed
it to make the comparison on the header names.

-- 
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 41609] - (ajp13) Connecting to tomcat failed.

2007-02-14 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=41609


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2007-02-14 07:53 ---
This is a config issue. The location of redirector dll was incorrect.

-- 
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: new 5.5 candidate, please test

2007-02-14 Thread Filip Hanik - Dev Lists

George Sexton wrote:
I didn't know that. I just looked at the page for changelog.html and 
it says 5.5.21.
yes, that is my mistake, ie, 5.5.21 didn't build at all, so we fixed the 
build script, retagged to 5.5.22, and I didn't update that file

Filip


Filip Hanik - Dev Lists wrote:

George Sexton wrote:

I noticed the changelog stops at 5.5.21.
5.5.21 doesn't exist, hence all changelogs from 5.5.21 goes 
automatically to 5.5.22.


Also, I didn't see any mention of

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

That's cause I'm a goober and forgot it.
Filip




Filip Hanik - Dev Lists wrote:

http://people.apache.org/~fhanik/tomcat/tomcat-5.5/v5.5.22/

Vote on Friday

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






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






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



DO NOT REPLY [Bug 40151] - mod_jk with Apache doesn't handle jsessionid encoded directory URLs

2007-02-14 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=40151





--- Additional Comments From [EMAIL PROTECTED]  2007-02-14 13:46 ---
Hi, 
NOTE: I am not the reporter of the bug. I want to add another scenario for the 
same issue.
I had a similar issue where tomcat returned 404 when there was ;jsessionid= in 
the URL. I was using mod_jk 1.2.14 and upgraded to 1.2.20 and expected the 
issue to be fixed but the upgrade did not fix the issue.
The "gotcha" in my case was I had JkOptions +ForwardURIEscaped set and when I 
removed this option, I got the expected results even without the 
 configuration.
Hope this helps some lost soul trying to figure this out.
Thanks,
Sudhir Movva.

-- 
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: r507744 - in /tomcat/tc6.0.x/trunk: java/org/apache/tomcat/util/net/SocketProperties.java webapps/docs/config/http.xml

2007-02-14 Thread fhanik
Author: fhanik
Date: Wed Feb 14 15:44:27 2007
New Revision: 507744

URL: http://svn.apache.org/viewvc?view=rev&rev=507744
Log:
Added in documentation specific to the NIO connector and a small connector 
comparison chart

Modified:
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SocketProperties.java
tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml

Modified: 
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SocketProperties.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SocketProperties.java?view=diff&rev=507744&r1=507743&r2=507744
==
--- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SocketProperties.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/SocketProperties.java 
Wed Feb 14 15:44:27 2007
@@ -37,9 +37,9 @@
 protected int bufferPoolSize = 1024*1024*100;
 
 /**
- * TCP_NO_DELAY option, default is false
+ * TCP_NO_DELAY option, default is true
  */
-protected boolean tcpNoDelay = false;
+protected boolean tcpNoDelay = true;
 /**
  * SO_KEEPALIVE option, default is false
  */

Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml?view=diff&rev=507744&r1=507743&r2=507744
==
--- tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml Wed Feb 14 15:44:27 2007
@@ -118,9 +118,11 @@
 org.apache.coyote.http11.Http11Protocol - same as 
HTTP/1.1
 org.apache.coyote.http11.Http11NioProtocol - non blocking 
Java connector
 org.apache.coyote.http11.Http11AprProtocol - the APR 
connector.
-The configuration for both Java connectors are identical, both for 
http and https. 
-For more information on the APR connector, please 
+Take a look at our Connector 
Comparison chart.
+The configuration for both Java connectors are identical, both for 
http and https. 
+For more information on the APR connector and APR specific SSL 
settings please 
 visit the APR documentation
+
   
 
 
@@ -383,6 +385,76 @@
   
 
   
+  
+
+
+The NIO connector exposes all the low level socket properties that can 
be used to tune the connector.
+Most of these attributes are directly linked to the socket implementation 
in the JDK so you can find out 
+about the actual meaning in the JDK API documentation.
+NoteOn some JDK versions, setTrafficClass causes a 
problem, a work around for this is to add 
+the -Djava.net.preferIPv4Stack=true value to your command line
+
+
+  
+Boolean value, whether to use direct ByteBuffers or java mapped 
ByteBuffers. Default is true
+  
+  
+The socket receive buffer (SO_RCVBUF) size in bytes. Default value 
is 25188
+  
+  
+The socket send buffer (SO_SNDBUF) size in bytes. Default value is 
43800
+  
+  
+The Nio connector uses a class called NioChannel that holds 
elements linked to a socket.
+   To reduce garbage collection, the Nio connector caches these 
channel objects.
+   This value specifies the size of this cache.
+   The default value is 500, and represents that the cache will hold 
500 NioChannel objects.
+   Other values are -1. unlimited cache, and 0, no cache.
+  
+  
+The NioChannel pool can also be size based, not used object based. 
The size is calculated as follows:
+NioChannel buffer size = read buffer size + write buffer size
+SecureNioChannel buffer size = application read buffer size + 
application write buffer size + network read buffer size + network write buffer 
size
+The value is in bytes, the default value is 1024*1024*100 (100MB)
+
+  
+  
+same as the standard setting tcpNoDelay. Default value 
is false
+  
+  
+Boolean value for the socket's keep alive setting (SO_KEEPALIVE). 
Default is false. 
+  
+  
+Boolean value for the socket OOBINLINE setting. Default value is 
true
+  
+  
+Boolean value for the sockets reuse address option (SO_REUSEADDR). 
Default value is true
+  
+  
+Boolean value for the sockets so linger option (SO_LINGER). Default 
value is true.
+   This option is paired with the soLingerTime value.
+  
+  
+Value in seconds for the sockets so linger option (SO_LINGER). 
Default value is 25 seconds.
+   This option is paired with the soLinger value.
+  
+  
+Value in milliseconds for the sockets read timeout (SO_TIMEOUT). 
Default value is 5000 milliseconds.
+
+  
+Value between 0 and 255 for the traffic class on the socket, 
0x04 | 

svn commit: r507751 - in /tomcat/tc6.0.x/trunk/java/org/apache/jasper: compiler/AntCompiler.java runtime/JspFactoryImpl.java util/FastDateFormat.java util/Queue.java util/SimplePool.java util/SystemLo

2007-02-14 Thread remm
Author: remm
Date: Wed Feb 14 16:23:18 2007
New Revision: 507751

URL: http://svn.apache.org/viewvc?view=rev&rev=507751
Log:
- Remove dead code.
- Move the special purpose sys.out capture to an inner class of the Ant 
compiler.

Removed:
tomcat/tc6.0.x/trunk/java/org/apache/jasper/util/FastDateFormat.java
tomcat/tc6.0.x/trunk/java/org/apache/jasper/util/Queue.java
tomcat/tc6.0.x/trunk/java/org/apache/jasper/util/SimplePool.java
tomcat/tc6.0.x/trunk/java/org/apache/jasper/util/SystemLogHandler.java
Modified:
tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/AntCompiler.java
tomcat/tc6.0.x/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/AntCompiler.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/AntCompiler.java?view=diff&rev=507751&r1=507750&r2=507751
==
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/AntCompiler.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/AntCompiler.java Wed 
Feb 14 16:23:18 2007
@@ -17,13 +17,14 @@
 
 package org.apache.jasper.compiler;
 
+import java.io.ByteArrayOutputStream;
 import java.io.File;
 import java.io.FileNotFoundException;
+import java.io.IOException;
 import java.io.PrintStream;
 import java.util.StringTokenizer;
 
 import org.apache.jasper.JasperException;
-import org.apache.jasper.util.SystemLogHandler;
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.DefaultLogger;
 import org.apache.tools.ant.Project;
@@ -275,4 +276,197 @@
 }
 
 
+protected static class SystemLogHandler extends PrintStream {
+
+
+// --- 
Constructors
+
+
+/**
+ * Construct the handler to capture the output of the given steam.
+ */
+public SystemLogHandler(PrintStream wrapped) {
+super(wrapped);
+this.wrapped = wrapped;
+}
+
+
+// - Instance 
Variables
+
+
+/**
+ * Wrapped PrintStream.
+ */
+protected PrintStream wrapped = null;
+
+
+/**
+ * Thread <-> PrintStream associations.
+ */
+protected static ThreadLocal streams = new ThreadLocal();
+
+
+/**
+ * Thread <-> ByteArrayOutputStream associations.
+ */
+protected static ThreadLocal data = new ThreadLocal();
+
+
+// - Public 
Methods
+
+
+public PrintStream getWrapped() {
+  return wrapped;
+}
+
+/**
+ * Start capturing thread's output.
+ */
+public static void setThread() {
+ByteArrayOutputStream baos = new ByteArrayOutputStream();
+data.set(baos);
+streams.set(new PrintStream(baos));
+}
+
+
+/**
+ * Stop capturing thread's output and return captured data as a String.
+ */
+public static String unsetThread() {
+ByteArrayOutputStream baos = 
+(ByteArrayOutputStream) data.get();
+if (baos == null) {
+return null;
+}
+streams.set(null);
+data.set(null);
+return baos.toString();
+}
+
+
+// -- Protected 
Methods
+
+
+/**
+ * Find PrintStream to which the output must be written to.
+ */
+protected PrintStream findStream() {
+PrintStream ps = (PrintStream) streams.get();
+if (ps == null) {
+ps = wrapped;
+}
+return ps;
+}
+
+
+//  PrintStream 
Methods
+
+
+public void flush() {
+findStream().flush();
+}
+
+public void close() {
+findStream().close();
+}
+
+public boolean checkError() {
+return findStream().checkError();
+}
+
+protected void setError() {
+//findStream().setError();
+}
+
+public void write(int b) {
+findStream().write(b);
+}
+
+public void write(byte[] b)
+throws IOException {
+findStream().write(b);
+}
+
+public void write(byte[] buf, int off, int len) {
+findStream().write(buf, off, len);
+}
+
+public void print(boolean b) {
+findStream().print(b);
+}
+
+public void print(char c) {
+findStream().print(c);
+}
+
+public void print(int i) {
+findStream().print(i);
+}
+
+public void print(long l) {
+findStream().print(l);
+}
+
+publ

Re: svn commit: r507744 - in /tomcat/tc6.0.x/trunk: java/org/apache/tomcat/util/net/SocketProperties.java webapps/docs/config/http.xml

2007-02-14 Thread Remy Maucherat

[EMAIL PROTECTED] wrote:

+Polling Size   N/A   Unlimited - Restricted by mem 
   1024


There's no limit to the amount of sockets which may be put in pollers in 
the APR connector either (it can use multiple pollers on platforms where 
it's limited to 1024).


Rémy

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



Re: svn commit: r507744 - in /tomcat/tc6.0.x/trunk: java/org/apache/tomcat/util/net/SocketProperties.java webapps/docs/config/http.xml

2007-02-14 Thread Filip Hanik - Dev Lists

Remy Maucherat wrote:

[EMAIL PROTECTED] wrote:
+Polling Size   N/A   Unlimited - 
Restricted by mem1024


There's no limit to the amount of sockets which may be put in pollers 
in the APR connector either (it can use multiple pollers on platforms 
where it's limited to 1024).

aah, got it, so 1024 per poller is the max?

so the max is unlimited,
I will correct


Rémy

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






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



svn commit: r507767 - /tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml

2007-02-14 Thread fhanik
Author: fhanik
Date: Wed Feb 14 17:18:54 2007
New Revision: 507767

URL: http://svn.apache.org/viewvc?view=rev&rev=507767
Log:
set APR to have unlimited poll set

Modified:
tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml

Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml?view=diff&rev=507767&r1=507766&r2=507767
==
--- tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml Wed Feb 14 17:18:54 2007
@@ -595,7 +595,7 @@
 Classname Http11Protocol  Http11NioProtocol
 Http11AprProtocol
 Tomcat Version   3.x 4.x 5.x 6.x   6.x 
5.5.x 6.x
 Support Polling NO YES 
   YES
-Polling Size   N/A   Unlimited - Restricted by mem 
   1024
+Polling Size   N/A   Unlimited - Restricted by mem 
   Unlimited
 Read HTTP Request Blocking Non Blocking
   Blocking
 Read HTTP BodyBlocking Blocking
   Blocking
 Write HTTP Response   Blocking Blocking
   Blocking



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



Re: svn commit: r507744 - in /tomcat/tc6.0.x/trunk: java/org/apache/tomcat/util/net/SocketProperties.java webapps/docs/config/http.xml

2007-02-14 Thread Filip Hanik - Dev Lists

Remy Maucherat wrote:

[EMAIL PROTECTED] wrote:
+Polling Size   N/A   Unlimited - 
Restricted by mem1024


There's no limit to the amount of sockets which may be put in pollers 
in the APR connector either (it can use multiple pollers on platforms 
where it's limited to 1024).

ignore my prev response, didn't read the code properly
Filip


Rémy

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






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



DO NOT REPLY [Bug 41616] New: - Use JSF by eclipse and run by Tomcat but the error appeared

2007-02-14 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=41616

   Summary: Use JSF by eclipse and run by Tomcat but the error
appeared
   Product: Tomcat 5
   Version: Unknown
  Platform: Other
OS/Version: Windows 2000
Status: NEW
  Severity: normal
  Priority: P3
 Component: Servlets:WebDAV
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Hello

   I runed a simple JSF program use both Tomcat5.5.20 and Tomcat5.5.12 but 
error appeared. The error use tomcat5.5.15 is below:

’v–½“I: ƒT[ƒuƒŒƒbƒg Faces Servlet ‚É—áŠO‚ðŠ„‚è“–‚Ă܂·
java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.allocate
(StandardWrapper.java:750)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:130)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:868)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConne
ction(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)

   Could you tell me why and how to solve it. Thank you very much!

   Wang Suya

-- 
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 41618] New: - Error listenerStart

2007-02-14 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=41618

   Summary: Error listenerStart
   Product: Tomcat 5
   Version: 5.5.12
  Platform: PC
OS/Version: Windows 2000
Status: NEW
  Severity: normal
  Priority: P3
 Component: Servlets:WebDAV
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Hello

I use tomcat5.5.12 and run a example use listener but when I start tomcat
below error show up:

javax.faces.FacesException: java.lang.ClassCastException: 
components.renderkit.AreaRenderer
at com.sun.faces.config.ConfigureListener.contextInitialized
(ConfigureListener.java:334)
at org.apache.catalina.core.StandardContext.listenerStart
(StandardContext.java:3692)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4127)
at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at org.apache.catalina.startup.HostConfig.deployWARs
(HostConfig.java:693)
at org.apache.catalina.startup.HostConfig.deployApps
(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start
(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
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:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.ClassCastException: components.renderkit.AreaRenderer
at com.sun.faces.config.ConfigureListener.configure
(ConfigureListener.java:876)
at com.sun.faces.config.ConfigureListener.configure
(ConfigureListener.java:925)
at com.sun.faces.config.ConfigureListener.configure
(ConfigureListener.java:406)
at com.sun.faces.config.ConfigureListener.contextInitialized
(ConfigureListener.java:328)
... 24 more
2007/02/15 15:41:07 org.apache.catalina.core.StandardContext start
’v–½“I: Error listenerStart
2007/02/15 15:41:07 org.apache.catalina.core.StandardContext start
’v–½“I: ˆÈ‘O‚̃Gƒ‰[‚Ì‚½‚߂ɃRƒ“ƒeƒLƒXƒg‚Ì‹N“®‚ªŽ¸”s‚µ‚Ü‚µ‚½ [/jsf-guessNumber]
2007/02/15 15:41:08 org.apache.catalina.startup.HostConfig deployWAR
î•ñ: WebƒAƒvƒŠƒP[ƒVƒ‡ƒ“ƒA[ƒJƒCƒu jsf-nonjsp.war ‚ð”z”õ‚µ‚Ü‚·
java.lang.ClassCastException: components.renderkit.AreaRenderer
at com.sun.faces.config.ConfigureListener.configure
(ConfigureListener.java:876)
at com.sun.faces.config.ConfigureListener.configure
(ConfigureListener.java:925)
at com.sun.faces.config.ConfigureListener.configure
(ConfigureListener.java:406)
at com.sun.faces.config.ConfigureListener.contextInitialized
(ConfigureListener.java:328)
at org.apache.catalina.core.StandardContext.listenerStart
(StandardContext.java:3692)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4127)
at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at org.apache.catalina.startup.HostConfig.deployWARs
(HostConfig.java:693)
at org.apache.catalina.startup.HostConfig.deployApps
(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent
(Host