wood burning stoves 2.0*
The moose likes JDBC and the fly likes another instance of derby have already booted Using JAMES Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "another instance of derby have already booted Using JAMES" Watch "another instance of derby have already booted Using JAMES" New topic
Author

another instance of derby have already booted Using JAMES

qsquare tan
Greenhorn

Joined: Jun 19, 2008
Posts: 1
Hi,

I received this error message "another instance of derby have already booted".

Background: I am using Netbeans IDE 5.5.1 and trying to connect to the user repository database using the embedded Apache Derby database in JAMES.

I had previously succeeded in connected to the database. I then close the JAMES server and Netbeans. After that, when I re-open Netbeans and JAMES server, the connection was lost. So I tried to reconnect but the above error message was received.

Methods I had tried to resolve the matter:
1) Changing the dburl from "jdbc:derby:d:/james-2.3.1/apps/james/var/derbydb;create=true" to "jdbc:derby://localhost:1527/d:/james-2.3.1/apps/james/var/derbydb;create=true"
2) delete the connection and re-do the connection
3) In the config.xml file, Change the dburl from "jdbc:derby:../apps/james/var/derbydb;create=true" to "jdbc:derby:d:/james-2.3.1/apps/james/var/derbydb;create=true"

Thanks in advance!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39409
    
  28
"qsquare tan," please check your private messages for an important administrative matter.

CR
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: another instance of derby have already booted Using JAMES