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 98306 - Parameters for Derby's connection pool are changed
Summary: Parameters for Derby's connection pool are changed
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-20 11:37 UTC by Roman Mostyka
Modified: 2007-09-22 00:56 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 Roman Mostyka 2007-03-20 11:37:47 UTC
1. Create first Visual Web Application.
2. Add 'Table' component to the page.
3. Bind it with table from Derby DB, which uses one login and password.
4. Deploy application to GlassFish.
5. Create second Visual Web Application.
6. Add 'Table' component to the page.
7. Bind it with table from Derby DB, which uses another (different) login and
password.
8. Deploy application to GlassFish.

Result: Connection pool for first application is still here, but for second isn't.
But parameters of first application's connection pool are changed fot second
application.
Comment 1 Nitya Doraisamy 2007-08-06 21:27:29 UTC
Name of Connection pools on appserver need to be unique. Both the projects are deploying connection pools with the same
name and hence the resource is overwritten on the server. 

The plugin should update its resource creation to check resources on server before creating resource name.
Comment 2 Nitya Doraisamy 2007-09-22 00:56:27 UTC
IDE/Plugin behaves as expected.