Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2010
    Posts
    1

    Unanswered: 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

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    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

  3. #3
    Join Date
    Feb 2004
    Location
    earth
    Posts
    96
    Most probably, he get the url which is similar from this site.
    Pooled Connection Example : Connection Pool**Database SQL JDBC**Java

    I am facing the same issue now, I could not get the data source connection work with db2.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •