> 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.
try
{
m_embeddor = new SingleAppEmbeddor();
if ( m_embeddor instanceof Parameterizable )
{
((Parameterizable)m_embeddor).parameterize(
m_parameters );
}
m_embeddor.initialize();
new Thread( this ).start();
// Added a pause so the Application can start up properly.
Thread.sleep(1000);
}
catch ( final Throwable throwable )
{
<SNIP>
}
BP
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>