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) 3. Enter following in your-web-app/META

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 Note in the above that the value of attribute 'type' should be the DataSource class from your db driver jar. Also

Using Datasource for cloudscape

2006-06-25 Thread Jitendra Kharche
index.jsp default.html default.htm default.jsp jdbc/MyDB javax.sql.DataSource Container *****

RE: Using Datasource for cloudscape

2006-06-23 Thread Jitendra Kharche
index.jsp default.html default.htm default.jsp jdbc/MyDB javax.sql.DataSource Container *****

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-22 Thread Jitendra Kharche
Hi Dilan, Its there - see the second attribute. Regards, Jitendra Kharche Geometric Software Solutions Co. Ltd. Work: +91-20-2290 6351 This e-mail communication and any attachments are privileged and confidential and

RE: Using Datasource for cloudscape

2006-06-21 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 for

RE: Using Datasource for cloudscape

2006-06-21 Thread Jitendra Kharche
bc/MyDB javax.sql.DataSource Container ******** Contents of file CATALINA_HOME/webapps/myApp/META-INF/context.xml **

RE: Using Datasource for cloudscape

2006-06-21 Thread Jitendra Kharche
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 and

RE: Using Datasource for cloudscape

2006-06-19 Thread Jitendra Kharche
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 and

RE: Using Datasource for cloudscape

2006-06-19 Thread Jitendra Kharche
) at com.ibm.db2j.jdbc.DB2jAbstractDataSource.getObjectInstance(Unknown Source) Then I added the resourec-ref entry in web.xml, but I still get the same error. Regards, Jitendra Kharche Geometric Software Solutions Co. Ltd. Work: +91-20-2290 6351

RE: Using Datasource for cloudscape

2006-06-19 Thread Jitendra Kharche
) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:684) at java.lang.Thread.run(Thread.java:595) java.lang.NullPointerExceptionnull Regards, Jitendra Kharche Geometric Software Solutions Co. Ltd. Work: +91-20-2290 6351

Using Datasource for cloudscape

2006-06-19 Thread Jitendra Kharche
LeaderFollowerWorkerThread.runIt(LeaderFollow erWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:684) at java.lang.Thread.run(Thread.java:595) java.lang.NullPointerExceptionnull Please help. Regard