db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrique Gomes <li...@farol.co.pt>
Subject Re: Database not found while in Tomcat / jsp
Date Wed, 10 Nov 2004 16:16:50 GMT

On Nov 10, 2004, at 11:07, SML wrote:
>
> The derby database files are located in the project's WEB-INF/lib 
> directory and the jsp page is located in a directory just under the 
> root.
>

> 	Connection conn = 
> DriverManager.getConnection("jdbc:derby:RecordAppDB;")

Wy don't you try jdbc:derby:WEB-INF/lib/RecordAppDB ?
I don't think there is any thing magic about the WEB-INF/lib that would 
make derby find the database
there auto magically.

If that still doesn't work, you will need to find the absolute path.

---
Henrique Gomes
hmng@farol.co.pt


Mime
View raw message