[ANN] Apache Tomcat 7.0.32 released

2012-10-09 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.32. Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies. This release contains a small number of bug fixes and improvements compared to version 7.0.30. The

Tomcat managed connections (DBCP) with driver in web application.

2012-10-09 Thread Jeremy Heiler
I am using Tomcat 7 and having it manage my database connections with its DBCP implementation. In the past I have put ojdbc14.jar in $CATALINA_HOME/lib, which has been fine. However, some applications are being upgraded to Oracle 11g and require the ojdbc6.jar instead. If I take the jar out of

Re: how to programmatically expire inactive sessions?

2012-10-09 Thread Kirill Kireyev
I think I figured it out. It seems /manager/text/expire only lists the expiration info, instead of expiring sessions. Also, wget wasn't authenticating me properly. Instead I used curl against the html interface: curl --anyauth -u xxx:yyy --data "idle=20" -d

RE: How to check whether a SSL certificate has been correctly installed

2012-10-09 Thread Tom Anthony
Thank you so much, I wanted to double check. -- View this message in context: http://tomcat.10.n6.nabble.com/How-to-check-whether-a-SSL-certificate-has-been-correctly-installed-tp4987669p4987690.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: How to check whether a SSL certificate has been correctly installed

2012-10-09 Thread Tom Anthony
Great information Christopher, thank you for your help. -- View this message in context: http://tomcat.10.n6.nabble.com/How-to-check-whether-a-SSL-certificate-has-been-correctly-installed-tp4987669p4987692.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: how to programmatically expire inactive sessions?

2012-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kirill, On 10/9/12 12:22 PM, Kirill Kireyev wrote: I think I figured it out. It seems /manager/text/expire only lists the expiration info, instead of expiring sessions. Also, wget wasn't authenticating me properly. Instead I used curl against the

Re: how to programmatically expire inactive sessions?

2012-10-09 Thread Kirill Kireyev
I never modified/extended the Tomcat code, so I doubt it. Could it be that I'm allocating too much heap memory (-Xmx2M), so that Tomcat doesn't feel the urgency to clean up? Is is possible that you have a broken HttpSessionBindingListener or

Re: how to programmatically expire inactive sessions?

2012-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kirill, On 10/9/12 2:36 PM, Kirill Kireyev wrote: I never modified/extended the Tomcat code, so I doubt it. This has nothing to do with Tomcat's code: HttpSessionBindingListener and HttpSessionListener are servlet-API interfaces that you might

Re: Tomcat managed connections (DBCP) with driver in web application.

2012-10-09 Thread Andrew Todd
On Tue, Oct 9, 2012 at 10:37 AM, Jeremy Heiler jeremyhei...@gmail.com wrote: Every resource I've read thus far has said that the driver jar must be in $CATALINA_HOME/lib or DBCP wont work. Can you provide a link for that? I've been just fine bundling the Oracle 11 library inside my .war file.

Re: Apache, Tomcat and Comet

2012-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mikel, On 10/9/12 4:15 PM, Mikel Gonzalez Gainza wrote: Is it smart changing from mod_jk to mod_proxy when all other web applications run just fine? Is it possible to use both at the same time? Yes, you can use mod_jk and mod_proxy_ajp (or

Re: Tomcat managed connections (DBCP) with driver in web application.

2012-10-09 Thread Jeremy Heiler
On Tue, Oct 9, 2012 at 4:56 PM, Andrew Todd andrew.todd...@gmail.com wrote: On Tue, Oct 9, 2012 at 10:37 AM, Jeremy Heiler jeremyhei...@gmail.com wrote: Every resource I've read thus far has said that the driver jar must be in $CATALINA_HOME/lib or DBCP wont work. Can you provide a link

Re: Tomcat managed connections (DBCP) with driver in web application.

2012-10-09 Thread Andrew Todd
On Tue, Oct 9, 2012 at 5:19 PM, Jeremy Heiler jeremyhei...@gmail.com wrote: Use of the JDBC Data Sources JNDI Resource Factory requires that you Ah, OK. I'm not using JNDI. I'm instantiating the DBCP as a Spring bean inside the app.

Re: Tomcat managed connections (DBCP) with driver in web application.

2012-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeremy, On 10/9/12 5:19 PM, Jeremy Heiler wrote: On Tue, Oct 9, 2012 at 4:56 PM, Andrew Todd andrew.todd...@gmail.com wrote: On Tue, Oct 9, 2012 at 10:37 AM, Jeremy Heiler jeremyhei...@gmail.com wrote: Every resource I've read thus far has

Re: Tomcat managed connections (DBCP) with driver in web application.

2012-10-09 Thread Jeremy Heiler
On Tue, Oct 9, 2012 at 5:46 PM, Christopher Schultz ch...@christopherschultz.net wrote: Are you sure you're not just getting the global driver and it happens to work properly? There is no global driver because I took the jar out of $CATALINA_HOME/lib before running the test and restarted the