Re: svn commit: r660175 - in /tomcat/connectors/trunk/jni: CHANGELOG.txt native/src/poll.c

2008-05-30 Thread jean-frederic clere

[EMAIL PROTECTED] wrote:

Author: mturk
Date: Mon May 26 05:42:11 2008
New Revision: 660175

URL: http://svn.apache.org/viewvc?rev=660175&view=rev
Log:
Fix 45071 by updating ttl for signaled but not removed sockets

Modified:
tomcat/connectors/trunk/jni/CHANGELOG.txt


Please could you put the information in 
jk/xdocs/miscellaneous/changelog.xml? (CHANGELOG.txt is a generated file).


Cheers

Jean-Frederic

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



Re: svn commit: r661428 - /tomcat/connectors/trunk/jni/native/src/poll.c

2008-05-30 Thread jean-frederic clere

[EMAIL PROTECTED] wrote:

Author: mturk
Date: Thu May 29 11:08:20 2008
New Revision: 661428

URL: http://svn.apache.org/viewvc?rev=661428&view=rev
Log:
Move the ttl as well when the socket is removed. Patch provided by Alex Barclay


Cool but could you put the information in 
jk/xdocs/miscellaneous/changelog.xml?

BTW: Is there a bug report corresponding to the fix?

Cheers

Jean-Frederic



Modified:
tomcat/connectors/trunk/jni/native/src/poll.c

Modified: tomcat/connectors/trunk/jni/native/src/poll.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/src/poll.c?rev=661428&r1=661427&r2=661428&view=diff
==
--- tomcat/connectors/trunk/jni/native/src/poll.c (original)
+++ tomcat/connectors/trunk/jni/native/src/poll.c Thu May 29 11:08:20 2008
@@ -215,6 +215,7 @@
 }
 else {
 p->socket_set[dst] = p->socket_set[i];
+p->socket_ttl[dst] = p->socket_ttl[i];
 dst++;
 }
 }



-
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 45102] New: IllegalStateException getting HttpSession from HttpServletRequest

2008-05-30 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45102

   Summary: IllegalStateException getting HttpSession from
HttpServletRequest
   Product: Tomcat 5
   Version: 5.5.26
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: major
  Priority: P2
 Component: Connector:Coyote
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


First of all I cannot reproduce the bug voluntarily.
Tomcat 5.5.26

description of a typical case:
* The server is up and running. 
* A servlet is called by a batch running on a mainframe, using a batch browser
(Lynx) to call the servlet. 
* The first thing the servlet does is
"((HttpServletRequest)request).getSession()", and the exception is thrown:
java.lang.IllegalStateException: Impossible de créer une sessionaprès que la
réponse ait été envoyée
at
org.apache.catalina.connector.Request.doGetSession(Request.java:2221)
at org.apache.catalina.connector.Request.getSession(Request.java:2031)
at
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:832)
at
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:843)
at
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:224)
at adp.data.RunImportData.doGet(RunImportData.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:420)
at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:134)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)

I searched the forums, read the code of Tomcat, and saw this: for a reason my
session is either null or invalidated and something has already started to
respond the request. 


The message contained in the exception corresponds to the resource
"coyoteRequest.sessionCreateCommitted".

This exception is produced in several servlets not just in a specific one. 
I have set up a session listener in the configuration so as to free objects
related to the session when this one is invalidated.


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r661428 - /tomcat/connectors/trunk/jni/native/src/poll.c

2008-05-30 Thread Mladen Turk

jean-frederic clere wrote:

[EMAIL PROTECTED] wrote:

Author: mturk
Date: Thu May 29 11:08:20 2008
New Revision: 661428

URL: http://svn.apache.org/viewvc?rev=661428&view=rev
Log:
Move the ttl as well when the socket is removed. Patch provided by 
Alex Barclay


Cool but could you put the information in 
jk/xdocs/miscellaneous/changelog.xml?


Why would I put that in mod_jk changelog?
There is already a note in jni/CHANGELOG.txt for this BZ


BTW: Is there a bug report corresponding to the fix?



Yes. 45071

Regards
--
^(TM)

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



Re: svn commit: r660175 - in /tomcat/connectors/trunk/jni: CHANGELOG.txt native/src/poll.c

2008-05-30 Thread Mladen Turk

jean-frederic clere wrote:

[EMAIL PROTECTED] wrote:

Author: mturk
Date: Mon May 26 05:42:11 2008
New Revision: 660175

URL: http://svn.apache.org/viewvc?rev=660175&view=rev
Log:
Fix 45071 by updating ttl for signaled but not removed sockets

Modified:
tomcat/connectors/trunk/jni/CHANGELOG.txt


Please could you put the information in 
jk/xdocs/miscellaneous/changelog.xml? (CHANGELOG.txt is a generated file).




Are you sure?
svn cat $SVNBASE/${JKJNIEXT}/jni/CHANGELOG.txt > ${JKJNIDIST}/CHANGELOG.txt

Again this is not mod_jk where this is auto generated from html

Regards
--
^(TM)

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



svn commit: r661653 - /tomcat/connectors/trunk/jni/xdocs/miscellaneous/changelog.xml

2008-05-30 Thread mturk
Author: mturk
Date: Fri May 30 04:25:04 2008
New Revision: 661653

URL: http://svn.apache.org/viewvc?rev=661653&view=rev
Log:
Add note to changelog about BZ45071

Modified:
tomcat/connectors/trunk/jni/xdocs/miscellaneous/changelog.xml

Modified: tomcat/connectors/trunk/jni/xdocs/miscellaneous/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/xdocs/miscellaneous/changelog.xml?rev=661653&r1=661652&r2=661653&view=diff
==
--- tomcat/connectors/trunk/jni/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/connectors/trunk/jni/xdocs/miscellaneous/changelog.xml Fri May 30 
04:25:04 2008
@@ -40,6 +40,10 @@
 
   
 
+  45071: Reset ttl when Poll.pool remove is false.
+  Additional patch was provided by Alex Barclay. (mturk)
+
+
   Fix optGet that was always throwing exceptions. (jfclere)
 
 



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



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

2008-05-30 Thread remm
Author: remm
Date: Fri May 30 09:02:28 2008
New Revision: 661774

URL: http://svn.apache.org/viewvc?rev=661774&view=rev
Log:
- Votes.

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=661774&r1=661773&r2=661774&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Fri May 30 09:02:28 2008
@@ -85,14 +85,14 @@
   Reloaded context has new classloader so the context classloader needs to
   be reset
   http://svn.apache.org/viewvc?rev=661074&view=rev
-  +1: markt
+  +1: markt, remm
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=45101
   Format header dates obtained from DirContextURLConnection as per HTTP spec
   Patch provided by Chris Hubick
   http://svn.apache.org/viewvc?rev=661488&view=rev
-  +1: markt
+  +1: markt, remm
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42934
@@ -100,5 +100,5 @@
   fired before sessionDidActivate(). The spec isn't 100% clear on the required
   order but this seems more logical than the current behaviour.
   http://svn.apache.org/viewvc?rev=654932&view=rev
-  +1: markt
+  +1: markt, remm
   -1: 



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



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

2008-05-30 Thread remm
Author: remm
Date: Fri May 30 09:40:57 2008
New Revision: 661784

URL: http://svn.apache.org/viewvc?rev=661784&view=rev
Log:
- Add a comment.

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=661784&r1=661783&r2=661784&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Fri May 30 09:40:57 2008
@@ -92,7 +92,7 @@
   Format header dates obtained from DirContextURLConnection as per HTTP spec
   Patch provided by Chris Hubick
   http://svn.apache.org/viewvc?rev=661488&view=rev
-  +1: markt, remm
+  +1: markt, remm (but there's downside as naming now depends on the utils)
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42934



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



DO NOT REPLY [Bug 45106] New: org.apache.catalina.startup. Bootstrap ends up on task bar and you can' t shut down your Mac without manually shutting it down.

2008-05-30 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45106

   Summary: org.apache.catalina.startup.Bootstrap ends up on task
bar and you can't shut down your Mac without manually
shutting it down.
   Product: Tomcat 6
   Version: 6.0.14
  Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
  Severity: normal
  Priority: P2
 Component: Servlet & JSP API
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


I am sizing an image from within a servlet and when it executes the
"org.apache.catalina.startup.Bootstrap" process ends up on the menu bar at the
top and the task bar at the bottom (not sure what else to call them).
The user can no longer shut their machine off after this happens without
manually quitting the org.apache.catalina.startup.Bootstrap process.

I have spent a lot of time looking into the problem and only found one other
person who has seen this problem (although for him it is not a big deal). For
me I can't expect my users to know what do when their machine hangs because
this process won't stop.

I have never submitted a bug before so I hope I am following the correct
protocol.

Thanks in advance,
Doug

P.S. I have code ect..to reproduce the problem.


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]