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
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
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
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
"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
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 /
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
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