Re: NullPointerException when Shuting Down Derby

2013-03-28 Thread Dag Wanvik
*From:* Oskar Zinger > *To:* Derby Discussion > *Sent:* Monday, February 25, 2013 2:42 PM > *Subject:* Re: NullPointerException when Shuting Down Derby > > Hi Dag, > > Imagine a two server system, S1 and S2. One is "designated" primary > (S1) and another is seco

Re: NullPointerException when Shuting Down Derby

2013-03-26 Thread Oskar Zinger
o reproduce on a 2-processor system. Thanks, Oskar From: Dag Wanvik To: Derby Discussion Sent: Sunday, February 24, 2013 10:42 PM Subject: Re: NullPointerException when Shuting Down Derby On 31.01.2013 06:13, Oskar Zinger wrote: This is only happenin

Re: NullPointerException when Shuting Down Derby

2013-02-25 Thread Oskar Zinger
Thanks, Oskar From: Dag Wanvik To: Derby Discussion Sent: Sunday, February 24, 2013 10:42 PM Subject: Re: NullPointerException when Shuting Down Derby On 31.01.2013 06:13, Oskar Zinger wrote: This is only happening in a specific scenario when a h

Re: NullPointerException when Shuting Down Derby

2013-02-24 Thread Dag Wanvik
- > *From:* Katherine Marsden > *To:* Derby Discussion > *Sent:* Wednesday, January 30, 2013 2:16 PM > *Subject:* Re: NullPointerException when Shuting Down Derby > > On 1/30/2013 8:38 AM, Oskar Zinger wrote: >> Hi Kathey, >> >>

Re: NullPointerException when Shuting Down Derby

2013-02-22 Thread Katherine Marsden
On 1/30/2013 2:56 PM, Katherine Marsden wrote: On 1/30/2013 12:13 PM, Oskar Zinger wrote: This is only happening in a specific scenario when a host application server failbacks, so what it does is stops a service that manages derby network server, and restarts it. There is no second shutdown,

Re: NullPointerException when Shuting Down Derby

2013-01-30 Thread Katherine Marsden
On 1/30/2013 12:13 PM, Oskar Zinger wrote: This is only happening in a specific scenario when a host application server failbacks, so what it does is stops a service that manages derby network server, and restarts it. There is no second shutdown, because if that was happening I would see dupl

Re: NullPointerException when Shuting Down Derby

2013-01-30 Thread Oskar Zinger
Subject: Re: NullPointerException when Shuting Down Derby On 1/30/2013 8:38 AM, Oskar Zinger wrote: Hi Kathey, > > > >Here is what happens... > > >Yes, this is a multi-threaded system. No, only one shutdown request is >happening. I have not tried with deregister=true.

Re: NullPointerException when Shuting Down Derby

2013-01-30 Thread Katherine Marsden
Katherine Marsden <mailto:kmarsdende...@sbcglobal.net> *To:* Derby Discussion <mailto:derby-user@db.apache.org> *Cc:* Oskar Zinger <mailto:oska...@yahoo.com> *Sent:* Monday, January 28, 2013 4:28 PM *Subject:* Re: NullPointerException when Shuting Down Derby On 1/28/2013

Re: NullPointerException when Shuting Down Derby

2013-01-30 Thread Oskar Zinger
org.apache.derby.impl.store.raw.xact.XactFactory.add() method to check for ttab for null. Regards, Oskar From: Katherine Marsden To: Derby Discussion Cc: Oskar Zinger Sent: Tuesday, January 29, 2013 12:22 AM Subject: Re: NullPointerException when Shuting Down Derby

Re: NullPointerException when Shuting Down Derby

2013-01-28 Thread Katherine Marsden
:* Derby Discussion *Cc:* Oskar Zinger *Sent:* Monday, January 28, 2013 4:28 PM *Subject:* Re: NullPointerException when Shuting Down Derby On 1/28/2013 12:52 PM, Oskar Zinger wrote: When I do the following it sometimes returns a NullPointerException: DriverManager.getConnection("jdbc:

Re: NullPointerException when Shuting Down Derby

2013-01-28 Thread Oskar Zinger
Discussion Cc: Oskar Zinger Sent: Monday, January 28, 2013 4:28 PM Subject: Re: NullPointerException when Shuting Down Derby On 1/28/2013 12:52 PM, Oskar Zinger wrote: When I do the following it sometimes returns a NullPointerException: > > >  DriverManager.getConnection("jdbc:d

Re: NullPointerException when Shuting Down Derby

2013-01-28 Thread Katherine Marsden
On 1/28/2013 12:52 PM, Oskar Zinger wrote: When I do the following it sometimes returns a NullPointerException: DriverManager.getConnection("jdbc:derby:;shutdown=true;deregister=false"); Here is the exception stack trace: Caused by: java.lang.NullPointerException at org.apache.derby.impl.store