RE: Error while connecting to MySQL database

2006-06-29 Thread Jitendra Kharche
Hi, I don't' know whether specifying db.properties works or not, but I configured a datasource for mysql as follows: 1. Shutdown tomcat. 2. Enter followin in TOMCAT_HOME/conf/server.xml (If you have an entry in server.xml for this update it as below) Resource name=jdbc/MyDB

RE: Tomcat 5.5 JNDI Question Using Admin

2006-06-28 Thread Jitendra Kharche
Hi Scott, I had also this problem some time back. You need to create a file named context.xml in WEB-APP/META-INF directory. The resource needs to be defined her as follows ?xml version=1.0 encoding=UTF-8? Context Resource name=jdbc/BuilderDB type= password=admin

Using Datasource for cloudscape

2006-06-25 Thread Jitendra Kharche
factory=com.ibm.db2j.jdbc.DB2jConnectionPoolDataSource maxIdle=4 testOnBorrow=true validationQuery=select 1 username=user url=jdbc:db2j:E:/apache-tomcat-5.5.17/webapps/datasourcedemo/SampleDB timeBetweenEvictionRunsMillis=3 maxActive=8/ /Context Regards, Jitendra Kharche

RE: Using Datasource for cloudscape

2006-06-23 Thread Jitendra Kharche
factory=com.ibm.db2j.jdbc.DB2jConnectionPoolDataSource maxIdle=4 testOnBorrow=true validationQuery=select 1 username=user url=jdbc:db2j:E:/apache-tomcat-5.5.17/webapps/datasourcedemo/SampleDB timeBetweenEvictionRunsMillis=3 maxActive=8/ /Context Regards, Jitendra Kharche

RE: Using Datasource for cloudscape

2006-06-22 Thread Jitendra Kharche
Hi Dilan, Have you got all the details about my problem. Regards, Jitendra Kharche -Original Message- From: Jitendra Kharche [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 4:09 PM To: Tomcat Users List Subject: RE: Using Datasource for cloudscape Hi Dilan, Thanks

Tomcat 5.5 and DataSource

2006-06-22 Thread Jitendra Kharche
Hi, Can anybody help me to get a working copy of a simple database application (using DataSource) in Tomcat 5.5? Desperately looking for your help. Regards, Jitendra Kharche - To start a new topic, e-mail: users

RE: Using Datasource for cloudscape

2006-06-21 Thread Jitendra Kharche
validationQuery=select 1 username=user url=jdbc:db2j:E:/apache-tomcat-5.5.17/webapps/datasourcedemo/SampleDB timeBetweenEvictionRunsMillis=3 maxActive=8/ /Context Regards, Jitendra Kharche - To start a new topic, e-mail: users

RE: Using Datasource for cloudscape

2006-06-19 Thread Jitendra Kharche
or resources. Please ask any additional info required. Regards, Jitendra Kharche Geometric Software Solutions Co. Ltd. Work: +91-20-2290 6351 This e-mail communication and any attachments are privileged and confidential