From: "Stephen McConnell" <[EMAIL PROTECTED]>
> 
> Looking at the error message here it appears the the context classloader 
> is not being supplied as the parent classloader to the jetty http 
> context. I don't know much about jetty but based on a browse though the 
> javadocs my guess is that you need to do something like:
> 
>   // create the web app context (using whatever approach your
>   // currently using - the following is only illustrative)
> 
>   WebApplicationContext context = new WebApplicationContext();
> 
>   // this is the important bit
>   // set the parent classloader using the classloader merlin
>   // has assigned to the container thread
> 
>   context.setParentClassLoader( 
> Thread.currentThread().getContextClassLoader() );
> 
> This should ensure that the classloader assigned to the container is 
> established as the parent classloader for the jetty HTTPContext.
> 

Sounds right on the money.  I'll give it a whirl, and post back my results.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to