|
From: Bill L. <bli...@to...> - 2003-04-24 15:42:02
|
Hi Leif- That was it! FYI, I added this line to my config file: wrapper.java.library.path.2=3DC:\Progra~1\SQLLIB\bin and the program ran fine. Thanks again for the help, thanks for the cool product, and sorry for the incomplete subject line! -Bill > -----Original Message----- > From: Leif Mortenson [mailto:le...@ta...]=20 > Sent: Thursday, April 24, 2003 10:12 AM > To: wra...@li... > Subject: Re: [Wrapper-user] Getting >=20 >=20 > Bill, > Does the DB2 driver have a native library that it is loading? I=20 > noticed that > in your batch file you are not specifying a library path. This means=20 > that the > JVM will be using its default library path. >=20 > In the case of the Wrapper, you are specifying a library path of=20 > "../lib". > Most likely that is where your Wrapper.DLL file is located. =20 > If you want to > run the exact same command in your batch file as is used by=20 > the wrapper, > you should copy the exact command from the Wrapper debug output into > a batch file and then remove the -Dwrapper.key property. > =20 > Give that a try. I bet you will find that you get the=20 > same failure.=20 > If so, > figure out where the DB2 native libraries are located and add them to > the library path. My guess is that that will fix things for=20 > you. (I am=20 > going > off of memory about the DB2 driver having a native component. Let > me know if I am wrong.) > You can see any native calls by adding the -verbose:jni=20 > argument to > the JVM when you launch it. It doesn't tell you where the DLLs are > located however. >=20 > Cheers, > Leif >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user >=20 |