This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 86464 - Cloudscape driver seems to be used incorrectly
Summary: Cloudscape driver seems to be used incorrectly
Status: RESOLVED WONTFIX
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-04 14:31 UTC by Alexander Kouznetsov
Modified: 2008-10-07 18:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2006-10-04 14:31:28 UTC
I tried to use CloudScape 5.1.60.17 driver which comes with IBM WebSphere Application Server - Express 6.0 from the IDE and failed. There are two drivers - to use locally on the same machine with the DB server and another one to use through the network. The latter one works, the former one fails.

Steps to reproduce:
- Install IBM WebSphere Application Server - Express 6.0
- Run IDE
- Right-click Databases > Drivers node and select Add Driver in Runtime window
- Add %WEBSPHERE_INSTALL_DIR%/cloudscape/lib/db2j.jar driver file
- Click Find Driver
- Select com.ibm.db2j.jdbc.DB2jDriver as Driver Class
- Name it "CloudScape Driver" and click OK
- Create New Database using CloudScape cview tool (Don't forget to shutdown the database)
- Try to connect to it using CloudScape Driver using URL of form "jdbc:db2j:%DATABASE_DIR%"
- Click OK - The wizard successfully connects and reads schemas name.
- Select APP schema and click OK
- RESULT: Unable to add connection error dialog is shown. It seems that IDE obtained lock to this DB and lost it. Until you restard IDE you will not be able to connect to this DB using any of drivers cause the DB would be in use.

The workaround is to use Network version of driver, but I have no idea why the former driver doesn't work
Comment 1 Andrei Badea 2007-02-15 10:44:52 UTC
Similar to issue 85339.
Comment 2 David Vancouvering 2008-01-09 22:54:25 UTC
mrkam: Is support for this driver still needed?  Just checking in.

Thanks,

David
Comment 3 David Vancouvering 2008-10-07 18:44:09 UTC
Cloudscape is no longer even supported by IBM - they only do Apache Derby.  Closing.