× 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.



Thanks David,

I'll have to keep looking into this.  I have a bunch of Java Classes that
access the same DB and I naively thought I would be able to cut-n-paste some
of the logic, but maybe not.

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 3:33 PM
> To: java400-l@midrange.com
> Subject: RE: AW: OF: what is websphere (locate Tomcat)
>
>
> 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
>
> _______________________________________________
> This is the Java Programming on and around the iSeries /
> AS400 (JAVA400-L) mailing list
> To post a message email: JAVA400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
> or email: JAVA400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.