If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Issues Setting up DB2 Connection Pooling

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-11-10, 11:30
David.Crook David.Crook is offline
Registered User
 
Join Date: Jun 2010
Posts: 1
Issues Setting up DB2 Connection Pooling

Hi All,

I am attempting to set up DB2 Connection pooling using the class, DB2ConnectionPoolDataSource, unfortunately there is very minimal documentation on this class.

I have the correct .jar file, and the system is looking for it in the correct place. My problem is getting the correct properties for it. I am attempting to use the "url", "username", and "password" properties, however the "url" one does not seem to work, I am getting the error message:
"
Invalid property 'url' of bean class [com.ibm.db2.jcc.DB2ConnectionPoolDataSource]: Bean property 'url' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
"

Any amount of help would be much appreciated.
Thanks,
~Dave
Edit/Delete Message
Reply With Quote
  #2 (permalink)  
Old 06-11-10, 18:40
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Where did you find the "url" property? I don't think it's specified: Properties for the IBM Data Server Driver for JDBC and SQLJ - IBM DB2 9.7 for Linux, UNIX, and Windows
Reply With Quote
Reply

Tags
connection, db2, ibm, pool, pooling

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On