Re: AW: Connection between TOMCAT and DB2 (RESOLVED)

2002-07-31 Thread Nishant_Awasthi
Hello Richard.. Now I just tested the all lowercase (sample) and all uppercase (SAMPLE) name of database and it works or both the cases. It showed some strange behaviours..sometime back. AN hour ago I tried to compile using all lowercases and it didn't find the database. then I opted for all Up

Re: AW: Connection between TOMCAT and DB2 (RESOLVED)

2002-07-31 Thread Ryszard Lach
On Wed, Jul 31, 2002 at 01:26:07PM -0400, [EMAIL PROTECTED] wrote: > > Hello all, > > I finally resolved the problem... > Problem lied in the as everyone mentioned Connection URL > Earlier I was using url = "jdbc:db2:sample" > Then I changed it to follwing > and everything worked fine... > > S

Re: AW: Connection between TOMCAT and DB2 (RESOLVED)

2002-07-31 Thread Nishant_Awasthi
Hello all, I finally resolved the problem... Problem lied in the as everyone mentioned Connection URL Earlier I was using url = "jdbc:db2:sample" Then I changed it to follwing and everything worked fine... String url = "jdbc:db2://xxx.xxx.xxx.xxx/SAMPLE"; where xxx.xxx.xxx.xxx is the IP addre

RE: AW: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Michael Remijan
: Re: AW: Connection between TOMCAT and DB2 ??? Hello Ralph, I already have the suitable db2jdbc.dll file in my %SQLLIB%\lib directory It also have all the suitable .jar files in its place. What I think is getting qorng is the URL connection string.. String url = "jdbc:db2:sample"

Re: AW: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Nishant_Awasthi
Hello Ralph, I already have the suitable db2jdbc.dll file in my %SQLLIB%\lib directory It also have all the suitable .jar files in its place. What I think is getting qorng is the URL connection string.. String url = "jdbc:db2:sample" ; I also tried writing follwing in place of above setting:

AW: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Ralph Einfeldt
According to http://www-3.ibm.com/software/data/db2/java/v5/faq.html#q7 it's a native driver. The page also has a list how the libraries are called under wich os. Find this file and add the directory that contains this file to the (library) path. > -Ursprüngliche Nachricht- > Von: [EMA

RE: AW: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Turner, John
1, 2002 10:53 AM To: Tomcat Users List Subject: Re: AW: Connection between TOMCAT and DB2 ??? Hello Ralph Thanks for your suggestion. I tried putting runtime.jar, db2java.jar and sqlj.jar files in %JAVA_HOME%/jre/lib/ext directory. and also in %TOMCAT_HOME%/common/lib directory and restarted TOM

Re: AW: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Nishant_Awasthi
Hello Ralph Thanks for your suggestion. I tried putting runtime.jar, db2java.jar and sqlj.jar files in %JAVA_HOME%/jre/lib/ext directory. and also in %TOMCAT_HOME%/common/lib directory and restarted TOMCAT but it still couldn't find the driver when I try to run the compiled java file it says No

AW: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Ralph Einfeldt
The only place outside the tomcat directories where tomcat will find additional jars is ${JAVA_HOME}/jre/lib/ext. If you can't place the jar file there you have to copy or link the file to a tomcat lib directory. Ralph Einfeldt; Uptime Internet Solution Center GmbH Hamburg, Germany Hosting, Cont