High Availability in Tomcat?

2011-05-08 Thread Brian Braun
Hi, I'm about to launch a service on the internet, using Tomcat 7. This service should be available 24x7, it should never be unavailable (or virtually never). However, I will definitely be improving and correcting my app frequently, so I will have to republish the WAR file very often. Not even con

RE: SSL setup for tomcat 7.0.10 using a CA cert

2011-05-08 Thread chip chipper
Chuck The tomcat keystore was the wrong file. Thanks for the hint. I had a tomcat.keystore and a keystore.tomcat. Better naming would have avoided the embarrassment of using a user-group. Thanks for the assistance and your time Chip > From: chuck.caldar...@unisys.com > To: users@tomcat.apac

Re: Tomcat6

2011-05-08 Thread Micka
Thanks for your answer, I just removed the "tomcat-dbcp.jar" that was on my web app librairies. But I still have the same problem as before ! Which is : May 8, 2011 8:39:40 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal

Re: recovering connections on jdbc connection pool

2011-05-08 Thread alexis
yes, that looks bad too , sorry. actually i changed the whole method. On May 8, 2011, at 2:38 PM, Bob Hall wrote: >>try { >>while (it.hasNext()) { >>c1 = getConnection(); > > > You should move getConnection() outside of the while() block. > > - Bob > > ---

Re: recovering connections on jdbc connection pool

2011-05-08 Thread Bob Hall
> try { > while (it.hasNext()) { > c1 = getConnection(); You should move getConnection() outside of the while() block. - Bob - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: recovering connections on jdbc connection pool

2011-05-08 Thread alexis
On May 8, 2011, at 1:22 PM, Felix Schumacher wrote: > Am Sonntag, den 08.05.2011, 12:29 -0300 schrieb alexis: >> Here's a snippet of my code, this method was with the described problem >> >> >> public void insertVDNInfo(VDNInfo vdns) throws SQLException { > Why do you want to throw a SQLExcepti

Re: recovering connections on jdbc connection pool

2011-05-08 Thread Felix Schumacher
Am Sonntag, den 08.05.2011, 12:29 -0300 schrieb alexis: > Here's a snippet of my code, this method was with the described problem > > > public void insertVDNInfo(VDNInfo vdns) throws SQLException { Why do you want to throw a SQLException? > > Calendar c = Calendar.getInstance(); > >

Re: recovering connections on jdbc connection pool

2011-05-08 Thread alexis
Here's a snippet of my code, this method was with the described problem public void insertVDNInfo(VDNInfo vdns) throws SQLException { Calendar c = Calendar.getInstance(); Iterator it = vdns.getVdns().iterator(); Connection c1 = null; Statement s1 = null;

Re: recovering connections on jdbc connection pool

2011-05-08 Thread Felix Schumacher
Am Sonntag, den 08.05.2011, 11:42 -0300 schrieb alexis: > Hello all, is there any way to recover lost connectios on a pool? > > Here's the issue, for an application, using postgresql jdbc (same happens > with mysql as i tried), having query errors syntax or duplicated keys, > actually no big dea

RE: SSL setup for tomcat 7.0.10 using a CA cert

2011-05-08 Thread Caldarale, Charles R
> From: chip chipper [mailto:chipper7...@hotmail.com] > Subject: FW: SSL setup for tomcat 7.0.10 using a CA cert > May 7, 2011 9:19:09 PM org.apache.catalina.startup.SetAllPropertiesRule begin > WARNING: > [SetAllPropertiesRule]{Server/Service/Connector} Setting property > 'maxSpareThreads' to

recovering connections on jdbc connection pool

2011-05-08 Thread alexis
Hello all, is there any way to recover lost connectios on a pool? Here's the issue, for an application, using postgresql jdbc (same happens with mysql as i tried), having query errors syntax or duplicated keys, actually no big deal, it throws an sqlexception upon que sql error, as this call exec

RE: SSL setup for tomcat 7.0.10 using a CA cert

2011-05-08 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: SSL setup for tomcat 7.0.10 using a CA cert > take all the 32bit folders off the PATH > best to SET CLASSPATH= > download the 64bit windoze version of Tomcat7 from > http://tomcat.apache.org/download-70.cgi All of the above is co

RE: SSL setup for tomcat 7.0.10 using a CA cert

2011-05-08 Thread Martin Gainty
Chip- take all the 32bit folders off the PATH best to SET CLASSPATH= download the 64bit windoze version of Tomcat7 from http://tomcat.apache.org/download-70.cgi reconfigure and let us know if there any further issues Martin Gainty __ Verzicht und Ve

FW: SSL setup for tomcat 7.0.10 using a CA cert

2011-05-08 Thread chip chipper
I have been trying to install a certificate on a Tomcat 7.0.10 on a Windows 64 bit 2008 server and getting this error. Error Message DerInputStream.getLength(): lengthTag=109, too big. 2011-05-07 21:19:08 Commons Daemon procrun stderr initialized May 7, 2011 9:19:09 PM org.apache.catalina.core

RE: tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-05-08 Thread Felix Schumacher
Am Donnerstag, den 05.05.2011, 11:36 -0600 schrieb Yongqin Xu: > Hello, Churck, > > I tried to use $CATALINA_OPTS env to set my ${oracle.common.home} variable in > common.loader property, > starting TC has no problem, but when shutting down TC, it gives me error > saying it could not find the ja