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: Database not found while in Tomcat / jsp
Date Thu, 11 Nov 2004 12:46:12 GMT
I'm still working with the Cloudscape 10 beta but Derby should support
something similar:

add the -Dcloudscape.system.home=xxx system property to the JAVA_OPTS
when starting tomcat.  You can then use simple urls like
jdbc:cloudscape:mydb


On Thu, 11 Nov 2004 11:34:35 +0000, Henrique Gomes <lists@farol.co.pt> wrote:
> On Nov 11, 2004, at 7:23, SML wrote:
> > Thanks. No relative path worked, but the absolute from / did. Is there
> > anything that I could do that would make a relative path work? This is
> > a
> > school project which I'm developing on Linux, and it will be displayed
> > in class on a Windows machine ... and I don't think / vs. C:/ will
> > translate :)
> >
> 
> Look into ServletContext.getRealPath()
> 
> 
> 
> 
> ---
> Henrique Gomes
> hmng@farol.co.pt
> 
>

Mime
View raw message