-
1. Re: DB2 config problem
subsstuff May 20, 2002 3:01 PM (in response to subsstuff)Sorry, just one more q:
I would have to somehow specify that the driver I want to use is
"COM.ibm.db2.jdbc.net.DB2Driver"
Where is this done?
I have created directory called "ext" in the JBOSS_HOME/lib directory...
Thanks again!
Kenny -
2. Re: DB2 config problem
subsstuff May 20, 2002 3:02 PM (in response to subsstuff)Sorry its a late night! I creted that directory and copied the db2java.zip library in.
K -
3. Re: DB2 config problem
dmulej May 20, 2002 4:41 PM (in response to subsstuff)Hi!
a. you need DB2 config file (it comes with jboss-3RC2).
I named it db2ds-service.xml and put it in $JBOSS_HOME$/server/default/deploy.
b. Put db2java.zip in $JBOSS_HOME$/lib
hope it will help!
Regards Darko -
4. Re: DB2 config problem
subsstuff May 23, 2002 7:51 AM (in response to subsstuff)Thanks!
That seems to do the trick.
Now I can deploy no problem - just need to write a tet client. Are there any code samples for this?
Kenny -
5. Re: DB2 config problem
rschiavi Jul 18, 2002 9:33 PM (in response to subsstuff)
is your db2java.zip in say c:/jboss/lib ??
man, i'm putting mine in JBOSS_HOME/lib but when i try to create a connection off my datasource (found fine with jndi), i get classnot found . . . .
if i put db2.java.zip in jboss/server/default/lib i get all kinda wierd startup errors with some jndi.DB2Context thing trying to load.
rich