Re: ConnectionPool question

2009-11-04 Thread Carsten Pohl
Hi, if you close the connection, it will be recycled. So, close() does not really close, but releases the connection. Regards, Carsten Pohl - Original Message - From: "Josh Gooding" To: "Tomcat Users List" Sent: Wednesday, 4 November, 2009 14:56:20 GMT +01:00 Amste

Re: Trouble with context and JNDI resource

2009-11-03 Thread Carsten Pohl
downtime for your users). Regards, Carsten Pohl - Original Message - From: "Mikolaj Rydzewski" To: "Tomcat Users List" Sent: Tuesday, 3 November, 2009 15:55:07 GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: Trouble with context and

Re: Trouble with context and JNDI resource

2009-11-03 Thread Carsten Pohl
My context.xml is quite straightforward. I put it in the META-INF folder of my WAR. But be advised: If you think you can change the url/username or passwd once the app has been deployed in Catalina/localhost/WEBAPPNAME.xml it will NOT work. Regards, Carsten Pohl - Original

Re: Trouble with context and JNDI resource

2009-11-03 Thread Carsten Pohl
on in init",e); throw new ServletException(e.getMessage()); } } And I did not put org.apache.commons.dbcp.BasicDataSource as type of the ressource. I guess it must be org.apache.commons.dbcp.dbcp. (I guess) but in the tomcat source is string compared to: "javax.sql.Data

how to change the url,username and password connection pooling

2009-11-02 Thread Carsten Pohl
"jdbc/postgres" -> attributes i see the URL, but when i change that, nothing happens. What possiblities are left? Or is there simply no way to change that, while the application runs? Thank you in advance, Regards, Carsten Pohl

Re: Debian Linux and JAVA - _OPTS and _HOME

2009-11-02 Thread Carsten Pohl
Have you tried JRE_HOME=/usr/lib/jvm/java-6-sun/jre/ ./catalina.sh run or in your case JAVA-OPTS=-Dsth ./catalina.sh run .. Regards, Carsten - Original Message - From: "Massan" To: users@tomcat.apache.org Sent: Monday, 2 November, 2009 15:27:31 GMT +01:00 Amsterdam / Berlin / Bern /

Re: Understanding context.xml

2009-11-02 Thread Carsten Pohl
redeployed, which causes downtimes. What is the right place to PUT and later change the connection infos to the database? Thank you again for your help. Regards, Carsten Pohl - Original Message - From: "Markus Schönhaber" To: users@tomcat.apache.org Sent: Monday, 2 November, 200

Understanding context.xml

2009-11-02 Thread Carsten Pohl
en started Why is that? Is that the expected result? What is the right way to change parameters in a context.xml? Thank you in advance. Regards, Carsten Pohl - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org