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
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
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 ???
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"
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:
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
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
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
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