db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Ostendorf <chicagok...@gmail.com>
Subject Re: DataSource Tomcat
Date Fri, 10 Dec 2004 16:49:53 GMT
Have a look at the following link.

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html

The resource parameters are a little different.


On Fri, 10 Dec 2004 08:46:44 -0800, Gregory Parent <gregparent@msn.com> wrote:
> Great--thanks!  I'm using Tomcat 5.0--what's the difference?
> 
> >From: Karl Ostendorf <chicagokarl@gmail.com>
> >Reply-To: Karl Ostendorf <chicagokarl@gmail.com>
> >To: Derby Discussion <derby-user@db.apache.org>
> >Subject: Re: DataSource Tomcat
> >Date: Fri, 10 Dec 2004 17:44:04 +0100
> 
> 
> >
> >Yes.  Just add the following as a top-level element in your
> >server.xml.  Be aware that this is the syntax for the Tomcat 5.5.x
> >series, the syntax for 5.0.x is a little different.  Also be sure to
> >add the derby.jar to common/lib.
> >
> >   <GlobalNamingResources>
> >
> >     <Resource name="jdbc/kwo"
> >               auth="Container"
> >               type="javax.sql.DataSource"
> >               driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
> >               url="jdbc:derby:<dbname>"
> >               maxActive="0"
> >               minIdle="1"
> >               maxIdle="5"
> >               maxWait="5000"
> >     />
> >
> >   </GlobalNamingResources>
> >
> >
> >
> >On Thu, 09 Dec 2004 15:33:16 -0800, Gregory Parent <gregparent@msn.com>
> >wrote:
> > > Can derby be configured to use DataSource with Tomcat ?
> > >
> > > Regards
> > >
> > > GP
> > >
> > >
> 
>

Mime
View raw message