DO NOT REPLY [Bug 32292] - HTTP response 505 and Keep-Alive processing
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32292. 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=32292 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 09:21 --- Thank you for your reply. I can understand that the response 505 and the connection should be Keep-Alive are not wrong in this matter. but the problem is altough the response said Connection: Keep-Alive the real connection is closed after the response. In regarding to this matter I think there are 2 problems. 1. Regarding to HEAD /index.html HTTP/1.0 response I think it is better to response with 400 rather than 505 (there are 2 spaces after URI so I think it is a Bad Request) 2. Regarding to HEAD /index.html HTTP/1.2 response I think it is better to response with 505 but the Socket should not be closed immediately So I think to try to solve the problems with 1) for number 1 solution org.apache.coyote.http11.Http11Processor#prepareRequest() (line No.1090) - protected void prepareRequest() { http11 = true; http09 = false; contentDelimitation = false; expectation = false; if (sslSupport != null) { request.scheme().setString(https); } MessageBytes protocolMB = request.protocol(); if (protocolMB.equals(Constants.HTTP_11)) { http11 = true; protocolMB.setString(Constants.HTTP_11); } else if (protocolMB.equals(Constants.HTTP_10)) { http11 = false; keepAlive = false; protocolMB.setString(Constants.HTTP_10); } else if (protocolMB.equals()) { // HTTP/0.9 http09 = true; http11 = false; keepAlive = false; // ** FIX FROM ** } else if (!protocolMB.startsWith(HTTP/)) { error = true; // 400 - Bas request response.setStatus(400); // ** FIX TO ** } else { // Unsupported protocol http11 = false; error = true; // Send 505; Unsupported HTTP version response.setStatus(505); } - 2) for number 2 solution org.apache.coyote.http11.Http11Processor#prepareResponse() (line No.1530) - protected void prepareResponse() { boolean entityBody = true; contentDelimitation = false; ... // If we know that the request is bad this early, add the // Connection: close header. keepAlive = keepAlive !statusDropsConnection(statusCode); if (!keepAlive) { response.addHeader(Connection, close); } else if (!http11) { response.addHeader(Connection, Keep-Alive); // ** FIX FROM ** error=false; // ** FIX TO ** } ... - regards, Naru Hayashi from Japan -- 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 32577] - ClassNotFoundException when using inner class in web.xml
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32577. 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=32577 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 09:55 --- As you can see in the error, the '$' is gone. Does it need to be encoded in your XML ? Please look more thoroughly into this before reopening the issue, and submit a test war if you cannot solve the issue. The Tomcat classloader can correctly load inner classes. BTW, the exception is logged as well, please submit stack traces. -- 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 32568] - JspWriter uses plattform encoding
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32568. 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=32568 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|CLOSED --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 10:10 --- News!... as i found out by comment out all my filters in web.xml i saw, that the encoding was right..., so as i will see, why some of this filters will have any effect on the encoding.. , if i detect some misbehave i will open a new bug.. thank you a lot.. :) you all saved my day.. - - - - summary: (for anybody like me, who blame others for own mistake) make it as simple as you can and switch of any of your own extensions first check your setup like in Comment #5 check if some of your filters have any influence on your output check if some of your other stuff as far as i know the problem is often in your(in this case in my) own hand.. i have only 2 eyes.. so why i should see more than 100 of other good guys.. shame on me -- 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 32280] - Problem clustering tomcat when a failed server is restarting
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32280. 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=32280 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|VERIFIED -- 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: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta Tomcat Connectors 1.2.7-beta-2. The release contains a fixes to few compilation problems detected with JK-1.2.7-beta version. This release also introduces a new domain concept clustering support. See Bugzilla #32317 for details. It'd be nice to see some binaries. I know that building it is a snap on *almost* all platforms. But there is also this Windows O/S, ya know, for which building requires *non free* M$ VC 6.0. We expect it to be ratified as a Stable release when the vote takes place in the next two weeks. I suppose that providing binaries only for those interested (subscribed to tomcat-dev) would give jk better testing before it goes GA. I suggest that the process should be similar to the tomcat release cycle, which means that the announcement on tomcat-dev is accompanied by providing sources/binaries in a well known place http://www.apache.org/dist/jakarta/tomcat-5/. Then the testing begins, which is followed by voting and more public announcement afterwards. cheers /dd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released
i agree. i would have tested the new 1.2.7 for iis (if any changes are there of course) on our test server, but do not have VC to compile the source. binaries should be available for betas imo. we cover most things with the jk iis connector, e.g intergrated auth, normal browsing and lots of file uploads through to our CMS. could be beneficial for the jk team. Allistair. -Original Message- From: Dominik Drzewiecki [mailto:[EMAIL PROTECTED] Sent: 08 December 2004 10:52 To: Tomcat Developers List Subject: Re: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released The Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta Tomcat Connectors 1.2.7-beta-2. The release contains a fixes to few compilation problems detected with JK-1.2.7-beta version. This release also introduces a new domain concept clustering support. See Bugzilla #32317 for details. It'd be nice to see some binaries. I know that building it is a snap on *almost* all platforms. But there is also this Windows O/S, ya know, for which building requires *non free* M$ VC 6.0. We expect it to be ratified as a Stable release when the vote takes place in the next two weeks. I suppose that providing binaries only for those interested (subscribed to tomcat-dev) would give jk better testing before it goes GA. I suggest that the process should be similar to the tomcat release cycle, which means that the announcement on tomcat-dev is accompanied by providing sources/binaries in a well known place http://www.apache.org/dist/jakarta/tomcat-5/. Then the testing begins, which is followed by voting and more public announcement afterwards. cheers /dd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32585] New: - Unknown file size
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32585. 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=32585 Summary: Unknown file size Product: Tomcat 4 Version: 4.1.30 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Tomcat seems to report unknown file size when sending a file as large as 4gb. maybe it hit the int limit? -- 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: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released
Allistair Crossley wrote: i agree. i would have tested the new 1.2.7 for iis (if any changes are there of course) on our test server, but do not have VC to compile the source. binaries should be available for betas imo. we cover most things with the jk iis connector, e.g intergrated auth, normal browsing and lots of file uploads through to our CMS. could be beneficial for the jk team. The binaries for WIN32 are at usual place: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/ We need as much testing as possible using newly added directives (see the docs). Thanks evryone that will make the testings. It'll surely led to a more stable 1.2.8 release. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup Embedded.java
yoavs 2004/12/08 06:34:56 Modified:catalina/src/share/org/apache/catalina/startup Embedded.java Log: Updatd JavaDoc to reflect the fact there's no longer a complete example in main(). Revision ChangesPath 1.27 +3 -9 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Embedded.java Index: Embedded.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Embedded.java,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- Embedded.java 3 Nov 2004 12:02:45 - 1.26 +++ Embedded.java 8 Dec 2004 14:34:56 - 1.27 @@ -92,14 +92,8 @@ * To initiate a normal shutdown, call the codestop()/code method of * this object. * p - * strongIMPLEMENTATION NOTE/strong: The codemain()/code method of - * this class is a simple example that exercizes the features of dynamically - * starting and stopping various components. You can execute this by executing - * the following steps (on a Unix platform): - * pre - * cd $CATALINA_HOME - * ./bin/catalina.sh embedded - * /pre + * @see org.apache.catalina.startup.Catalina#main For a complete example + * of how Tomcat is set up and launched as an Embedded application. * * @author Craig R. McClanahan * @version $Revision$ $Date$ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup Embedded.java
yoavs 2004/12/08 06:35:58 Modified:catalina/src/share/org/apache/catalina/startup Tag: TOMCAT_5_0 Embedded.java Log: Updated JavaDoc to reflect the fact there's no longer a complete example in main(). Revision ChangesPath No revision No revision 1.16.2.1 +3 -9 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Embedded.java Index: Embedded.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Embedded.java,v retrieving revision 1.16 retrieving revision 1.16.2.1 diff -u -r1.16 -r1.16.2.1 --- Embedded.java 10 Jun 2004 18:59:48 - 1.16 +++ Embedded.java 8 Dec 2004 14:35:58 - 1.16.2.1 @@ -94,14 +94,8 @@ * To initiate a normal shutdown, call the codestop()/code method of * this object. * p - * strongIMPLEMENTATION NOTE/strong: The codemain()/code method of - * this class is a simple example that exercizes the features of dynamically - * starting and stopping various components. You can execute this by executing - * the following steps (on a Unix platform): - * pre - * cd $CATALINA_HOME - * ./bin/catalina.sh embedded - * /pre + * @see org.apache.catalina.startup.Catalina#main for a complete example + * of how Tomcat is set up and launche as an Embedded application. * * @author Craig R. McClanahan * @version $Revision$ $Date$ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where shud i start from??
--- Gokul Jeyapaul [EMAIL PROTECTED] wrote: Respected Sirs, Im in the process of understanding the complete Tomcats source code so that i can write my own servlet container and JSP container. Is this some college project ? Tomcat is pretty vast, and it should take you about a months worth of serious reading to understand how it works. Where i shud i start from??I downloaded some source codes ..Whn i tried to go thro it i felt like im in a maze..I just didnt understand how things work? So please guide me thro this I wud be grateful Locate the architecture documents within the documentation and read them. Also, load the source within a good IDE like Eclipse, and start tracing Tomcat from the time it starts up. As an exercise, figure out how Tomcat starts. You'll discover that there's really no application such as Tomcat. It's a number of different components that are all assembled together to create a Servlet container that also bundles a JSP Engine. regds, Gokul Best of luck, -- Sriram __ Do you Yahoo!? All your favorites on one personal page Try My Yahoo! http://my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released
Cool. I've just gone to the Tomcat 5.5 docs and the link is broken for JK 1.2 http://jakarta.apache.org/tomcat/jk-1.2/ If you have the new link, I will patch the file. Cheers, Ali. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 08 December 2004 14:34 To: Tomcat Developers List Subject: Re: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released Allistair Crossley wrote: i agree. i would have tested the new 1.2.7 for iis (if any changes are there of course) on our test server, but do not have VC to compile the source. binaries should be available for betas imo. we cover most things with the jk iis connector, e.g intergrated auth, normal browsing and lots of file uploads through to our CMS. could be beneficial for the jk team. The binaries for WIN32 are at usual place: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binari es/win32/ We need as much testing as possible using newly added directives (see the docs). Thanks evryone that will make the testings. It'll surely led to a more stable 1.2.8 release. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released
Allistair Crossley wrote: Cool. I've just gone to the Tomcat 5.5 docs and the link is broken for JK 1.2 http://jakarta.apache.org/tomcat/jk-1.2/ If you have the new link, I will patch the file. Well, they should all point to: http://jakarta.apache.org/tomcat/connectors-doc Like Tomcat 5.0 does. Think that Yoav is the guy to ask for... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs project.xml
remm2004/12/08 07:00:33 Modified:webapps/docs project.xml Log: - Fix link. Revision ChangesPath 1.27 +1 -1 jakarta-tomcat-catalina/webapps/docs/project.xml Index: project.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/project.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- project.xml 29 Nov 2004 14:38:02 - 1.26 +++ project.xml 8 Dec 2004 15:00:33 - 1.27 @@ -49,7 +49,7 @@ item name=Release Notes href=RELEASE-NOTES.txt/ item name=Tomcat Configuration href=config/index.html/ item name=JK 1.2 Documentation - href=http://jakarta.apache.org/tomcat/jk-1.2// + href=http://jakarta.apache.org/tomcat/connectors-doc// item name=Servlet API Javadocs href=servletapi/index.html/ item name=JSP API Javadocs href=jspapi/index.html/ /menu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released
Hi, Yeah, my bad, take a look now. I thought I'd fixed this in CVS and not just on the site, but will take another look. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 9:58 AM To: Tomcat Developers List Subject: Re: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released Allistair Crossley wrote: Cool. I've just gone to the Tomcat 5.5 docs and the link is broken for JK 1.2 http://jakarta.apache.org/tomcat/jk-1.2/ If you have the new link, I will patch the file. Well, they should all point to: http://jakarta.apache.org/tomcat/connectors-doc Like Tomcat 5.0 does. Think that Yoav is the guy to ask for... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released
Hi, I see Remy beat me to fixing project.xml on HEAD. I guess I only fixed it on the TOMCAT_5_0 branch and on the live site, so when releasing 5.5 we went back to the broken links (which are now fixed on the live site again). Sheesh... Yoav Shapira http://www.yoavshapira.com -Original Message- From: Shapira, Yoav Sent: Wednesday, December 08, 2004 10:01 AM To: Tomcat Developers List Subject: RE: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released Hi, Yeah, my bad, take a look now. I thought I'd fixed this in CVS and not just on the site, but will take another look. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 9:58 AM To: Tomcat Developers List Subject: Re: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released Allistair Crossley wrote: Cool. I've just gone to the Tomcat 5.5 docs and the link is broken for JK 1.2 http://jakarta.apache.org/tomcat/jk-1.2/ If you have the new link, I will patch the file. Well, they should all point to: http://jakarta.apache.org/tomcat/connectors-doc Like Tomcat 5.0 does. Think that Yoav is the guy to ask for... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat homepage
Hi Team, 1) I have deployed a web application under webapps folder called SBM folder. I have added this to my server.xml Host name=prosales debug=0 appBase=webapps unpackWARs=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=sbm. suffix=.log timestamp=true/ Context path= docBase=SBM debug=0 reloadable=true/ Context path=SBM docBase=SBM debug=0 reloadable=true/ /Host When I insert http://prosales:8080 the homepage of tomcat comes up instead of our login page I have also added this to my hosts file under C:\WINNT\system32\drivers\etc 127.0.0.1 localhost 127.0.0.1 prosales What is wrong? 2) on another machine, when I start Tomcat from cmd window, a second black window comes up and after 2 seconds it disappears. I cannot even start tomcat What is wrong? Thanks Ramin -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 4:06 PM To: Tomcat Developers List Subject: RE: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released Hi, I see Remy beat me to fixing project.xml on HEAD. I guess I only fixed it on the TOMCAT_5_0 branch and on the live site, so when releasing 5.5 we went back to the broken links (which are now fixed on the live site again). Sheesh... Yoav Shapira http://www.yoavshapira.com -Original Message- From: Shapira, Yoav Sent: Wednesday, December 08, 2004 10:01 AM To: Tomcat Developers List Subject: RE: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released Hi, Yeah, my bad, take a look now. I thought I'd fixed this in CVS and not just on the site, but will take another look. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 9:58 AM To: Tomcat Developers List Subject: Re: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released Allistair Crossley wrote: Cool. I've just gone to the Tomcat 5.5 docs and the link is broken for JK 1.2 http://jakarta.apache.org/tomcat/jk-1.2/ If you have the new link, I will patch the file. Well, they should all point to: http://jakarta.apache.org/tomcat/connectors-doc Like Tomcat 5.0 does. Think that Yoav is the guy to ask for... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat homepage
Hi, Please use the tomcat-user mailing list for this. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Ramin Bonakdar [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 10:11 AM To: Tomcat Developers List Subject: Tomcat homepage Hi Team, 1) I have deployed a web application under webapps folder called SBM folder. I have added this to my server.xml Host name=prosales debug=0 appBase=webapps unpackWARs=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=sbm. suffix=.log timestamp=true/ Context path= docBase=SBM debug=0 reloadable=true/ Context path=SBM docBase=SBM debug=0 reloadable=true/ /Host When I insert http://prosales:8080 the homepage of tomcat comes up instead of our login page I have also added this to my hosts file under C:\WINNT\system32\drivers\etc 127.0.0.1 localhost 127.0.0.1 prosales What is wrong? 2) on another machine, when I start Tomcat from cmd window, a second black window comes up and after 2 seconds it disappears. I cannot even start tomcat What is wrong? Thanks Ramin -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 4:06 PM To: Tomcat Developers List Subject: RE: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released Hi, I see Remy beat me to fixing project.xml on HEAD. I guess I only fixed it on the TOMCAT_5_0 branch and on the live site, so when releasing 5.5 we went back to the broken links (which are now fixed on the live site again). Sheesh... Yoav Shapira http://www.yoavshapira.com -Original Message- From: Shapira, Yoav Sent: Wednesday, December 08, 2004 10:01 AM To: Tomcat Developers List Subject: RE: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released Hi, Yeah, my bad, take a look now. I thought I'd fixed this in CVS and not just on the site, but will take another look. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 9:58 AM To: Tomcat Developers List Subject: Re: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released Allistair Crossley wrote: Cool. I've just gone to the Tomcat 5.5 docs and the link is broken for JK 1.2 http://jakarta.apache.org/tomcat/jk-1.2/ If you have the new link, I will patch the file. Well, they should all point to: http://jakarta.apache.org/tomcat/connectors-doc Like Tomcat 5.0 does. Think that Yoav is the guy to ask for... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- --- This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not
cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml
yoavs 2004/12/08 07:45:24 Modified:catalina/src/share/org/apache/catalina/authenticator Tag: TOMCAT_5_0 DigestAuthenticator.java webapps/docs Tag: TOMCAT_5_0 changelog.xml Log: Bugzilla 32502: memory leak in DigestAuthenticator. Revision ChangesPath No revision No revision 1.6.2.1 +1 -26 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java Index: DigestAuthenticator.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -u -r1.6 -r1.6.2.1 --- DigestAuthenticator.java 22 Apr 2004 21:48:32 - 1.6 +++ DigestAuthenticator.java 8 Dec 2004 15:45:24 - 1.6.2.1 @@ -112,28 +112,6 @@ /** - * No once hashtable. - */ -protected Hashtable nOnceTokens = new Hashtable(); - - -/** - * No once expiration (in millisecond). A shorter amount would mean a - * better security level (since the token is generated more often), but at - * the expense of a bigger server overhead. - */ -protected long nOnceTimeout = TIMEOUT_INFINITE; - - -/** - * No once expiration after a specified number of uses. A lower number - * would produce more overhead, since a token would have to be generated - * more often, but would be more secure. - */ -protected int nOnceUses = USE_ONCE; - - -/** * Private key. */ protected String key = Catalina; @@ -404,9 +382,6 @@ byte[] buffer = md5Helper.digest(nOnceValue.getBytes()); nOnceValue = md5Encoder.encode(buffer); - -// Updating the value in the no once hashtable -nOnceTokens.put(nOnceValue, new Long(currentTime + nOnceTimeout)); return nOnceValue; } No revision No revision 1.70.2.88 +3 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.70.2.87 retrieving revision 1.70.2.88 diff -u -r1.70.2.87 -r1.70.2.88 --- changelog.xml 3 Dec 2004 17:02:25 - 1.70.2.87 +++ changelog.xml 8 Dec 2004 15:45:24 - 1.70.2.88 @@ -34,6 +34,9 @@ subsection name=Catalina changelog + fix +bug32502/bug: Memory leak in DigestAuthenticator. (yoavs) + /fix /changelog /subsection - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Fwd: RE: Releasing JK1.2.7]
Original Message Subject: RE: Releasing JK1.2.7 Date: Wed, 8 Dec 2004 09:37:24 -0600 From: Marx, Mitchell E (Mitch) 1.2.7 beta 2 Tested fine on Solaris. Thanks. I wasn't sure how to append this in bugzilla Cool! Thanks for testing. BTW, you can create an 'wastable' account at yahoo or any other free email service for example to limit the spam. Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml
yoavs 2004/12/08 07:48:28 Modified:catalina/src/share/org/apache/catalina/authenticator DigestAuthenticator.java webapps/docs changelog.xml Log: Bugzilla 32502: memory leak in DigestAuthenticator. Revision ChangesPath 1.13 +1 -45 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java Index: DigestAuthenticator.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- DigestAuthenticator.java 12 Nov 2004 10:21:41 - 1.12 +++ DigestAuthenticator.java 8 Dec 2004 15:48:27 - 1.13 @@ -54,25 +54,6 @@ // -- Constants - -/** - * Indicates that no once tokens are used only once. - */ -protected static final int USE_ONCE = 1; - - -/** - * Indicates that no once tokens are used only once. - */ -protected static final int USE_NEVER_EXPIRES = Integer.MAX_VALUE; - - -/** - * Indicates that no once tokens are used only once. - */ -protected static final int TIMEOUT_INFINITE = Integer.MAX_VALUE; - - /** * The MD5 helper object for this class. */ @@ -111,28 +92,6 @@ /** - * No once hashtable. - */ -protected Hashtable nOnceTokens = new Hashtable(); - - -/** - * No once expiration (in millisecond). A shorter amount would mean a - * better security level (since the token is generated more often), but at - * the expense of a bigger server overhead. - */ -protected long nOnceTimeout = TIMEOUT_INFINITE; - - -/** - * No once expiration after a specified number of uses. A lower number - * would produce more overhead, since a token would have to be generated - * more often, but would be more secure. - */ -protected int nOnceUses = USE_ONCE; - - -/** * Private key. */ protected String key = Catalina; @@ -405,9 +364,6 @@ buffer = md5Helper.digest(nOnceValue.getBytes()); } nOnceValue = md5Encoder.encode(buffer); - -// Updating the value in the no once hashtable -nOnceTokens.put(nOnceValue, new Long(currentTime + nOnceTimeout)); return nOnceValue; } 1.198 +3 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.197 retrieving revision 1.198 diff -u -r1.197 -r1.198 --- changelog.xml 7 Dec 2004 17:05:43 - 1.197 +++ changelog.xml 8 Dec 2004 15:48:28 - 1.198 @@ -46,6 +46,9 @@ fix Decouple usage of the scheme and secure attributes from enabling SSL. (remm) /fix + fix +bug32502: memory leak in DigestAuthenticator. (yoavs) + /fix /changelog /subsection - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32502] - Memory leak in Digest Authentication
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32502. 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=32502 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 16:48 --- Fix committed (with additional clean ups) for Tomcat 5.0.31 and 5.5.6. Thanks for pointing this out. -- 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]
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator DigestAuthenticator.java
yoavs 2004/12/08 07:51:34 Modified:catalina/src/share/org/apache/catalina/authenticator Tag: TOMCAT_5_0 DigestAuthenticator.java Log: Minor additional cleanup of this class, unused constants. Revision ChangesPath No revision No revision 1.6.2.2 +1 -20 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java Index: DigestAuthenticator.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/DigestAuthenticator.java,v retrieving revision 1.6.2.1 retrieving revision 1.6.2.2 diff -u -r1.6.2.1 -r1.6.2.2 --- DigestAuthenticator.java 8 Dec 2004 15:45:24 - 1.6.2.1 +++ DigestAuthenticator.java 8 Dec 2004 15:51:34 - 1.6.2.2 @@ -55,25 +55,6 @@ // -- Constants - -/** - * Indicates that no once tokens are used only once. - */ -protected static final int USE_ONCE = 1; - - -/** - * Indicates that no once tokens are used only once. - */ -protected static final int USE_NEVER_EXPIRES = Integer.MAX_VALUE; - - -/** - * Indicates that no once tokens are used only once. - */ -protected static final int TIMEOUT_INFINITE = Integer.MAX_VALUE; - - /** * The MD5 helper object for this class. */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32569] - ServletContextListener will not die
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32569. 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=32569 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 17:13 --- I've verified the issue on Tomcat 5.0.28. Thanks for reporting it. -- 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 29780] - Why we need a jkMain static attibute?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29780. 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=29780 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 16:52 --- So what's the deal with this? Is it needed or not? JK2 is gone now, so if that was the reason for keepin this JkMain, the reason is no longer valid... -- 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 32569] - ServletContextListener will not die
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32569. 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=32569 [EMAIL PROTECTED] changed: What|Removed |Added OS/Version|Windows XP |All Version|5.0.28 |5.5.4 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 17:22 --- Verified also on Tomcat 5.5.5, with both JDK 1.4 and 5.0. Updating version accordingly. -- 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 32569] - ServletContextListener will not die
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32569. 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=32569 [EMAIL PROTECTED] changed: What|Removed |Added Version|5.5.4 |5.5.5 -- 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: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup Embedded.java
[EMAIL PROTECTED] wrote: yoavs 2004/12/08 06:35:58 Modified:catalina/src/share/org/apache/catalina/startup Tag: TOMCAT_5_0 Embedded.java Log: Updated JavaDoc to reflect the fact there's no longer a complete example in main(). I wish I knew that before I started to wire Tomcat into Geronimo ;) Jacek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml
yoavs 2004/12/08 08:40:43 Modified:webapps/docs changelog.xml Log: Typo. Revision ChangesPath 1.199 +1 -1 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.198 retrieving revision 1.199 diff -u -r1.198 -r1.199 --- changelog.xml 8 Dec 2004 15:48:28 - 1.198 +++ changelog.xml 8 Dec 2004 16:40:43 - 1.199 @@ -47,7 +47,7 @@ Decouple usage of the scheme and secure attributes from enabling SSL. (remm) /fix fix -bug32502: memory leak in DigestAuthenticator. (yoavs) +bug32502/bug: memory leak in DigestAuthenticator. (yoavs) /fix /changelog /subsection - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup Embedded.java
Hi, Well, Catalina.java extends Embedded and does contain a complete working example. It's every bit as useful as the one in Embedded.java was. Nonetheless, you're right that the JavaDoc update was overdue. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Jacek Laskowski [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 11:38 AM To: Tomcat Developers List Subject: Re: cvs commit: jakarta-tomcat- catalina/catalina/src/share/org/apache/catalina/startup Embedded.java [EMAIL PROTECTED] wrote: yoavs 2004/12/08 06:35:58 Modified:catalina/src/share/org/apache/catalina/startup Tag: TOMCAT_5_0 Embedded.java Log: Updated JavaDoc to reflect the fact there's no longer a complete example in main(). I wish I knew that before I started to wire Tomcat into Geronimo ;) Jacek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32569] - ServletContextListener will not die
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32569. 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=32569 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 17:58 --- Further testing with 5.5.5: the context is being stopped and destryoed, its applicationLifecycleListeners nulled out. That's all good. Then the new context is started, and its addApplicationListener(String listener) method is NOT called, which is also correct, becasue there's now no listener in web.xml. So there must be a reference kept somewhere to the old listener that's not remove when the context is stopped. -- 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 32589] New: - getter Exception where setter has the wrong signature
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32589. 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=32589 Summary: getter Exception where setter has the wrong signature Product: Tomcat 5 Version: 5.5.4 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Servlet JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I defined a bean with a getter that return a type A and with a setter with the same suffix but the signature doesn't take an argument of type A. It seems that the getter cannot be called with a el expression any more with tomcat5.5. It worked fine with tomcat5.0. I noticed the same thing with a bean with two getters (the method getBar()). I found a workaround but I'd like to know if it is a real bug or if my bean doesn't respect the el documentation. Thanks in advance ! Fabrice. This jsp : - %@ taglib uri=/tags/struts-bean prefix=bean %%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % % net.witbe.business.Foo fa = new net.witbe.business.Foo(); request.setAttribute(FooAttribute,fa); % The foo string is @${FooAttribute.foo}@ - calling this bean : - package net.witbe.business; public class Foo { public long getFoo() { return 1; } public void setFoo(int bh,long countm) { // nop } public long getBar() { return 5; } public long getBar(int num) { return 6; } } - provoque an Exception : - exception javax.servlet.ServletException: Unable to find a value for foo in object of class net.witbe.business.Foo using operator . org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:845) ... cause mère javax.servlet.jsp.el.ELException: Unable to find a value for foo in object of class net.witbe.business.Foo using operator . org.apache.commons.el.Logger.logError(Logger.java:481) org.apache.commons.el.Logger.logError(Logger.java:498) ... - Fabrice. -- 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 32589] - getter Exception where setter has the wrong signature
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32589. 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=32589 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 18:10 --- Thanks for the obligatory killer argument It worked fine with tomcat5.0., which, given the implementation details, makes your bug report probably invalid. Please provide a ready to test war if you'd like us to examine this further. -- 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 32569] - ServletContextListener will not die
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32569. 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=32569 [EMAIL PROTECTED] changed: What|Removed |Added Platform|PC |All -- 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 32569] - ServletContextListener will not die
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32569. 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=32569 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 18:14 --- But the setApplicationLifecycleListeners method IS called, with an array containing the commented-out listener. -- 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]
FIXMEs in PersistentManagerBase
I have dire need to use PersistentManager, which is experimental at this time. Looking in the source, I note 2 FIXME comments -- one of which seems to clearly indicate a race condition. It actually occurs twice (though the comment only occurs once) but the code in both cases looks similar to: // Swap out all sessions idle longer than maxIdleSwap // FIXME: What's preventing us from mangling a session during // a request? if (maxIdleSwap = 0) { for (int i = 0; i sessions.length; i++) { StandardSession session = (StandardSession) sessions[i]; if (!session.isValid()) continue; int timeIdle = // Truncate, do not round up (int) ((timeNow - session.getLastAccessedTime()) / 1000L); if (timeIdle maxIdleSwap timeIdle minIdleSwap) { if (log.isDebugEnabled()) log.debug(sm.getString (persistentManager.swapMaxIdle, session.getId(), new Integer(timeIdle))); try { swapOut(session); } catch (IOException e) { ; // This is logged in writeSession() } } } } Does anyone have any brilliant ideas/suggestions on how this condition should be resolved? I'm digging around, but my experience with all of the pieces involved is rather limited. -- Jess Holle
DO NOT REPLY [Bug 29780] - Why we need a jkMain static attibute?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29780. 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=29780 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 18:28 --- (In reply to comment #5) So what's the deal with this? Is it needed or not? JK2 is gone now, so if that was the reason for keepin this JkMain, the reason is no longer valid... If you and Peter want to refactor the Jk-Coyote Connector, by all means knock yourselves out. -- 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 29780] - Why we need a jkMain static attibute?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29780. 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=29780 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 18:33 --- I don't want to refactor anything, I just want to establish whether this Bugzilla issue still has merit or is pointless... -- 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 32377] - MX4J has race condition
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32377. 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=32377 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 18:34 --- (In reply to comment #4) I used the mx4j-jmx.jar from the current mx4j distribution, but it did not work, because you seem to add some classes from mx4j.jar into your mx4j-jmx.jar. If you use the mx4j-jmx.jar from the mx4j-project you'll get a java.lang.NoClassDefFoundError: mx4j/log/Log even the current mx4j-2.0.1-2jpp.noarch.rpm causes this probem with tomcat4. Tomcat4 won't even start now. -- 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 32377] - MX4J has race condition
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32377. 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=32377 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 18:38 --- IF you reopen this issue (WASTE OF TIME), then change the component to the right version, e.g. Tomcat 4 for your case. -- 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 32591] New: - getter Exception where setter has the wrong signature
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32591. 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=32591 Summary: getter Exception where setter has the wrong signature Product: Tomcat 5 Version: 5.5.4 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Servlet JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I defined a bean with a getter that return a type A and with a setter with the same suffix but the signature doesn't take an argument of type A. It seems that the getter cannot be called with a el expression any more with tomcat5.5. It worked fine with tomcat5.0. I noticed the same thing with a bean with two getters (the method getBar()). I found a workaround but I'd like to know if it is a real bug or if my bean doesn't respect the el documentation. Thanks in advance ! Fabrice. This jsp : - %@ taglib uri=/tags/struts-bean prefix=bean %%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % % net.witbe.business.Foo fa = new net.witbe.business.Foo(); request.setAttribute(FooAttribute,fa); % The foo string is @${FooAttribute.foo}@ - calling this bean : - package net.witbe.business; public class Foo { public long getFoo() { return 1; } public void setFoo(int bh,long countm) { // nop } public long getBar() { return 5; } public long getBar(int num) { return 6; } } - provoque an Exception : - exception javax.servlet.ServletException: Unable to find a value for foo in object of class net.witbe.business.Foo using operator . org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:845) ... cause mère javax.servlet.jsp.el.ELException: Unable to find a value for foo in object of class net.witbe.business.Foo using operator . org.apache.commons.el.Logger.logError(Logger.java:481) org.apache.commons.el.Logger.logError(Logger.java:498) ... - Fabrice. -- 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 32589] - getter Exception where setter has the wrong signature
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32589. 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=32589 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 18:43 --- *** Bug 32591 has been marked as a duplicate of this bug. *** -- 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 32591] - getter Exception where setter has the wrong signature
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32591. 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=32591 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 18:43 --- *** This bug has been marked as a duplicate of 32589 *** -- 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 32585] - Unknown file size
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32585. 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=32585 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 18:44 --- This looks like the mirror of 30152. The fix should be similar. -- 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 32591] - getter Exception where setter has the wrong signature
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32591. 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=32591 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 18:52 --- Created an attachment (id=13684) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=13684action=view) The war with the bug. The URL to test is : http://localhost:8080/minimal/foo.jsp Fabrice. -- 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 32589] - getter Exception where setter has the wrong signature
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32589. 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=32589 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 18:54 --- Created an attachment (id=13685) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=13685action=view) The war with the bug. The URL to call is : http://localhost:8080/minimal/foo.jsp Fabrice. -- 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 32585] - Unknown file size
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32585. 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=32585 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 19:42 --- I am not familer with HTTP PUT semantics, so I am not sure its the same. I used HTTP GET. this bug is supposengly fixed in newer versions? -- 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 28709] - javax.servlet.http.HttpServletRequest.isRequestedSessionIdValid() returns true for an invalidated session!
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28709. 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=28709 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 20:02 --- Fixed by implementing org.apache.catalina.core.ApplicationHttpRequest.isRequestedSessionIdValid() to check the request's session id (if any) against the session manager of the context associated with the ApplicationHttpRequest (wrapper), which may be different from the context of the nested request (it will be different if the request was dispatched into a foreign context). -- 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 28709] - javax.servlet.http.HttpServletRequest.isRequestedSessionIdValid() returns true for an invalidated session!
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28709. 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=28709 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 20:02 --- Fixed by implementing org.apache.catalina.core.ApplicationHttpRequest.isRequestedSessionIdValid() to check the request's session id (if any) against the session manager of the context associated with the ApplicationHttpRequest (wrapper), which may be different from the context of the nested request (it will be different if the request was dispatched into a foreign context). -- 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]
cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml
luehe 2004/12/08 11:15:30 Modified:webapps/docs changelog.xml Log: Updated with fix for 28709 Revision ChangesPath 1.200 +3 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.199 retrieving revision 1.200 diff -u -r1.199 -r1.200 --- changelog.xml 8 Dec 2004 16:40:43 - 1.199 +++ changelog.xml 8 Dec 2004 19:15:30 - 1.200 @@ -49,6 +49,9 @@ fix bug32502/bug: memory leak in DigestAuthenticator. (yoavs) /fix + fix +bug28709/bug: javax.servlet.http.HttpServletRequest.isRequestedSessionIdValid() returns true for an invalidated session. (luehe) + /fix /changelog /subsection - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 28039] - Cluster Support for SingleSignOn
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28039. 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=28039 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 21:25 --- Ping to Filip: still feel like to doing this one? -- 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 28039] - Cluster Support for SingleSignOn
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28039. 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=28039 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 21:36 --- I just added it to the todo list, but no I have no timeframe mind of when this could be reality -- 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]
cvs commit: jakarta-tomcat-catalina/modules/cluster to-do.txt
fhanik 2004/12/08 12:39:14 Modified:modules/cluster to-do.txt Log: Single sign on to do item Revision ChangesPath 1.7 +1 -1 jakarta-tomcat-catalina/modules/cluster/to-do.txt Index: to-do.txt === RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/to-do.txt,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- to-do.txt 1 Dec 2004 09:45:36 - 1.6 +++ to-do.txt 8 Dec 2004 20:39:14 - 1.7 @@ -35,4 +35,4 @@ pero: Why different defaults from notifyListenersOnReplication at SimpleTcpCluster and DeltaManager exists? COMPLETED - +10. Add single sign on support - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Lost with sources in CVS
Hi, Ok, I'm a newbie in the Tomcat development area, but not in java or CVS, and I don't understand anything of what's it like in Tomcat. I downloaded the whole thing and ran the ant build. And now I find the same java sources in what the hell is this locations, js152, j152, catalina, build or whatever. I find sources in directory path's without the proper package, usually tests, Clock2 applets or contributions. I will probably be my lesser understanding, but I have no idea how to work in these sources. Which is the real source, will it be overwritten after an update and build (because I suspect the build directory is written out each time) ? Could anyone for instance tell me where I have to work in sources if I want to make a change in the servlet response (I just want that and I will do it, no discussion please..) I may be blunt, but TMHO the source and developmant environment is a mess ... Sorry I have to say this KR, Hans
RE: Lost with sources in CVS
Hi, That's OK, don't feel bad asking questions ;) And don't feel bad when people say you're clueless if you say it's a mess ;) For Tomcat 5, Tomcat's source is divided into several CVS modules. These are jakarta-tomcat-5, jakarta-tomcat-catalina, jakarta-tomcat-connectors, jakarta-tomcat-jasper, and jakarta-servletapi-5. The last one in the previous list contains the Servlet API classes, so if you want to change the HttpServletResponse interface, that's where you would start. The build script does checkouts as needed, both for Tomcat's own source (the above CVS modules) and dependencies as listed in the build.properties.default file. The checkouts don't use the CVS -C switch, so they won't override any changes you've made. As to your build directory question, you should try it instead of ranting. You'll find the build script fairly intelligent in not removing your changes. Of course, if you run the clean Ant target, the directory will be cleaned out. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Hans Verschoor [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 3:41 PM To: [EMAIL PROTECTED] Subject: Lost with sources in CVS Hi, Ok, I'm a newbie in the Tomcat development area, but not in java or CVS, and I don't understand anything of what's it like in Tomcat. I downloaded the whole thing and ran the ant build. And now I find the same java sources in what the hell is this locations, js152, j152, catalina, build or whatever. I find sources in directory path's without the proper package, usually tests, Clock2 applets or contributions. I will probably be my lesser understanding, but I have no idea how to work in these sources. Which is the real source, will it be overwritten after an update and build (because I suspect the build directory is written out each time) ? Could anyone for instance tell me where I have to work in sources if I want to make a change in the servlet response (I just want that and I will do it, no discussion please..) I may be blunt, but TMHO the source and developmant environment is a mess ... Sorry I have to say this KR, Hans This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32137] - Random 401 responses for Digest - DigestAuthenticator thread un-safe use of MessageDigest
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32137. 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=32137 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | -- 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 32137] - Random 401 responses for Digest - DigestAuthenticator thread un-safe use of MessageDigest
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32137. 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=32137 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 22:28 --- Checked nightly build and there are other places where this bug could rear it's ugly head: 1. RealmBase 2. org.apache.catalina.servlets.WebdavServlet -- 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 32137] - Random 401 responses for Digest - DigestAuthenticator thread un-safe use of MessageDigest
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32137. 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=32137 --- Additional Comments From [EMAIL PROTECTED] 2004-12-08 22:29 --- Created an attachment (id=13686) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=13686action=view) RealmBase 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]
Lost with sources in CVS
Hi Yoav It that so ? Well ,for instance, this is what I *find*: server:/usr/src/tomcat/5-5-4# find . -name HttpServletResponse.java gives me: ./build/servlet-api-2.4/src/javax/servlet/http/HttpServletResponse.java ./jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpServletResponse.java ./jakarta-servletapi-5/jsr154/dist/src/javax/servlet/http/HttpServletResponse.java OK, which of the 3 ? If I find implementing *Response classes there is quite a list .. server:/usr/src/tomcat/5-5-4# find . -name *Response.java ./build/servlet-api-2.4/src/javax/servlet/http/HttpServletResponse.java ./build/servlet-api-2.4/src/javax/servlet/ServletResponse.java ./jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpServletResponse.java ./jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletResponse.java ./jakarta-servletapi-5/jsr154/dist/src/javax/servlet/http/HttpServletResponse.java ./jakarta-servletapi-5/jsr154/dist/src/javax/servlet/ServletResponse.java ./jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationResponse.java ./jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationHttpResponse.java ./jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/DummyResponse.java ./jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Response.java ./jakarta-tomcat-catalina/tester/src/tester/org/apache/tester/UpperCaseResponse.java ./jakarta-tomcat-catalina/tester/src/tester/org/apache/tester/CharArrayResponse.java ./jakarta-tomcat-connectors/jk/java/org/apache/ajp/tomcat4/Ajp13Response.java ./jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/Tomcat3Response.java ./jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java ./jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Response.java ./jakarta-tomcat-connectors/webapp/java/org/apache/catalina/connector/warp/WarpResponse.java KR, Hans - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 9:55 PM Subject: RE: Lost with sources in CVS Hi, That's OK, don't feel bad asking questions ;) And don't feel bad when people say you're clueless if you say it's a mess ;) For Tomcat 5, Tomcat's source is divided into several CVS modules. These are jakarta-tomcat-5, jakarta-tomcat-catalina, jakarta-tomcat-connectors, jakarta-tomcat-jasper, and jakarta-servletapi-5. The last one in the previous list contains the Servlet API classes, so if you want to change the HttpServletResponse interface, that's where you would start. The build script does checkouts as needed, both for Tomcat's own source (the above CVS modules) and dependencies as listed in the build.properties.default file. The checkouts don't use the CVS -C switch, so they won't override any changes you've made. As to your build directory question, you should try it instead of ranting. You'll find the build script fairly intelligent in not removing your changes. Of course, if you run the clean Ant target, the directory will be cleaned out. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Hans Verschoor [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 3:41 PM To: [EMAIL PROTECTED] Subject: Lost with sources in CVS Hi, Ok, I'm a newbie in the Tomcat development area, but not in java or CVS, and I don't understand anything of what's it like in Tomcat. I downloaded the whole thing and ran the ant build. And now I find the same java sources in what the hell is this locations, js152, j152, catalina, build or whatever. I find sources in directory path's without the proper package, usually tests, Clock2 applets or contributions. I will probably be my lesser understanding, but I have no idea how to work in these sources. Which is the real source, will it be overwritten after an update and build (because I suspect the build directory is written out each time) ? Could anyone for instance tell me where I have to work in sources if I want to make a change in the servlet response (I just want that and I will do it, no discussion please..) I may be blunt, but TMHO the source and developmant environment is a mess ... Sorry I have to say this KR, Hans
Re: FIXMEs in PersistentManagerBase
Just a shot in the dark here, but what if: 1. We synchronize on 'session' for the bulk of the 'for' loop. 2. We make StandardSession.access() synchronized * I'd really like to avoid (2), but I don't see a really good alternative. 3. We fix the other FIXME regarding LRU by creating a treemap sorting by access time and then just walk over values(). * I'd really like to actually just keep a doubly linked list in the manager and bump sessions to the front of this in StandardSession, but I'm not sure if doing this in access() would suffice. Suggestion would be appreciated! -- Jess Holle Jess Holle wrote: I have dire need to use PersistentManager, which is experimental at this time. Looking in the source, I note 2 FIXME comments -- one of which seems to clearly indicate a race condition. It actually occurs twice (though the comment only occurs once) but the code in both cases looks similar to: // Swap out all sessions idle longer than maxIdleSwap // FIXME: What's preventing us from mangling a session during // a request? if (maxIdleSwap = 0) { for (int i = 0; i sessions.length; i++) { StandardSession session = (StandardSession) sessions[i]; if (!session.isValid()) continue; int timeIdle = // Truncate, do not round up (int) ((timeNow - session.getLastAccessedTime()) / 1000L); if (timeIdle maxIdleSwap timeIdle minIdleSwap) { if (log.isDebugEnabled()) log.debug(sm.getString (persistentManager.swapMaxIdle, session.getId(), new Integer(timeIdle))); try { swapOut(session); } catch (IOException e) { ; // This is logged in writeSession() } } } } Does anyone have any brilliant ideas/suggestions on how this condition should be resolved? I'm digging around, but my experience with all of the pieces involved is rather limited. -- Jess Holle
DO NOT REPLY [Bug 32593] New: - Server (Apache 2.0.48) reached MaxClients setting on FreeBSD
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32593. 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=32593 Summary: Server (Apache 2.0.48) reached MaxClients setting on FreeBSD Product: Tomcat 5 Version: 5.0.25 Platform: PC OS/Version: FreeBSD Status: NEW Severity: major Priority: P2 Component: Connector:AJP AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] hi, my apache 2.0.48 is setup to access the tomcat 5.0.25 over ajp13 using mod_jk/1.2.2 on FreeBSD/i386. lately i have the issue of my apache reaching maxclients. After working with the apache folks, (Bug 32239 - http://issues.apache.org/bugzilla/show_bug.cgi?id=32239#c19), we figured out that there are child processes waiting in mod_jk indefinetely for a response from Tomcat. They suggested I talk to you guys to see if you can help to show a way to find out what the tomcat is busy doing at the time (without getting a java core dump). I will attach the output from apache's mod_status and a backtrace for a waiting process. if you require any additional information please let me know. thnks in adv n rgds, -kc. -- 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 32593] - Server (Apache 2.0.48) reached MaxClients setting on FreeBSD
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32593. 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=32593 --- Additional Comments From [EMAIL PROTECTED] 2004-12-09 03:41 --- Created an attachment (id=13692) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=13692action=view) apache mod_status output -- 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 32593] - Server (Apache 2.0.48) reached MaxClients setting on FreeBSD
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32593. 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=32593 --- Additional Comments From [EMAIL PROTECTED] 2004-12-09 03:42 --- Created an attachment (id=13693) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=13693action=view) backtrace for child process -- 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 32593] - Server (Apache 2.0.48) reached MaxClients setting on FreeBSD
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32593. 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=32593 --- Additional Comments From [EMAIL PROTECTED] 2004-12-09 07:42 --- Can you use more recent mod_jk versions like mod_jk 1.2.6 for example. It would be great to use and test the new 1.2.7-beta-2. -- 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]