Return-Path: Delivered-To: apmail-jakarta-avalon-phoenix-dev-archive@apache.org Received: (qmail 31338 invoked from network); 19 Jun 2002 23:33:16 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Jun 2002 23:33:15 -0000 Received: (qmail 28307 invoked by uid 97); 19 Jun 2002 23:33:27 -0000 Delivered-To: qmlist-jakarta-archive-avalon-phoenix-dev@jakarta.apache.org Received: (qmail 28174 invoked by uid 97); 19 Jun 2002 23:33:26 -0000 Mailing-List: contact avalon-phoenix-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon-Phoenix Developers List" Reply-To: "Avalon-Phoenix Developers List" Delivered-To: mailing list avalon-phoenix-dev@jakarta.apache.org Received: (qmail 28150 invoked by uid 98); 19 Jun 2002 23:33:25 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Content-Type: text/plain; charset="iso-8859-1" From: Peter Royal To: "Avalon Applications Developers List" Subject: Re: application is NULL Date: Wed, 19 Jun 2002 19:29:56 -0400 X-Mailer: KMail [version 1.3.2] References: <3D10A90D.3881.48FECEEF@localhost> In-Reply-To: <3D10A90D.3881.48FECEEF@localhost> Cc: avalon-phoenix-dev@jakarta.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wednesday 19 June 2002 03:53 pm, bp@dankseeds.org wrote: > > I don't know reason of NPE at this time. > > I try PhoenixServlet in current cvs. It is not works. Installtion is very > > difficult. > > Current SingleAppEmbeddor and PhoenixServlet are broken. > > Not any more ;) check this: > > In the PhoenixServlet init() the Thread that you assigned to the embeddor > doesn't have a chance to get the Application setup properly before it is > used. Thus i just dropped in a 'Thread.sleep(1000)' and gave it a second to > get setup properly. This seems to be a logical fix. Any comments ot the > contrary ? Im guessing this should go on the avalon-dev list also since it > involves internal code. eh, this is avalon-apps-dev, it should do, but I'll crosspost to avalon-phoenix-dev. good work! you figured it out before i had a chance to look at it. If you want to send a patch, that would be superb. It might be good to make the sleep time configurable. -pete -- peter royal -> proyal@apache.org -- To unsubscribe, e-mail: For additional commands, e-mail: