OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | Febuary 2007 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [jonas] Classloader issue with eXo platform SSO component


Hello,

thanks to Brice, I have the solution to this issue !
If you have the same, you must know that in order to get exo-cas-2 to work under JOnAS when deploying with maven from the source code, you have to delete this file :


$JONAS_ROOT/lib/apps/cas-2.0.12.jar

as it is present patched within exo-cas-2.war/WEB-INF/lib.

Best regards,
Nicolas Pays.

Nicolas Pays a écrit :
Hello,

Thanks for the help :)

They're is a jar in WEB-INF/lib, which is a patched version of a jar already in apps/lib.
I've put it in apps/lib, taking the unpatched one out. Doesn't change a thing.


exo-cas-2 is a really classical web app, with some jsps, a few classes, a well written web.xml.
The class not found is in WEB-INF/classes/etc... , and defined in web.xml.
So he must read the web.xml and crash at the first class he tries to instanciante.


I downloaded latest nighlty build, built it, and just "mvn -f product-exo-ecm-bonita.xml ...", so this is a fresh deploy, i didn't change any configuration yet.

And it works fine out of the box for with tomcat. I really don't understand ...

Best Regards,
Nicolas.

PS : is it okay if I go on using two mailing lists as it may concern other eXo platform users as well ?

brice.revenant@xxxxxxxx a écrit :
Hi Nicolas,

Does exo-cas-2.war includes jars in WEB-INF/lib ? If yes, try to copy them
into $JONAS_ROOT/lib/apps.


Regards,
-Brice.

--
Brice REVENANT
Bull, Architect of an Open World TM
http://www.bull.com

This e-mail contains material that is confidential for the sole use of the
intended recipient. Any review, reliance or distribution by others or
forwarding without express permission is strictly prohibited. If you are
not the intended recipient, please contact the sender and delete all
copies.




Nicolas Pays <nicolas.pays@thale Pour : sgroup.com> cc : exoplatform@xxxxxxxxxxxxx, jonas@xxxxxxxxxxxxx Objet : Re: [exoplatform] Classloader issue with eXo platform SSO component 21/02/2007 14:44



I've tried to take exo-cas-2 out of exoplatform.ear, put it in webapps,
loaded it without any problem through jonasAdmin, and got the same
exception when trying to reach it...
I'me gonna put a standalone tomcat just for CAS for the moment, but this
is ... not right :s

Nicolas Pays a écrit :
Hello,

I do have a strange problem with eXo platform SSO component CAS (from
stable to last nightly build) and Jonas (4.7.6 or 4.8.4).
My configuration is really basic : exo-cas-2 is a war present in
exoplatform.ear which is present in apps/autoload in jonas, along with
other exo modules, like ecm.
everything is set ok in META-INF/application.xml.
Jonas starts with no error messages.
exo ecm works fine on /ecm.
but when I try to reach /exo-cas-2, I get this stacktrace :

[ERROR] [Login] - Allocate exception for servlet Login
<javax.servlet.ServletException: java.lang.ClassNotFoundException:
org.esupportail.cas.server.GenericHandler>javax.servlet.ServletException:



java.lang.ClassNotFoundException:
org.esupportail.cas.server.GenericHandler
       at edu.yale.its.tp.cas.servlet.Login.init(Login.java:61)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


       at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


       at java.lang.reflect.Method.invoke(Method.java:585)
       at
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)

So, looks like a classloader issue, as this class is present, i checked.
Everything goes fine with tomca alone.


What could I have missed ?
Any idea to solve this problem ? (take exo-cas out of exo.ear and in
tomcat webapps ?)

I can still have exo-cas-2 alone in its own tomcat, but if the
solution is straightforward ...

Best Regards,
Nicolas Pays.
--
You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

begin:vcard
fn:Nicolas Pays
n:Pays;Nicolas
org:THALES
adr;dom:;;RD 128;Palaiseau Cedex;;91767
email;internet:nicolas.pays@xxxxxxxxxxxxxxx
title:IT Open Source Architect - ThereSIS
version:2.1
end:vcard



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.