Re: connection pooling in Linux using Tomcat 5.0.x and MYSQL

2006-09-27 Thread prakash shanmugam
hai all thank for u r care and intrest insolving the issue. now i had one more issue to be solved before implementing the connection pooling. the problem is in my project, i have few pages it will be view by more then one person through intrenet. when one are more person trying to acuss the sam

Re: connection pooling in Linux using Tomcat 5.0.x and MYSQL

2006-09-27 Thread Li
Hi, No matter is Linux or Window, JNDi should be same. You can use the way I wrote for your first reply. It works fine with 5.5.x both at Linux/Unix/Windows. Good luck On 9/27/06, David Smith <[EMAIL PROTECTED]> wrote: On JNDI connection problems: We'll need to see more. Specifically the js

Re: connection pooling in Linux using Tomcat 5.0.x and MYSQL

2006-09-27 Thread David Smith
On JNDI connection problems: We'll need to see more. Specifically the jsp code calling for the sql connection and the web.xml. A full stack trace of the error you get would be excellent as well. Lastly, confirm the mysql jdbc driver is in common/lib of the tomcat directory, not WEB-INF/lib

Re: connection pooling in Linux using Tomcat 5.0.x and MYSQL

2006-09-26 Thread prakash shanmugam
hai david, thank for sending those help files.now we are using tomcat 5.0.x. our database is mysql and the Driver is com.sql.jdbc.Driver. when i am calling the jsp pages in my project its working fine,if i am trying to communicate with database errorpage is thrown. ** i had trie

Re: connection pooling in Linux using Tomcat 5.0.x and MYSQL

2006-09-26 Thread David Smith
This is well documented on the tomcat site. What you've included below works on tomcat 5.0, but not 5.5. See the online docs: Tomcat 5.5 -- http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html Tomcat 5.0 -- http://tomcat.apache.org/tomcat-5.0-doc/jndi-datasource-example

Re: connection pooling in Linux using Tomcat 5.0.x and MYSQL

2006-09-26 Thread prakash shanmugam
hai Li, ur gussing is correct, i am using JNDI DS, here by i had pasted the code which is appended in the *server.xml. * *server.xml* maxWait 5000 maxActive 200

Re: connection pooling in Linux using Tomcat 5.0.x and MYSQL

2006-09-26 Thread Li
depends on what pool you use ... If use JNDI DS, you have to create a resource section in your server.xml: ... if you use other data source like hibernate's ... see their manual good luck On 9/26/06, prakash shanmugam <[EMAIL PROTECTED]> wrote: hai all, can u do one help ... i

connection pooling in Linux using Tomcat 5.0.x and MYSQL

2006-09-25 Thread prakash shanmugam
hai all, can u do one help ... i need details about how to configure Connection Pooling in Tomcat with MySQL in Linux platform... i have done in windows platform..its working well.. i followed the same concepts in linux server also.. but it is not working... can u u hepl me in this regard.. it wi