Rickard �berg wrote:
>
> Hey
>
> Sebastien Alborini wrote:
> > I finally found a way: if I change EmbeddedTomcatService.startService
> > to do exactly the same, but in a separate thread, everything is ok (that
> > is, other services see jndi.properties, standardjboss.xml...). I can't
> > say I understand what's going on, but whatever works works :)
>
> While I still had the old version without thread spawning I managed to
> find the problem: the Jdk12Interceptor is buggy. It sets the classloader
> to its own AdaptiveClassLoader, but it does not reset it to the prior
> one when it is done (there's even a comment "this is not needed"...
> right..).
>
> I will change the TomcatService to not spawn a thread, and reset the
> context classloader forcefully after Tomcat has been started. Sebastien,
> can you do the same with the EmbeddedTomcatService?
Done, good catch!
Sebastien
>
> In CVS shortly.
>
> regards,
> Rickard
>
> --
> Rickard �berg
>
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com