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 87126 - Name of JDBC Resource for Derby is not flexible on GlassFish
Summary: Name of JDBC Resource for Derby is not flexible on GlassFish
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-13 16:41 UTC by Marco Walther
Modified: 2007-08-15 19:19 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 Marco Walther 2006-10-13 16:41:34 UTC
Filed as Sun Bug 6481710

NB 5.5RC1+
VWP

1. Create project.
2. Add Table component.
3. Bind it with Oracle DB.
4. Deploy it to GlassFish. Datasource jdbc/dataSource is created.
5. Remove datasource created for project by Creator from 
GlassFish->Resources->JDBC->JDBS Resources.
6. Open Admin console. Create new JDBC Resource for something else than Derby 
with name jdbc/dataSource.
7. Redeploy project.

Result: Application works well, but pool is changed for jdbc/dataSource.

The information in the 'setup/*' files is unconditionally configured in the 
server, possibly overwriting other information.
Comment 1 Nitya Doraisamy 2007-08-15 19:19:32 UTC
This is by design. The IDE+Plugin ensures that when resources are created during development within IDE, no duplicate
server resources are created. So if a resource with the same name exists on the server, user is prompted that it is a
duplicate.

But if a duplicate resource is created outside of the IDE on the server and the project is deployed, the resources
within the project update the resources on the server.