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 56997 - After change JDBC connection pool the connection isn't registered automatically
Summary: After change JDBC connection pool the connection isn't registered automatically
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 14:14 UTC by Petr Blaha
Modified: 2006-03-24 13:00 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 Petr Blaha 2005-03-25 14:14:20 UTC
[Build 20050324]
Steps to reproduce:
1) generate CMP bean from database, connection pool and datasource are generated
2) select node representing connection pool in project tab
3) open properties and change JDBC connection pool name close properties panel
4) rename connection pool node
5) change JNDI name of datasource and JDBC connection pool in datasource's
properties panel
6) rename datasource node
7) change cmp-resource jndi name element in sun-ejb-jar.xml 
8) deploy application
9) go tu runtime tab and check jdbc datasource and connection pool
Connection pool with old name is created, the datasource isn't registered.
Comment 1 Nitya Doraisamy 2005-03-25 22:47:26 UTC
All JDBC Connection Pools in the project should be registered first before the
other resources. Datasource is not getting created because, server cannot find
the required pool resource. Needs to be fixed.

Cannot reproduce case whre connection pool with old name is being created.
Please recheck.
Comment 2 Nitya Doraisamy 2005-03-25 22:58:55 UTC
Fixed in plugin. WIll be pushed to Netbean by Ludo today.
Comment 3 Petr Blaha 2005-04-21 09:40:27 UTC
[netbeans41 RC1]