DO NOT REPLY [Bug 51500] New: NSIS - Allow configuration of more service properties
https://issues.apache.org/bugzilla/show_bug.cgi?id=51500 Bug #: 51500 Summary: NSIS - Allow configuration of more service properties Product: Tomcat 7 Version: unspecified Platform: PC OS/Version: Windows Server 2003 Status: NEW Severity: enhancement Priority: P2 Component: Packaging AssignedTo: dev@tomcat.apache.org ReportedBy: etienne.mas...@gmail.com Classification: Unclassified This enhancement follows 50949 'Allow configuration of service name, AJP port, server port.'. It'd be nice to have the ability to change also : * service "human name" (as it appears in the Windows services console) * service description Since when several Tomcat instances are installed on a machine, we like to be able to distinguish them by their purpose so we give them according "human names". Configuration of JVM arguments would also be a very nice feature (would allow activation of JMX / remote debug, etc.) and would save us the pain of updating registry manually afterwards. -- 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 51496] NSIS - Warn that duplicate service name will result in install failure
https://issues.apache.org/bugzilla/show_bug.cgi?id=51496 --- Comment #1 from Etienne Massip 2011-07-12 07:24:30 UTC --- http://nsis.sourceforge.net/How_do_I_start/stop/create/remove/check_a_service -- 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: r1145489 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
Author: markt Date: Tue Jul 12 08:34:20 2011 New Revision: 1145489 URL: http://svn.apache.org/viewvc?rev=1145489&view=rev Log: Correct a comment Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1145489&r1=1145488&r2=1145489&view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Tue Jul 12 08:34:20 2011 @@ -1241,7 +1241,7 @@ public class NioEndpoint extends Abstrac sd.length -= written; attachment.access(); } else { -// Unusual not to be unable to transfer any bytes +// Unusual not to be able to transfer any bytes // Check the length was set correctly if (sd.fchannel.size() <= sd.pos) { throw new IOException("Sendfile configured to " + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: svn commit: r1145383 - in /tomcat/trunk: java/org/apache/tomcat/util/net/NioEndpoint.java webapps/docs/changelog.xml
On 12/07/2011 06:49, Felix Schumacher wrote: > > Hi Mark, > > ma...@apache.org schrieb: > >> Author: markt >> Date: Mon Jul 11 22:27:06 2011 >> New Revision: 1145383 >> >> URL: http://svn.apache.org/viewvc?rev=1145383&view=rev >> Log: >> Protect against infinite loops in the HTTP NIO connector if sendfile is >> configured to send more data than is available in the file. (markt) >> >> Modified: >>tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java >>tomcat/trunk/webapps/docs/changelog.xml >> >> Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java >> URL: >> http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1145383&r1=1145382&r2=1145383&view=diff >> == >> --- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java >> (original) >> +++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Mon >> Jul 11 22:27:06 2011 >> @@ -1240,6 +1240,13 @@ public class NioEndpoint extends Abstrac >> sd.pos += written; >> sd.length -= written; >> attachment.access(); >> +} else { >> +// Unusual not to be unable to transfer any >> bytes > There really are too many negations for me to understand the meaning of the > above, but I think you mean "able". Yep. Thanks. Fixed. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51494] NPE in StandardContextValve.invoke() when a webapp is redeployed while a request is still being processed
https://issues.apache.org/bugzilla/show_bug.cgi?id=51494 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Mark Thomas 2011-07-12 08:48:26 UTC --- Fixed in trunk and will be included in 7.0.19 onwards. -- 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 JDBC Pool StackOverflow exception when running Spring Standalone
Hi, I'm currently evaluating Tomcat JDBC Pool after reading all the good things Filip Hanik had to say about it! I was expecting it to be a drop in replacement for commons dbcp but after spending over a half day on this now I'm getting frustrated and am not closer to a solution. Using a mysql database against an innodb table, I'm getting java.lang.StackOverflowError when using tomcat jdbc pool; it just seems to continuously try to create connections even though my settings are initialSize=10 and minIdle=10 I've attached my spring http://old.nabble.com/file/p32044957/applicationContext-db.xml applicationContext-db.xml . Note that: - when using commons dbcp datasource, I can connect without issue - when I comment out the commons dbcp datasource and try to use tomcat.jdbc.pool.DataSource, I get a the StackOverflow exception - I'm using: - xp pro 32bit - java 6 1.6.0.24 to be precise - mysql 5.1.37 - Spring 2.5.6 sec1 - jdbc pool 1.1.0.1 My tomcat jdbc pool settings were taken from(just a slightly modified version) of http://vigilbose.blogspot.com/2009/03/apache-commons-dbcp-and-tomcat-jdbc.html Would appreciate any feedback or suggestions...thanks! -- View this message in context: http://old.nabble.com/Tomcat-JDBC-Pool-StackOverflow-exception-when-running-Spring-Standalone-tp32044957p32044957.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat JDBC Pool StackOverflow exception when running Spring Standalone
On 12/07/2011 12:07, javaguy44 wrote: > > Hi, > > I'm currently evaluating Tomcat JDBC Pool after reading all the good things > Filip Hanik had to say about it! > > I was expecting it to be a drop in replacement for commons dbcp but after > spending over a half day on this now I'm getting frustrated and am not > closer to a solution. > > Using a mysql database against an innodb table, I'm getting > java.lang.StackOverflowError when using tomcat jdbc pool; it just seems to > continuously try to create connections even though my settings are > initialSize=10 and minIdle=10 > > I've attached my spring > http://old.nabble.com/file/p32044957/applicationContext-db.xml > applicationContext-db.xml . Note that: > - when using commons dbcp datasource, I can connect without issue > - when I comment out the commons dbcp datasource and try to use > tomcat.jdbc.pool.DataSource, I get a the StackOverflow exception > - I'm using: >- xp pro 32bit >- java 6 1.6.0.24 to be precise >- mysql 5.1.37 >- Spring 2.5.6 sec1 >- jdbc pool 1.1.0.1 > > > My tomcat jdbc pool settings were taken from(just a slightly modified > version) of > http://vigilbose.blogspot.com/2009/03/apache-commons-dbcp-and-tomcat-jdbc.html > > Would appreciate any feedback or suggestions...thanks! This question belongs on the users list, not the dev list. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat JDBC Pool StackOverflow exception when running Spring Standalone
I've tried to move the thread, but am unable to. If you point me in the right direction I'd be happy to move it markt-2 wrote: > > On 12/07/2011 12:07, javaguy44 wrote: >> >> Hi, >> >> I'm currently evaluating Tomcat JDBC Pool after reading all the good >> things >> Filip Hanik had to say about it! >> >> I was expecting it to be a drop in replacement for commons dbcp but after >> spending over a half day on this now I'm getting frustrated and am not >> closer to a solution. >> >> Using a mysql database against an innodb table, I'm getting >> java.lang.StackOverflowError when using tomcat jdbc pool; it just seems >> to >> continuously try to create connections even though my settings are >> initialSize=10 and minIdle=10 >> >> I've attached my spring >> http://old.nabble.com/file/p32044957/applicationContext-db.xml >> applicationContext-db.xml . Note that: >> - when using commons dbcp datasource, I can connect without issue >> - when I comment out the commons dbcp datasource and try to use >> tomcat.jdbc.pool.DataSource, I get a the StackOverflow exception >> - I'm using: >>- xp pro 32bit >>- java 6 1.6.0.24 to be precise >>- mysql 5.1.37 >>- Spring 2.5.6 sec1 >>- jdbc pool 1.1.0.1 >> >> >> My tomcat jdbc pool settings were taken from(just a slightly modified >> version) of >> http://vigilbose.blogspot.com/2009/03/apache-commons-dbcp-and-tomcat-jdbc.html >> >> Would appreciate any feedback or suggestions...thanks! > > This question belongs on the users list, not the dev list. > > Mark > > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Tomcat-JDBC-Pool-StackOverflow-exception-when-running-Spring-Standalone-tp32044957p32045429.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
RE: Tomcat JDBC Pool StackOverflow exception when running Spring Standalone
> From: javaguy44 [mailto:javagu...@yahoo.com] > Subject: Re: Tomcat JDBC Pool StackOverflow exception when running Spring > Standalone > I've tried to move the thread, but am unable to. If you point > me in the right direction I'd be happy to move it http://tomcat.apache.org/lists.html#tomcat-users Hint: don't use nabble. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1145571 - in /tomcat/trunk: java/org/apache/tomcat/util/net/NioEndpoint.java webapps/docs/changelog.xml
Author: markt Date: Tue Jul 12 12:51:35 2011 New Revision: 1145571 URL: http://svn.apache.org/viewvc?rev=1145571&view=rev Log: (empty) Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1145571&r1=1145570&r2=1145571&view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Tue Jul 12 12:51:35 2011 @@ -1271,6 +1271,7 @@ public class NioEndpoint extends Abstrac log.debug("Send file connection is being closed"); } cancelledKey(sk,SocketStatus.STOP,false); +return false; } } else if ( attachment.interestOps() == 0 && reg ) { if (log.isDebugEnabled()) { Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1145571&r1=1145570&r2=1145571&view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Tue Jul 12 12:51:35 2011 @@ -124,6 +124,10 @@ Protect against infinite loops in the HTTP NIO connector if sendfile is configured to send more data than is available in the file. (markt) + +Prevent NPEs when a socket is closed in non-error conditions after +sendfile processing when using the HTTP NIO connector. (markt) + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn propchange: r1145571 - svn:log
Author: markt Revision: 1145571 Modified property: svn:log Modified: svn:log at Tue Jul 12 12:56:45 2011 -- --- svn:log (original) +++ svn:log Tue Jul 12 12:56:45 2011 @@ -0,0 +1 @@ +Socket has been closed, return false so an attempt is not made to re-use the socket - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
RE: Tomcat JDBC Pool StackOverflow exception when running Spring Standalone
I personally like nabble -- but the move thread thing obviously doesn't work v well. I didn't think Hint: was polite -- but if you don't want people to use nabble, perhaps the link you provided should disclaim as such...? n828cl wrote: > >> From: javaguy44 [mailto:javagu...@yahoo.com] >> Subject: Re: Tomcat JDBC Pool StackOverflow exception when running Spring >> Standalone > >> I've tried to move the thread, but am unable to. If you point >> me in the right direction I'd be happy to move it > > http://tomcat.apache.org/lists.html#tomcat-users > > Hint: don't use nabble. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Tomcat-JDBC-Pool-StackOverflow-exception-when-running-Spring-Standalone-tp32044957p32046356.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1145627 - /tomcat/trunk/webapps/docs/changelog.xml
Author: markt Date: Tue Jul 12 15:14:27 2011 New Revision: 1145627 URL: http://svn.apache.org/viewvc?rev=1145627&view=rev Log: (empty) Modified: tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1145627&r1=1145626&r2=1145627&view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Tue Jul 12 15:14:27 2011 @@ -100,9 +100,9 @@ -51477Support all SSL protocol combinations in the APR/native -connector. This only works when using the native library version 1.1.21 -or later, which is not yet released. (rjung) +51477: Support all SSL protocol combinations in the +APR/native connector. This only works when using the native library +version 1.1.21 or later, which is not yet released. (rjung) Various refactorings to reduce code duplication and unnecessary code in - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1145694 - in /tomcat/trunk: java/org/apache/coyote/http11/Http11AprProcessor.java java/org/apache/coyote/http11/LocalStrings.properties java/org/apache/tomcat/util/net/AprEndpoint.java we
Author: markt Date: Tue Jul 12 17:50:11 2011 New Revision: 1145694 URL: http://svn.apache.org/viewvc?rev=1145694&view=rev Log: Protect against crashes in the HTTP APR connector if sendfile is configured to send more data than is available in the file. Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java tomcat/trunk/java/org/apache/coyote/http11/LocalStrings.properties tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java?rev=1145694&r1=1145693&r2=1145694&view=diff == --- tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java Tue Jul 12 17:50:11 2011 @@ -305,7 +305,18 @@ public class Http11AprProcessor extends sendfileData.socket = socketRef; sendfileData.keepAlive = keepAlive; if (!((AprEndpoint)endpoint).getSendfile().add(sendfileData)) { -openSocket = true; +if (sendfileData.socket == 0) { +// Didn't send all the data but the socket is no longer +// set. Something went wrong. Close the connection. +// Too late to set status code. +if (log.isDebugEnabled()) { +log.debug(sm.getString( +"http11processor.sendfile.error")); +} +error = true; +} else { +openSocket = true; +} break; } } Modified: tomcat/trunk/java/org/apache/coyote/http11/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/LocalStrings.properties?rev=1145694&r1=1145693&r2=1145694&view=diff == --- tomcat/trunk/java/org/apache/coyote/http11/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/coyote/http11/LocalStrings.properties Tue Jul 12 17:50:11 2011 @@ -35,6 +35,7 @@ http11processor.socket.ssl=Exception get http11processor.socket.sslreneg=Exception re-negotiating SSL connection http11processor.socket.timeout=Error setting socket timeout http11processor.comet.notsupported=The Comet protocol is not supported by this connector +http11processor.sendfile.error=Error sending data using sendfile. May be caused by invalid request attributes for start/end points iib.eof.error=Unexpected EOF read on the socket iib.requestheadertoolarge.error=Request header is too large Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java?rev=1145694&r1=1145693&r2=1145694&view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Tue Jul 12 17:50:11 2011 @@ -1460,7 +1460,9 @@ public class AprEndpoint extends Abstrac data.pos, data.end - data.pos, 0); if (nw < 0) { if (!(-nw == Status.EAGAIN)) { -destroySocket(data.socket); +Pool.destroy(data.fdpool); +// No need to close socket, this will be done by +// calling code since data.socket == 0 data.socket = 0; return false; } else { Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1145694&r1=1145693&r2=1145694&view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Tue Jul 12 17:50:11 2011 @@ -121,8 +121,9 @@ is used. Fixes null thread name in access log and JMX MBean. (rjung) -Protect against infinite loops in the HTTP NIO connector if sendfile is -configured to send more data than is available in the file. (markt) +Protect against infinite loops (HTTP NIO) and crashes (HTTP APR) if +sendfile is configured to send more data than is available in the file. +(markt) Prevent NPEs when a socket is closed in non-error conditions after
Using AXIS2 with reverse proxy
Hi, We have a AXIS2 WebService running behind Reverse Proxy. The architecture is something like this There is a Apache that Acts as Reverse Proxy. The apache has a Public IP The Reverse Proxy forwards the HTTP request ti anpther Apache with Private IP and the Apache with Private IP forwards all call to Tomcat where Axis2 is deployed. Now when we access WSDL there is problem. The WSDL does not point to proxy with Public IP. How do we address this issue. Any help is appreciated. Thanks -- View this message in context: http://old.nabble.com/Using-AXIS2-with-reverse-proxy-tp32048099p32048099.html Sent from the Tomcat - Dev mailing list archive at Nabble.com.
Re: Using AXIS2 with reverse proxy
On 12/07/2011 19:25, mehtalalit wrote: > > Hi, > > We have a AXIS2 WebService running behind Reverse Proxy. The architecture is > something like this > > There is a Apache that Acts as Reverse Proxy. The apache has a Public IP > The Reverse Proxy forwards the HTTP request ti anpther Apache with Private > IP and the Apache with Private IP forwards all call to Tomcat where Axis2 is > deployed. > > Now when we access WSDL there is problem. The WSDL does not point to proxy > with Public IP. How do we address this issue. > > Any help is appreciated. Wrong list. You want the users list, not the dev list. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Using AXIS2 with reverse proxy
Apologies Mark Thanks for pointing it out markt-2 wrote: > > On 12/07/2011 19:25, mehtalalit wrote: >> >> Hi, >> >> We have a AXIS2 WebService running behind Reverse Proxy. The architecture >> is >> something like this >> >> There is a Apache that Acts as Reverse Proxy. The apache has a Public IP >> The Reverse Proxy forwards the HTTP request ti anpther Apache with >> Private >> IP and the Apache with Private IP forwards all call to Tomcat where Axis2 >> is >> deployed. >> >> Now when we access WSDL there is problem. The WSDL does not point to >> proxy >> with Public IP. How do we address this issue. >> >> Any help is appreciated. > > Wrong list. You want the users list, not the dev list. > > Mark > > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Using-AXIS2-with-reverse-proxy-tp32048099p32048418.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org