Skip to main content



      Home
Home » Archived » BIRT » Restart Eclipse after adding DB2 driver files for a successful connection to a DB2 data source ?
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 UserFriend
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
Previous Topic:BIRT 2.1.1 bug: reportContext.getHttpServletRequest() sometimes returns null
Next Topic:Use custom fonts for pdf
Goto Forum:
  


Current Time: Thu Jul 17 13:42:22 EDT 2025

Powered by FUDForum. Page generated in 0.10645 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top