Re: startup dosent work anymore since updated on xp!

2004-02-20 Thread SMaric
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

Re: Configuring a Data Resource in web.xml

2004-02-16 Thread SMaric
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

Re: deploying and undeploying web apps at run time

2004-02-16 Thread SMaric
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

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread SMaric
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

Re: DBCP and removeAbandoned

2004-02-10 Thread SMaric
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 ??) -

Re: DBCP and removeAbandoned

2004-02-10 Thread SMaric
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