Sorry - it was error on my part. I deleted my db files while server was up and running. My Mac OSX did move the files to Trash - and made me think that the files were deleted! I then unzipped the latest db files. All while the network server was running.
After I realized this - I stopped the network server, cleared the thrash, and unzipped latest db files and everything worked file. -- Thanks, Sandeep 216-926-6696 On Mon, Dec 12, 2011 at 8:48 AM, Rick Hillegas <[email protected]> wrote: > On 12/10/11 1:36 PM, Sandeep Dixit wrote: >> >> Here is the scenario: I have everything working on my local machine. I >> used online backup to create a backup - then tried shutdown and >> restart and everything works fine on my local machine. I zipped it and >> then copied it to my server - however when I try to connect I get the >> following exception: >> >> ERROR XJ040: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, SQLERRMC: >> Failed to start database >> '/usr/local/jboss-5.1.0.GA/server/default/data/derby/oe102011db' with >> class loader sun.misc.Launcher$AppClassLoader@1ba34f2, see the next >> exception for details.::SQLSTATE: XJ001Java exception: ': >> java.lang.IndexOutOfBoundsException'. >> >> >> What am I missing here? Any pointers would be highly appreciated. >> >> Thanks, >> Sandeep >> > Hi Sandeep, > > Does derby.log hold more information, e.g., a longer stack trace? > > Thanks, > -Rick
