Try opening the bat file using Notepad
If you see some 'un-printable' chars, then you need to
close the file
open it in wordpad
save it
close it
If this is the problem
You will need to do this for several of the bat files throughout the tomcat
directory tree
use Explorer to search for *.bat
Have used this for MySQL DB - am NOT totally sure that it is completely
correct
This is what works for me - (see NOTES at end - if anyone can shed any light
on Limiting Pool size)
#1in your Server.xml
GlobalNamingResources
Resource name=MySQLDataSourceFactory
Pretty sure it can be done
I remember reading up on this in relation to ANT
I think there is some integration with ANT examples in the Tomcat
documentation - try
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html
And
This is what works for me - (see NOTES at end - if anyone can shed any light
on Limiting Pool size)
#1in your Server.xml
GlobalNamingResources
Resource name=MySQLDataSourceFactory
type=com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
auth=Container/
ResourceParams
Hi
If I've understood things correctly
removeAbandoned should enable recovery of 'lost' connections - ie your
webApp dies without cleanly releaseing the Connection object, so having
removeAbandoned on tells the container to keep an eye on things
You've also got the timeout set to 60 (secs ??) -
connections are
from this Pool ???
Are you are the only point of connection to the DB
Eric Prévost [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I did my tests yesterday, and the connections was still alive this
morning... I also tested 5 seconds before.
SMaric [EMAIL PROTECTED] wrote:Hi