> > > If I init Turbine, and then hit the Turbine servlet,
> > > BEFORE initialization is finished I get a response
> > > containing error 503.
> >
> > > and get the following error:
> > > Error: 503
> > > Location: /myapp/servlet/Turbine/redirected/true
> > > -1 < 0
> > >
> > > Magnus
> >
> > We also have experienced internal errors from Tomcat
> > occuring on Turbine startup. Usually restarting Tomcat
> > another time fixed the problem. I don't know how to
> > reliably reproduce this condition.
> >
> > I suspect that those errors are not related to the
> > recent changes, because we have been encoutering
> > them for a long time. Any inforomation on the
> > reasons of this errors would be precious.
> >
> > Rafal
> >
>
> As I said, I could reproduce this error reliably.
...
>
> This is fixable in Turbine by encapsulating all the init() code in
> a block that is synchronized(Turbine.class).
>
...
>
> Further, it seems now clear that the init() calls are not synchronized,
> which means that each service needs to implement synchronization,
> in a function called init(). It does not seem intuitive to me.
>
UPDATE:
Encapsulating each of my init() functions in synchronized blocks
does not resolve this bug. Encapsulating the Turbine init()
function does. I am not sure why this is but not being very
familiar with the service network, I would appreciate it if anyone
has any clue.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]