Tomcat not able to access folder which is in virtual drive
Hi, I am developing a project wherein it reads log files from virtual drive. I have created the project in eclipse and it is working perfectly fine using tomcat and reads the log files, but the issue which i am facing is when i create a WAR file and deploy it on tomcat it is unable to access the virtual drive! And when i change the drive location to say c: or d: then i can see the logs,cant figure out whats d problem for last 2days!!Please reply as soon as possible. Thanx. Regards, Ganesh Sabbani - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r924663 - /tomcat/native/trunk/xdocs/miscellaneous/changelog-1.1.x.xml
Author: kkolinko Date: Thu Mar 18 07:55:56 2010 New Revision: 924663 URL: http://svn.apache.org/viewvc?rev=924663view=rev Log: set svn:eol-style Modified: tomcat/native/trunk/xdocs/miscellaneous/changelog-1.1.x.xml (props changed) Propchange: tomcat/native/trunk/xdocs/miscellaneous/changelog-1.1.x.xml -- svn:eol-style = native - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat not able to access folder which is in virtual drive
Your question is off-topic here. Usage questions should be send to the tomcat-users list. Please read: http://tomcat.apache.org/lists.html http://www.catb.org/~esr/faqs/smart-questions.html Do not forget to provide all relevant information. That includes the *text* of any error messages that you are seeing and also description of your configuration, including your OS and your exact Tomcat version, etc.. As of now, your question does not provide any details. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48933] New: Client certificate gone after 1 minute timeout (SSL, APR)
https://issues.apache.org/bugzilla/show_bug.cgi?id=48933 Summary: Client certificate gone after 1 minute timeout (SSL, APR) Product: Tomcat 6 Version: 6.0.26 Platform: Macintosh OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: Native:Integration AssignedTo: dev@tomcat.apache.org ReportedBy: altum...@gmail.com I'm chasing a strange problem with Tomcat + SSL + APR + Firefox. Namely, the setup works perfectly (i.e. the client certificate is sent and the servlet application can get it). But if I allow the SSL connection to time out (it happens 1 minute after the last request), the servlet application does not get the client certificate anymore. The workaround (for user) is to clear Firefox cache (Tools - Clear Recent History - 1 hour, Active logins). After this, the application will work again until the next timeout. This problem does NOT occur if I use pure Java SSL config (no APR) or when I use browser other that Firefox. From that you can imply that this might be a Firefox problem, but I'm not so sure. Firefox works perfectly with all other HTTPS sites and also pure Java SSL config works with Firefox. So obviously this problem occurs because Tomcat libnative fails to handle some peculiarities of Firefox SSL packets. Here is my exact setup: - Debian 5 (Lenny) - libapr1 1.2.12-5+lenny1 - openssl 0.9.8g-15+lenny6 - Tomcat 6.0.26 with tomcat-native-1.1.20 - server authentication certificates (newcert.pem, newkey-no-password.pem) - client authentication certificates (ca.pem and a personal certificate client1.p12) - a simple servlet ssltest to get the client cert: writer.println(Arrays.deepToString((X509Certificate[]) request.getAttribute(javax.servlet.request.X509Certificate))); - Firefox 3.6 The only change in server.xml is the connector conf: Connector port=8443 SSLEnabled=true maxThreads=150 scheme=https secure=true SSLCertificateFile=${user.home}/newcert.pem SSLCertificateKeyFile=${user.home}/newkey-no-password.pem SSLVerifyClient=require SSLVerifyDepth=2 SSLCACertificateFile=${user.home}/ssl/ca.pem / And installed ssltest.war into webapps. Now steps to reproduce: 1) import client1.p12 into browser 2) go to https://localhost:8443/ssltest, it will show the client certificate 3) wait 1 minute 4) refresh browser - the application will not get the client certificate (request.getAttribute(javax.servlet.request.X509Certificate) returns null) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r924686 - /tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
Author: markt Date: Thu Mar 18 10:25:04 2010 New Revision: 924686 URL: http://svn.apache.org/viewvc?rev=924686view=rev Log: Use better variable name. Modified: tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java?rev=924686r1=924685r2=924686view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java Thu Mar 18 10:25:04 2010 @@ -468,20 +468,20 @@ public class JSSESocketFactory } else { sessionCacheSize = defaultSessionCacheSize; } -int sessionCacheTimeout; +int sessionTimeout; if (attributes.get( AbstractEndpoint.SSL_ATTR_SESSION_TIMEOUT) != null) { -sessionCacheTimeout = Integer.parseInt( +sessionTimeout = Integer.parseInt( (String)attributes.get( AbstractEndpoint.SSL_ATTR_SESSION_TIMEOUT)); } else { -sessionCacheTimeout = defaultSessionTimeout; +sessionTimeout = defaultSessionTimeout; } SSLSessionContext sessionContext = context.getServerSessionContext(); if (sessionContext != null) { sessionContext.setSessionCacheSize(sessionCacheSize); -sessionContext.setSessionTimeout(sessionCacheTimeout); +sessionContext.setSessionTimeout(sessionTimeout); } // create proxy - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48933] Client certificate gone after 1 minute timeout (SSL, APR)
https://issues.apache.org/bugzilla/show_bug.cgi?id=48933 --- Comment #1 from Albert Tumanov altum...@gmail.com 2010-03-18 10:26:30 UTC --- Created an attachment (id=25143) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=25143) Certificates All passwords are changeit -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48933] Client certificate gone after 1 minute timeout (SSL, APR)
https://issues.apache.org/bugzilla/show_bug.cgi?id=48933 Albert Tumanov altum...@gmail.com changed: What|Removed |Added Attachment #25143|Certificates|Certificates (All passwords description||are changeit) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48933] Client certificate gone after 1 minute timeout (SSL, APR)
https://issues.apache.org/bugzilla/show_bug.cgi?id=48933 --- Comment #2 from Albert Tumanov altum...@gmail.com 2010-03-18 10:30:31 UTC --- Created an attachment (id=25144) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=25144) Test application -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48933] Client certificate gone after 1 minute timeout (SSL, APR)
https://issues.apache.org/bugzilla/show_bug.cgi?id=48933 --- Comment #3 from Albert Tumanov altum...@gmail.com 2010-03-18 10:34:11 UTC --- Created an attachment (id=25145) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=25145) Test application source -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r924692 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: markt Date: Thu Mar 18 10:39:22 2010 New Revision: 924692 URL: http://svn.apache.org/viewvc?rev=924692view=rev Log: (empty) 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=924692r1=924691r2=924692view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Mar 18 10:39:22 2010 @@ -229,3 +229,7 @@ PATCHES PROPOSED TO BACKPORT: +1: kkolinko -1: +* Correct SSL session timeout attribute name + http://people.apache.org/~markt/patches/2010-03-18-SslSessionTimeout.patch + +1: markt + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48933] Client certificate gone after 1 minute timeout (SSL, APR)
https://issues.apache.org/bugzilla/show_bug.cgi?id=48933 --- Comment #4 from Albert Tumanov altum...@gmail.com 2010-03-18 10:39:48 UTC --- For testing, I was using ssltap: ssltap -sxlp 18443 localdebian:8443 The URL will then be https://localhost:18443/ssltest From the ssltap log I can see that after 1 minute since the last request I get EOF: Read EOF on Server socket. [Thu Mar 18 12:15:52 2010] Read EOF on Client socket. [Thu Mar 18 12:16:00 2010] and after that the problem will occur. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48934] New: Cluster's regression. When replication fails once, replication can be never done again.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48934 Summary: Cluster's regression. When replication fails once, replication can be never done again. Product: Tomcat 6 Version: 6.0.26 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: Cluster AssignedTo: dev@tomcat.apache.org ReportedBy: fujino.keii...@oss.ntt.co.jp I found cluster's regression in Tomcat6.0.26. The reproduction is as follows. = The cluster is composed of tomcat1 and tomcat2. (Transport className is org.apache.catalina.tribes.transport.nio.PooledParallelSender. Perhaps, I think PooledMultiSender to be the same. ) Tomcat2 is stopped during session replication. As a result, Session replication failed and ChannelException is thrown. Tomcat2 restart. Session replication again. As a result, following exception is thrown. org.apache.catalina.tribes.ChannelException: Sender not connected.; No faulty members identified. = The cause is http://svn.apache.org/viewvc?view=revisionrevision=908741 When replication fails, sender is disconnected by this fix. The disconnect method is as follows in PooledParallelSender. === public synchronized void disconnect() { this.connected = false; super.disconnect(); } === this.connected is set to false, and super.disconnect() is called. In super.disconnect(), the queue is closed. I think. if connected is set to false once, it never becomes true again. and if queue is closed once, it never opened again. It is only ReplicationTransmitter#start to be able to set connected to true. It is also the same to open the queue. As a result, when replication fails once, replication can be never done again. I do not know the reason why r908741 is applied. However, if ChannelException is thrown once, it becomes impossible to use all Sender. This is not good thing. Can revert r908741 ? If it is not possible, what is the reason for the r908741? Best regards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Patch for better support of Unified EL 2.2
Please review this patch for inclusion in trunk. Basically it replaces direct calls to org.apache.el.ExpressionFactoryImpl to ExpressionFactory.newInstance(). And Tomcat implementation of el-api is modified to add ExpressionFactory.newInstance() method which do it old way. With this patch, is it easy to globally switch to different implementation of Expression Language. For instance for JSF2, you don`t need to specify context-param param-namecom.sun.faces.expressionFactory/param-name param-valuecom.sun.el.ExpressionFactoryImpl/param-value /context-param which is awkward and ties to specific implementation. More info: http://huksley.sdot.ru/141/tomcat-and-unified-e22.html With kindest personal regards, Ruslan Gainutdinov rusla...@gmail.com - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Patch for better support of Unified EL 2.2
2010/3/18 Ruslan Gainutdinov rusla...@gmail.com: Please review this patch for inclusion in trunk. Your attachment is lost. Please create a Bugzilla entry for Tomcat 7 and attach it there, though I cannot comment on whether it will be applied or not. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r924776 - in /tomcat/trunk/java/org/apache/catalina/tribes/transport: ReplicationTransmitter.java nio/PooledParallelSender.java
Author: fhanik Date: Thu Mar 18 13:54:27 2010 New Revision: 924776 URL: http://svn.apache.org/viewvc?rev=924776view=rev Log: https://issues.apache.org/bugzilla/show_bug.cgi?id=48934 The wrong sender was disconnected, should only be the sender holding the actual TCP connections. Modified: tomcat/trunk/java/org/apache/catalina/tribes/transport/ReplicationTransmitter.java tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/PooledParallelSender.java Modified: tomcat/trunk/java/org/apache/catalina/tribes/transport/ReplicationTransmitter.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/transport/ReplicationTransmitter.java?rev=924776r1=924775r2=924776view=diff == --- tomcat/trunk/java/org/apache/catalina/tribes/transport/ReplicationTransmitter.java (original) +++ tomcat/trunk/java/org/apache/catalina/tribes/transport/ReplicationTransmitter.java Thu Mar 18 13:54:27 2010 @@ -76,12 +76,7 @@ public class ReplicationTransmitter impl */ public void sendMessage(ChannelMessage message, Member[] destination) throws ChannelException { MultiPointSender sender = getTransport(); -try { -sender.sendMessage(destination,message); -}catch (ChannelException x) { -sender.disconnect(); -throw x; -} +sender.sendMessage(destination,message); } Modified: tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/PooledParallelSender.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/PooledParallelSender.java?rev=924776r1=924775r2=924776view=diff == --- tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/PooledParallelSender.java (original) +++ tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/PooledParallelSender.java Thu Mar 18 13:54:27 2010 @@ -52,9 +52,12 @@ public class PooledParallelSender extend try { sender.sendMessage(destination, message); sender.keepalive(); +} catch (ChannelException x) { +sender.disconnect(); +throw x; } finally { -if (!connected) disconnect(); returnSender(sender); +if (!connected) disconnect(); } } } - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48934] Cluster's regression. When replication fails once, replication can be never done again.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48934 --- Comment #1 from Filip Hanik fha...@apache.org 2010-03-18 13:56:35 UTC --- Created an attachment (id=25146) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=25146) Bug fix Dear Fujino, as always you are right. The intended fix was to close sockets that were potentially left in a CLOSE_WAIT state when something went wrong. But instead of closing the actual sender that holds the TCP sockets, I accidentally closed the entire sender system -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r924778 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: fhanik Date: Thu Mar 18 14:01:27 2010 New Revision: 924778 URL: http://svn.apache.org/viewvc?rev=924778view=rev Log: proposal 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=924778r1=924777r2=924778view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Mar 18 14:01:27 2010 @@ -233,3 +233,11 @@ PATCHES PROPOSED TO BACKPORT: http://people.apache.org/~markt/patches/2010-03-18-SslSessionTimeout.patch +1: markt -1: + +* Fix cluster regression, previous incorrect patch + http://svn.apache.org/viewvc?rev=924776view=rev + https://issues.apache.org/bugzilla/show_bug.cgi?id=48934 + +1: fhanik + -1: + + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48935] New: Eviction thread trouble
https://issues.apache.org/bugzilla/show_bug.cgi?id=48935 Summary: Eviction thread trouble Product: Tomcat 6 Version: 6.0.26 Platform: PC OS/Version: Windows Vista Status: NEW Severity: normal Priority: P2 Component: Modules: jdbc-pool AssignedTo: dev@tomcat.apache.org ReportedBy: p.u.timo...@gmail.com When I reinit my application, tomcat throws the message: SEVERE: A web application appears to have started a TimerThread named [Timer-0] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly cancelled. Timer-0 thread is created if the param timeBetweenEvictionRunsMillis is added to the Resource tag. Otherwise, it is not created. Resource auth=Container driverClassName=oracle.jdbc.OracleDriver maxActive=2 maxIdle=2 maxWait=1 timeBetweenEvictionRunsMillis=60 name=jdbc/xxxConnection password=xxx_xxx testOnBorrow=true type=javax.sql.DataSource url=jdbc:oracle:thin:@//X.X.X.X:1521/xx username=xxx validationQuery=SELECT 1 FROM DUAL/ {jdk:1.6.0_18,tomcat:6.0.26,commons-dbcp:1.2.2} -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48935] Eviction thread trouble
https://issues.apache.org/bugzilla/show_bug.cgi?id=48935 Filip Hanik fha...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #1 from Filip Hanik fha...@apache.org 2010-03-18 15:22:37 UTC --- It's your job to close connections pools http://markmail.org/message/rl64trmptgivqptn -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 45995] RFE - MIME type extension not case sensitive
https://issues.apache.org/bugzilla/show_bug.cgi?id=45995 Tim Bain tb...@alumni.duke.edu changed: What|Removed |Added CC||tb...@alumni.duke.edu -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Tomcat at the next ApacheCon
Hi, We all want to see a Tomcat track at the ApacheConNA2010, don't we? I have created a wiki page to collect the presentation proposals. Fell free to add the stuff you would like to present at the ApacheCon. The tomcat PMC will review it and then propose it to the planners of conference. Note we have until the Sunday, March 21st to collect that information. Cheers Jean-Frederic - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat at the next ApacheCon
On 03/18/2010 05:00 PM, jean-frederic clere wrote: Note we have until the Sunday, March 21st to collect that information. I'm always amazed with the fact that each conference planner need your proposals by yesterday. Regards -- ^TM - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of TomcatTrackNA10_PMC_Sessions by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on Tomcat Wiki for change notification. The TomcatTrackNA10_PMC_Sessions page has been changed by JeanFredericClere. http://wiki.apache.org/tomcat/TomcatTrackNA10_PMC_Sessions?action=diffrev1=2rev2=3 -- PRESENTER BIO. + mod_jk / mod_proxy and others: Front-ends of Tomcat Clusters. + Tomcat is often used as a cluster and/or is the back-end server of a front-end reserve proxy. + Several front-end can be used, mod_jk, mod_proxy, mod_serf and mod_cluster, quick presentation of each of them, featuring: loadbalancing, failover, QoS etc. Traffic Server will be presented too. + + By Jean-Frederic Clere: + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat at the next ApacheCon
On 3/18/2010 11:00 AM, jean-frederic clere wrote: Hi, We all want to see a Tomcat track at the ApacheConNA2010, don't we? I have created a wiki page to collect the presentation proposals. Fell free to add the stuff you would like to present at the ApacheCon. The tomcat PMC will review it and then propose it to the plannea rs of conference. Note we have until the Sunday, March 21st to collect that information. Note, the schedule need not be *complete* by 3/21; all that was asked for this week is a short description of the track, e.g. the marketing pitch, and the duration of the program. Everyone here knows Tomcat can trivially present a day of 6 sessions of very relevant, recent and topical content. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of TomcatTrackNA10_PMC_Sessions by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on Tomcat Wiki for change notification. The TomcatTrackNA10_PMC_Sessions page has been changed by JeanFredericClere. http://wiki.apache.org/tomcat/TomcatTrackNA10_PMC_Sessions?action=diffrev1=3rev2=4 -- PRESENTER BIO. mod_jk / mod_proxy and others: Front-ends of Tomcat Clusters. - Tomcat is often used as a cluster and/or is the back-end server of a front-end reserve proxy. - Several front-end can be used, mod_jk, mod_proxy, mod_serf and mod_cluster, quick presentation of each of them, featuring: loadbalancing, failover, QoS etc. Traffic Server will be presented too. - By Jean-Frederic Clere: + . Tomcat is often used as a cluster and/or is the back-end server of a front-end reserve proxy. Several front-end can be used, mod_jk, mod_proxy, mod_serf, Traffic Server and mod_cluster, quick presentation of each of them, featuring: loadbalancing, failover, QoS, performances etc. + + . Jean-Frederic has spent more than 20 years writing client/server software. He is committer in APR, Jakarta, Httpd and Tomcat and he likes complex projects where different languages and machines are involved. Borne in France, Jean-Frederic lived in Barcelona (Spain) for 14 years. Since May 2006 he lives in Neuchatel (Switzerland) where he works for [[http://www.redhat.com|RedHat]] in the JBoss division. + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat at the next ApacheCon
On 03/18/2010 05:12 PM, William A. Rowe Jr. wrote: On 3/18/2010 11:00 AM, jean-frederic clere wrote: Note we have until the Sunday, March 21st to collect that information. Note, the schedule need not be *complete* by 3/21; all that was asked for this week is a short description of the track, e.g. the marketing pitch, and the duration of the program. Everyone here knows Tomcat can trivially present a day of 6 sessions of very relevant, recent and topical content. Now, *that* makes sense. Regards -- ^TM - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat at the next ApacheCon
On 03/18/2010 05:05 PM, Mladen Turk wrote: On 03/18/2010 05:00 PM, jean-frederic clere wrote: Note we have until the Sunday, March 21st to collect that information. I'm always amazed with the fact that each conference planner need your proposals by yesterday. Well they were asking that the 16th, but anyone that already presented something somewhere has a short bio available somewhere and probably a abstract of a topic to present ready too. Cheers Jean-Frederic - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of TomcatTrackNA10_PMC_Sessions by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on Tomcat Wiki for change notification. The TomcatTrackNA10_PMC_Sessions page has been changed by JeanFredericClere. http://wiki.apache.org/tomcat/TomcatTrackNA10_PMC_Sessions?action=diffrev1=4rev2=5 -- . Tomcat is often used as a cluster and/or is the back-end server of a front-end reserve proxy. Several front-end can be used, mod_jk, mod_proxy, mod_serf, Traffic Server and mod_cluster, quick presentation of each of them, featuring: loadbalancing, failover, QoS, performances etc. - . Jean-Frederic has spent more than 20 years writing client/server software. He is committer in APR, Jakarta, Httpd and Tomcat and he likes complex projects where different languages and machines are involved. Borne in France, Jean-Frederic lived in Barcelona (Spain) for 14 years. Since May 2006 he lives in Neuchatel (Switzerland) where he works for [[http://www.redhat.com|RedHat]] in the JBoss division. + . Jean-Frederic has spent more than 20 years writing client/server software. He is committer in APR, Jakarta, Httpd and Tomcat and he likes complex projects where different languages and machines are involved. Born in France, Jean-Frederic lived in Barcelona (Spain) for 14 years. Since May 2006 he lives in Neuchatel (Switzerland) where he works for [[http://www.redhat.com|RedHat]] in the JBoss division. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat at the next ApacheCon
On 03/18/2010 05:19 PM, jean-frederic clere wrote: I'm always amazed with the fact that each conference planner need your proposals by yesterday. Well they were asking that the 16th, but anyone that already presented something somewhere has a short bio available somewhere and probably a abstract of a topic to present ready too. Like Bill said it is more important that we define the areas we wish to concentrate on. IMHO this year major area should be Tomcat 7. It should be a whole day event, and I'm sure there is enough topics to fill that in. Also we should reserve at least one slot to some non-tomcat-developer use case. Eg. How the Tomcat saved my company ... Regards -- ^TM - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of TomcatTrackNA10_PMC_Sessions by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on Tomcat Wiki for change notification. The TomcatTrackNA10_PMC_Sessions page has been changed by JeanFredericClere. http://wiki.apache.org/tomcat/TomcatTrackNA10_PMC_Sessions?action=diffrev1=5rev2=6 -- So something like (from the old http://wiki.apache.org/tomcat/TomcatTrackUs09_PMC_Sessions) + = Summary of the whole Tomcat track: = . 1 - Have an introduction. . 2 - Have more details presentation on the new tech (Tomcat7, Servlet 3.0) . 3 - Have a remainder of the existing new stuff (Bayeux, Comet, jdbc-pool, tomcat-lite). . 4 - Have well known stuff, like admin/conf stuff, mod_jk/mod_proxy and clustering. . 5 - A bunch of more technical presentations. + = Detailed session presentations: = Look to http://wiki.apache.org/tomcat/TomcatTrackUs09_PMC_Sessions to see how to write a proposal. Something like: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat at the next ApacheCon
On 03/18/2010 05:33 PM, Mladen Turk wrote: On 03/18/2010 05:19 PM, jean-frederic clere wrote: I'm always amazed with the fact that each conference planner need your proposals by yesterday. Well they were asking that the 16th, but anyone that already presented something somewhere has a short bio available somewhere and probably a abstract of a topic to present ready too. Like Bill said it is more important that we define the areas we wish to concentrate on. IMHO this year major area should be Tomcat 7. It should be a whole day event, and I'm sure there is enough topics to fill that in. Also we should reserve at least one slot to some non-tomcat-developer use case. Eg. How the Tomcat saved my company ... I have added a Summary of the whole Tomcat track: which we should finished before the 21th of March. Just add your ideas in it. Cheers Jean-Frederic - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r924904 - /tomcat/taglibs/rdc/trunk/doap_rdc.rdf
Author: bayard Date: Thu Mar 18 17:18:36 2010 New Revision: 924904 URL: http://svn.apache.org/viewvc?rev=924904view=rev Log: Updating links post Jakarta move Modified: tomcat/taglibs/rdc/trunk/doap_rdc.rdf Modified: tomcat/taglibs/rdc/trunk/doap_rdc.rdf URL: http://svn.apache.org/viewvc/tomcat/taglibs/rdc/trunk/doap_rdc.rdf?rev=924904r1=924903r2=924904view=diff == --- tomcat/taglibs/rdc/trunk/doap_rdc.rdf (original) +++ tomcat/taglibs/rdc/trunk/doap_rdc.rdf Thu Mar 18 17:18:36 2010 @@ -16,16 +16,16 @@ * See the License for the specific language governing permissions and * limitations under the License. -- - Project rdf:about=http://jakarta.apache.org/taglibs/doc/rdc-doc/intro.html; -nameApache Jakarta Reusable Dialog Components (RDC) Taglib/name + Project rdf:about=http://tomcat.apache.org/taglibs/rdc/; +nameApache Reusable Dialog Components (RDC) Taglib/name shortnameRDC Taglib/shortname -homepage rdf:resource=http://jakarta.apache.org/taglibs/doc/rdc-doc/intro.html/ +homepage rdf:resource=http://tomcat.apache.org/taglibs/rdc// programming-languageJSP/programming-language category rdf:resource=http://projects.apache.org/category/library/ license rdf:resource=http://usefulinc.com/doap/licenses/asl20/ bug-database rdf:resource=http://issues.apache.org/bugzilla// download-page rdf:resource=http://jakarta.apache.org/site/downloads/downloads_taglibs-rdc.cgi/ -asfext:pmc rdf:resource=http://jakarta.apache.org// +asfext:pmc rdf:resource=http://tomcat.apache.org// shortdesc xml:lang=en A framework for creating JSP taglibs that aid in rapid development of voice and multimodal applications. @@ -52,6 +52,6 @@ version1.0/version /revision /release -mailing-list rdf:resource=http://jakarta.apache.org/site/mail2.html#Taglibs/ +mailing-list rdf:resource=http://tomcat.apache.org/taglibs/mail-lists.html/ /Project /rdf:RDF - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Trivial Update of PoweredBy by GetNetwo rks
Dear Wiki user, You have subscribed to a wiki page or wiki category on Tomcat Wiki for change notification. The PoweredBy page has been changed by GetNetworks. The comment on this change is: Added JavaServletHosting.com logo and modified description. http://wiki.apache.org/tomcat/PoweredBy?action=diffrev1=247rev2=248 -- {{http://javaprovider.net/img/logo.gif}} [[http://javaprovider.net|Java Hosting]] - !WebApplication hosting company. We created Java Panel with Tomcat 6. === JavaServletHosting.com === - [[http://www.javaservlethosting.com|JavaServletHosting]] - a hosting company. + {{http://javaservlethosting.com/images/javaservlethosting.com_logo_for_tomcat.apache.org.png}} [[http://www.javaservlethosting.com|JavaServletHosting]] - You'll find professional-grade Java Hosting at very affordable prices. For more than 15 years, they've been a leader in commercial web hosting and n-tier application development. === KingHost === {{http://www.kinghost.com.br/img/logo_kinghost_painel.jpg}} [[http://www.kinghost.com.br/|KingHost - Hospedagem de Sites]] provides webhosting with JSP/Servlets support using Tomcat 5.0, 5.5 and 6.0. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48826] POST request causes access violation in isapi_redirect 1.2.29 (X64)
https://issues.apache.org/bugzilla/show_bug.cgi?id=48826 Bruce G. Stewart bgstew...@covad.net changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48940] New: IIS to Tomcat occasionally fails on POST with T-E chunked header
https://issues.apache.org/bugzilla/show_bug.cgi?id=48940 Summary: IIS to Tomcat occasionally fails on POST with T-E chunked header Product: Tomcat Connectors Version: unspecified Platform: PC OS/Version: Windows Server 2008 (Longhorn) Status: NEW Severity: major Priority: P2 Component: isapi AssignedTo: dev@tomcat.apache.org ReportedBy: bgstew...@covad.net This is related to bug 48763. We are experiencing intermittent timeouts of POST requests with transfer-encoding: chunked. These failures occur very frequently after IIS has shutdown ISAPI_Redirect because of a period of inactivity. The next request triggers IIS to restart the redirector, and that request and several more that queue up behind it fail. JK puts the worker in error state. Eventually, the failure gets back to the client. I've done some tracing and this is what I see: - The requests that fail do arrive at the Tomcat. Tomcat times out trying to read the post body. - The failing AJP request messages from ISAPI both a positive content-length and transfer-encoding: chunked. Ordinary requests don't have the c-l. My guess is, 1) If IIS is able to receive and assemble the chunked body before JK asks for it, IIS reports the actual size instead of -1. 2) This possibly occurs while ISAPI_Redirect is reinitializing because there is time for IIS to build the body before JK needs it. 3) When this occurs, the JK end of the APR connection waits for a get-body-chunk message. The Tomcat APR sees the positive c-l and waits for the free body chunk that non t-e requests send. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Patch for better support of Unified EL 2.2
Created bug 48941. I would like it to be integrated into Tomcat 6, if possible. Proposed changes are light, IMHO. With kindest personal regards, Ruslan Gainutdinov rusla...@gmail.com On Thu, Mar 18, 2010 at 4:18 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/3/18 Ruslan Gainutdinov rusla...@gmail.com: Please review this patch for inclusion in trunk. Your attachment is lost. Please create a Bugzilla entry for Tomcat 7 and attach it there, though I cannot comment on whether it will be applied or not. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48940] IIS to Tomcat occasionally fails on POST with T-E chunked header
https://issues.apache.org/bugzilla/show_bug.cgi?id=48940 --- Comment #1 from Bruce G. Stewart bgstew...@covad.net 2010-03-18 21:50:34 UTC --- er, where I wrote APR, please read AJP. It's been a long day. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of MemoryLeakProtection by Sylva inLaurent
Dear Wiki user, You have subscribed to a wiki page or wiki category on Tomcat Wiki for change notification. The MemoryLeakProtection page has been changed by SylvainLaurent. http://wiki.apache.org/tomcat/MemoryLeakProtection?action=diffrev1=5rev2=6 -- Tomcat 6.0.24 speeds up the removal of stale entries (and thus fixes the pseudo-leak), by calling {{{expungeStaleEntries()}}} for each thread that has some stale entries. == Threads ContextClassLoader == + === Threads spawned by webapps === + + If a webapp creates a thread, by default its context classloader is set to the one of the parent thread (the thread that created the new thread). + In a webapp, this parent thread is one of tomcat worker threads, whose context classloader is set to the webapp classloader when it executes webapp code. + + Furthermore, the spawned thread may be executing (or blocked in) some code that involves classes loaded by the webapp, thus preventing the webapp classloader from being collected. + + So, if the spawned thread is not properly terminated when the application is stopped, the webapp classloader will leak because of the strong reference held by the spawned thread. + + Example : + {{{ + public class LeakingServlet extends HttpServlet { + private Thread leakingThread; + + protected void doGet(HttpServletRequest request, + HttpServletResponse response) throws ServletException, IOException { + + if (leakingThread == null) { + synchronized (this) { + if (leakingThread == null) { + leakingThread = new Thread(leakingThread) { + + @Override + public void run() { + synchronized (this) { + try { + this.wait(); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + } + }; + leakingThread.setDaemon(true); + //leakingThread.setContextClassLoader(null); + leakingThread.start(); + } + } + } + response.getWriter().println(Hello world!); + } + } + }}} + + Here, when the app is stopped, the webapp classloader is still referenced by the spawned thread both through its context classloader and its current call stack (the anonymous Thread subclass is loaded by the webapp classloader). + + When stopping an application, tomcat checks the context classloader of every Thread, and if it is the same as the app being stopped, it logs the following message : + {{{ + Mar 18, 2010 11:13:07 PM org.apache.catalina.core.ApplicationContext log + INFO: HTMLManager: stop: Stopping web application at '/testWeb' + Mar 18, 2010 11:13:07 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads + SEVERE: A web application appears to have started a thread named [leakingThread] but has failed to stop it. This is very likely to create a memory leak. + }}} + + Now, if we uncomment the line {{{leakingThread.setContextClassLoader(null);}}} in the above example, tomcat (6.0.24) no longer detect the leak when the application is stopped because the spawned thread context classloader is no longer the webapp's. (the Find leaks feature in the manager will report it though) + + === Threads spawned by classes loaded by the common classloader === + + TODO : example with the Evictor thread of dbcp + === Threads spawned by JRE classes === - === Threads spawned by classes loaded by the common classloader === - === Threads spawned by webapps === == Child classloaders == @@ -230, +288 @@ == RMI target == = Summary matrix = + ||Leak type||Detected by tomcat||Fixed by tomcat||Possible enhancements|| == References == - [[http://java.dzone.com/articles/memory-leak-protection-tomcat|Mark Thomas interview on DZone]] + * [[http://java.dzone.com/articles/memory-leak-protection-tomcat|Mark Thomas interview on DZone]] + * [[http://www.eclipse.org/mat|Eclipse Memory Analysis Tool]] Related issues * [[https://issues.apache.org/bugzilla/show_bug.cgi?id=48837|48837]] - Memory leaks protection does not cure leaks triggered by JSP pages code