× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Greetings,

I am attempting to use the Struts 1.0.2 JDBC connection pool using the
native DB2 drivers for the AS400.  I have configured the struts-config.xml
file as such

<!-- ========================= Data Sources =============================
-->

  <data-sources>
    <data-source>
      <set-property property="autoCommit"
                       value="true"/>
      <set-property property="description"
                       value="DB2 Datasource"/>
      <set-property property="driverClass"
                       value="com.ibm.db2.jdbc.app.DB2Driver"/>
      <set-property property="maxCount"
                       value="10"/>
      <set-property property="minCount"
                       value="2"/>
      <set-property property="password"
                       value="xxxxxxxxxx"/>
      <set-property property="url"
                       value="jdbc:db2:*local"/>
      <set-property property="user"
                       value="xxxxxxxxxx"/>
    </data-source>
  </data-sources>

The application(s) works fine as long as all the necessary tables (files)
are in the first library in the user profile library list.  It will not look
at any libraries in the initial library list however and cannot locate any
tables in any other library in the library list for the user specified.  I
want to avoid using hard coded library references in when defining my
prepared statements.  Has anyone ran into this or have any sugestions?

Addition information: I am using Webshpere 3.5.3 running on iSeries OS 5.2

Stephen Gibson

Lees Carpets - IT Department
A Division of Burlington Industries
3330 West Friendly Avenue
Greensboro, NC 27410

Phone 336.379.2728
gibson.stephen@burlington.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.