You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by Scott Semyan <se...@bea.com> on 2005/03/10 19:10:13 UTC

Derby + Tomcat

Hello. I am trying to incorporate Derby into my Tomcat instance and not
sure how to proceed. I have a DB control that I would like to change
over to using Derby. It is currently using PostgreSQL which is running
as a separate service. If I want to use Derby (the proper way), I assume
I need to have Derby start up with Tomcat, but I'm not sure how to
enable this. I've looked at the EmployeeWS sample which uses derby but I
can't get it to run. I'm assuming I need to add a reference somewhere in
my Tomcat config?
 
 
Scott Semyan

Re: Derby + Tomcat

Posted by Eddie O'Neil <ek...@bea.com>.
Scott--

   I've got this working -- Derby starts when the webapp deploys and the 
database can be created there as well.

   I'll send you a sample.

Eddie

Scott Semyan wrote:
> Hello. I am trying to incorporate Derby into my Tomcat instance and not
> sure how to proceed. I have a DB control that I would like to change
> over to using Derby. It is currently using PostgreSQL which is running
> as a separate service. If I want to use Derby (the proper way), I assume
> I need to have Derby start up with Tomcat, but I'm not sure how to
> enable this. I've looked at the EmployeeWS sample which uses derby but I
> can't get it to run. I'm assuming I need to add a reference somewhere in
> my Tomcat config?
>  
>  
> Scott Semyan
>