Hello.

Thank you very much, it worked very well!

Regards,
Tore Halset.

On Oct 6, 2012, at 1:46 AM, Jan Bartel <[email protected]> wrote:

> Tore,
> 
> I think you'll find your answers here:
> http://wiki.eclipse.org/Jetty/Reference/Jetty_Classloading
> 
> Jan
> 
> On 5 October 2012 22:18, Tore Halset <[email protected]> wrote:
>> Hello.
>> 
>> Have tried with 8.1.7 and got the same problem.
>> 
>> Do you think this looks like a problem with jetty that I should report to 
>> the bugtracker or am I doing something stupid?
>> 
>> Regards,
>> Tore Halset.
>> 
>> 
>> On Sep 27, 2012, at 6:42 PM, Tore Halset <[email protected]> wrote:
>> 
>>> Hello.
>>> 
>>> 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.
>>> 
>>> Regards,
>>> Tore Halset.
>>> 
>>> On Sep 20, 2012, at 1:47 PM, Tore Halset <[email protected]> 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 
>>>> org.eclipse.jetty.security.authentication.SessionAuthentication.
>>>> 
>>>> Caused by: java.lang.ClassNotFoundException: 
>>>> org.eclipse.jetty.security.authentication.SessionAuthentication
>>>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>>>     at java.security.AccessController.doPrivileged(Native Method)
>>>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>>     at 
>>>> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:415)
>>>>     at 
>>>> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)
>>>>     at 
>>>> com.hazelcast.nio.AbstractSerializer.loadClass(AbstractSerializer.java:81)
>>>> 
>>>> Does jetty somehow protect the security classes from being loaded from a 
>>>> web app?
>>>> 
>>>> Regards,
>>>> Tore Halset.
>>>> _______________________________________________
>>>> jetty-users mailing list
>>>> [email protected]
>>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>> 
>>> 
>>> _______________________________________________
>>> jetty-users mailing list
>>> [email protected]
>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>> 
>> 
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
> 
> 
> 
> -- 
> Jan Bartel <[email protected]>
> www.webtide.com – Developer advice, services and support
> from the Jetty & CometD experts.
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
> 

_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to