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 198904

Summary: Redundant URL property for JDBC Connection Pool
Product: serverplugins Reporter: arungupta <arungupta>
Component: GlassFishAssignee: TomasKraus
Status: NEW ---    
Severity: normal CC: pjiricka
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description arungupta 2011-05-26 08:55:22 UTC
Create a new JDBC connection pool using "GlassFish" category and here is how it looks like:

  <jdbc-connection-pool  ...>
    <property name="URL" value="jdbc:derby://localhost:1527/sun-appserv-samples"/>
    <property name="serverName" value="localhost"/>
    <property name="PortNumber" value="1527"/>
    <property name="DatabaseName" value="sun-appserv-samples"/>
    <property name="User" value="APP"/>
    <property name="Password" value="APP"/>
  </jdbc-connection-pool>

The first property of "URL" is redundant cause all the information already exists in the subsequent properties.
Comment 1 Sergey Petrov 2011-05-26 10:56:09 UTC
what wizards/steps/manus are used to create jdbc pool? I wonder if it's persistence related issue.
Comment 2 arungupta 2011-05-26 12:22:48 UTC
Already mentioned in the bug report.

"Other" -> "GlassFish" -> "JDBC Resource" and create the pool as part of that.