db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <knut.hat...@oracle.com>
Subject Re: Disconnecting Derby and TDD
Date Thu, 12 Jul 2012 08:35:03 GMT
Matthew Hauck <hauckma@us.ibm.com> writes:

> I am writing about the well known error: "Failed to start database
> '...' with class loader ..."  I realize that you cannot have two
> simultaneous connections from two different JVMs to a derby embedded
> database. My question is whether or not it is possible to disconnect
> / "unload" / "unboot" one connection in order to load up the other
> one, etc. Or does the first JVM have to entirely stop before the next
> one can make a connection?

Hi Matt,

You can shut down a database without stopping the JVM, and then it
should be possible to boot it in another JVM. Details here:

Knut Anders

View raw message