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 - Redundant URL property for JDBC Connection Pool
Summary: Redundant URL property for JDBC Connection Pool
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: PC All
: P3 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 08:55 UTC by arungupta
Modified: 2013-05-14 14:36 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.