Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] SessionAuthentication class not found


If I change hazelcast AbstractSerializer.loadClass to use WebAppClassLoader.getParent to load SessionAuthentication everything works fine. 

Should hazelcast try WebAppClassLoader.getParent().loadClass for classes that are not found using WebAppClassLoader.loadClass. Seems wrong for me. Or am I not supposed to load the SessionAuthentication from the web app?

I wonder if I am doing the wrong thing or if this should be fixed in hazelcast, my app or jetty. 

Tore Halset.

On Sep 20, 2012, at 1:47 PM, Tore Halset <halset@xxxxxxxxxxx> wrote:

> Hello.
> I am using jetty-distribution-8.1.2.v20120308 and hazelcast-2.3.1WebFilter for session failover.
> During JAAS Form based authentication, we get the following error. However, hazelcast are not able to load the Class for
> Caused by: java.lang.ClassNotFoundException:
> 	at$
> 	at Method)
> 	at
> 	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(
> 	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(
> 	at com.hazelcast.nio.AbstractSerializer.loadClass(
> Does jetty somehow protect the security classes from being loaded from a web app?
> Regards,
> Tore Halset.
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx

Back to the top