Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 84641 - Deployment to Glassfish attempts to run IBM JDBC drivers in Type 2
Deployment to Glassfish attempts to run IBM JDBC drivers in Type 2
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9
All All
: P3 (vote)
Assigned To: Nitya Doraisamy
Depends on:
  Show dependency treegraph
Reported: 2006-09-11 19:43 UTC by _ jimdavidson
Modified: 2009-12-10 12:55 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description _ jimdavidson 2006-09-11 19:43:26 UTC
Using Java Studio Creator Shortfin, build an app using IBM DB2 drivers.  At
design time they are used in Type 4 (pure Java), as are almost all other drivers.

However, when the same application is deployed to Glassfish, the container
attempts to load the drivers as Type 2 (requiring native libraries).  That's a
holdover from an earlier time, and is almost never the right thing to do.

Among other things, different libraries are required for each platform, and do
not exist at all for certain platforms.

This is controlled by adding a property to the Connection Pool, driverType=4. 
That should be set by default on any deployment that uses the DB2 drivers.
Comment 1 Nitya Doraisamy 2006-09-11 20:03:25 UTC
The appserver's documentation seems to indiacte it supports only Type2 drivers.

The plugin uses this as kind of a master list for its mappings.

Comment 2 _ ludo 2006-09-11 21:27:08 UTC
So if this is the case, we cannot use type 4 as the default.
Being J2ee certified is a big process, and I guess type 4 either was not
certified or maybe introduced CTS failures...
Moving ot RFE. Please, escalate if needed for VWP.
Comment 3 Vince Kraemer 2008-10-18 01:12:22 UTC
Do we set the driverType in the CP property list or do we let the server select the default?

If we don't... maybe we should.  I agree that we should set it to the value the server would use to pass CTS.  By
setting it, we make it easier for a user to discover it and leverage driverType=4, if THEY decide that they want to do this?

Also... this issue is over two years old.... what is the CURRENT status for of this in a 9.1/DB2 environment?

Please be ready to discuss this issue on 2008/10/22
Comment 4 Vince Kraemer 2009-12-10 12:55:02 UTC
no bug should be assigned to issues. distributing the load.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo