|
Joel, Here is a link to a previous post that should get you started: http://archive.midrange.com/java400-l/200204/msg00200.html I noticed that in the previous post I left out the following, which has to be added to the web.xml file associated with your application: <resource-ref> <description> Resource reference to a factory for java.sql.Connection instances that may be used for talking to a particular database that is configured in the server.xml file. </description> <res-ref-name>jdbc/as400</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> If you do this in your application Tomcat will set up a connection pool for you. This works fine with either the native or toolbox driver. David Morris >>> jrc@masi-brac.com 06/11/02 12:46PM >>> OK, so how do I do that on the 400? Joel R. Cochran Director of Internet Services VamaNet.com (800)480-8810 mailto:webmaster@vamanet.com > -----Original Message----- > From: David Morris [mailto:David.Morris@plumcreek.com] > Sent: Tuesday, June 11, 2002 2:40 PM > To: java400-l@midrange.com > Subject: Re: AW: OF: what is websphere (locate Tomcat) > > > Dieter, > > That will work fine unless you want to use Tomcat's built in > connection pooling. In that case, you will want to put it in > the boot classpath or in the common classpath so that Tomcat > can have access. > > David Morris
As an Amazon Associate we earn from qualifying purchases.
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.