Skip to main content

not able to connect to DB2 when using com.sun.sql.jdbcx.db2.DB2DataSource

1 reply [Last post]
anandgverma
Offline
Joined: 2005-08-05

Hi All,

I am trying to connect to DB2 using a Web application. The application is hosted on glassfish running on Linux.
The Appserver is configured to use com.sun.sql.jdbcx.db2.DB2DataSource. Ping is successful from the admin console.
However if I access it from the webpage then it gives following error:
[sunm][DB2 JDBC Driver]This driver is locked for use with embedded applications.
[sunm][DB2 JDBC Driver]This driver is locked for use with embedded applications.

Any help will be highly appreciated

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vbkraemer
Offline
Joined: 2003-09-03

It appears that this has been answered in this thread:

http://swforums.sun.com/jive/thread.jspa?threadID=64448