On a shared webserver, Tomcat users do not have access to server.xml or common/lib. What do we do to use derby in our own website only? Without effecting others? I can only edit web.xml and put jars in WEB-INF/lib.
Regards,
Arda
 


Karl Ostendorf <chicagokarl@gmail.com> wrote:
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 wrote:
> Great--thanks! I'm using Tomcat 5.0--what's the difference?
>
> >From: Karl Ostendorf
> >Reply-To: Karl Ostendorf
> >To: Derby Discussion
> >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.
> >
> >
> >
> > > > auth="Container"
> > type="javax.sql.DataSource"
> > driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
> > url="jdbc:derby:"
> > maxActive="0"
> > minIdle="1"
> > maxIdle="5"
> > maxWait="5000"
> > />
> >
> >

> >
> >
> >
> >On Thu, 09 Dec 2004 15:33:16 -0800, Gregory Parent
> >wrote:
> > > Can derby be configured to use DataSource with Tomcat ?
> > >
> > > Regards
> > >
> > > GP
> > >
> > >
>
>


Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search. Learn more.