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 68822 - with appserver8.2+derby, Create CMP beans from DB register invalid ConnectionPool
Summary: with appserver8.2+derby, Create CMP beans from DB register invalid Connection...
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-16 15:38 UTC by Jan Horvath
Modified: 2005-12-20 16:07 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 Jan Horvath 2005-11-16 15:38:18 UTC
DataSource is org.apache.derby.jdbc.EmbeddedDataSource but should be 
org.apache.derby.jdbc.ClientDataSource. 
Url is invalid, and in extra properties is missing serverName and databaseName.
Comment 1 Nitya Doraisamy 2005-11-16 19:24:59 UTC
Both datasources are valid datasources. The plugin should be updated to provide
two options
as indicated in Databases node - Apache Derby (Net) and Apache Derby (Embedded)
Comment 2 Petr Blaha 2005-11-18 08:38:02 UTC
I agree that both options are valid but I think that more often use case for
J2EE applications is Net mode. Therefore, I suggest to update DataSource class
name and connection options for Net mode for NetBeans 5.0. Since the NetBeans
5.0 FCS will support App server 8.2 with bundled Derby this feautire should
definitelly work in NetBeans 5.0 FCS.

I tested the connection pool with these parameters:
<property name="PortNumber" value="1527"/>
<property name="Password" value="passw"/>
<property name="User" value="blaha"/>
<property name="serverName" value="localhost"/>
<property name="DatabaseName" value="DEMO"/>
datasource-classname="org.apache.derby.jdbc.ClientDataSource"
Comment 3 Nitya Doraisamy 2005-11-18 17:57:44 UTC
Updated plugin to handle Apache Derby (Net) for both resource wizards and
automatic resource creation
Comment 4 Jan Horvath 2005-12-20 16:07:22 UTC
v