-
1. Re: JDBC Driver classes not found on Solaris
crypto Apr 22, 2002 5:27 PM (in response to pvgorp)Pieter,
make sure you make the right changes to the jboss.jcml
especially the driver setting
which should be the COM.ibm.db2.jdbc.app.DB2Driver
and the db2java.zip file from the sqllib folder should be on the classpath of JBoss.
I am running JBoss on Solaris 8 against a DB2 on production systems so if you need more info, mail me tomorrow.
Werner -
2. Re: JDBC Driver classes not found on Solaris
pvgorp Apr 22, 2002 5:34 PM (in response to pvgorp)> especially the driver setting
> which should be the COM.ibm.db2.jdbc.app.DB2Driver
Hey this amazes me: I've always experienced (with WL & DB2's admin tools) that the app driver only worked locally... that's why I didn't try it this time. Well it's never to late to try it again... Thanks Werner!
> and the db2java.zip file from the sqllib folder
> should be on the classpath of JBoss.
done
> I am running JBoss on Solaris 8 against a DB2 on
> production systems so if you need more info, mail me
> tomorrow.
great -
3. Re: JDBC Driver classes not found on Solaris
pvgorp Apr 22, 2002 7:41 PM (in response to pvgorp)Problem solved!
> especially the driver setting
> which should be the COM.ibm.db2.jdbc.app.DB2Driver
Werner, I did not use the app driver after all. The net driver is doing fine. The problem was caused by the following error:
| COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver]
| CLI0621E Unsupported JDBC Server configuration
IBM's website learned me that it was a driver version problem. I've only got one DB2 installation CD, but I had used the db2java.zip from an earlier installation (another machine). Quite tricky :)
Pieter. -
4. Re: JDBC Driver classes not found on Solaris
pvgorp Apr 23, 2002 3:06 AM (in response to pvgorp)It's much more likely that the bad db2java.zip came from an evaluation download of DB2 I once used (=> personal edition or something like that) whereas the DB2 instance I'm using righ now is the Enterprise Edition. So it wasn't so weird after all. I hope this can help others.
Regards,
Pieter. -
5. Re: JDBC Driver classes not found on Solaris
rschiavi Jul 18, 2002 9:00 PM (in response to pvgorp)
what/where is the JBoss classpath defined?
thanks,
rich