Restart Eclipse after adding DB2 driver files for a successful connection to a DB2 data source ? [message #195834] |
Mon, 16 October 2006 18:04 |
Eclipse User |
|
|
|
I was trying to create a BIRT report using a DB2 Express-C database.
First, I added the DB2 driver db2jcc.jar and then tried to connect to a
database. I got the following error asking to add the license jar:
"No license was found. An appropriate license file db2jcc_license_*.jar
must be provided in the CLASSPATH setting."
I added the license jar to the list of drivers and then tried to connect
but got the same license error. To resolve this, I tried few things and
when nothing worked I restarted Eclipse. After restart, I could
successfully connect to the DB2 database.
I found that if I add both the jars (db2jcc.jar and
db2jcc_license_*.jar) together when I create a DB2 data source, I can
get a connection without restarting Eclipse. However, if I add only the
driver jar first and as next step add the license jar, then I have to
restart Eclipse to be able to successfully connect to a DB2 database. I
am using BIRT 2.1.1 all-in-one package.
Is this is a known problem ?
Thanks,
Deepa
|
|
|
Powered by
FUDForum. Page generated in 0.10645 seconds