Re: sourceID on JOnAS
Prasad Shenoy <[email protected]> Mon, 26 Jul 2004 14:08:56 -0500
| Newsgroups | gmane.comp.sourceid.sso.devel |
|---|---|
| Message-ID | <[email protected]> |
Seems to be an exception thrown by Castor Marshaller. I have no experience with JOnAS but in general the cause of the error is an unidentified or misformed input to the marshaller. SourceID is expecting the response in par with SAMLP Response but is getiing something else in its place and so is throwing an "Unable to marshall this input" error. Check the org.sourceid.sso.xml.samlp.Response(*).java for details. Also check your "classpath" / environment variabled for your container and make sure that your deployment has all these classes in the org.sourceid.sso.xml package. Check if you have the correct Castor jar in your classpath for JOnAS. --Prasad. On Mon, 26 Jul 2004 16:55:26 +0200, Anne Maze <[email protected]> wrote: > Hello, > > I've dowloaded sourceID.java from http://www.sourceId.org/. The sample > sourceid-sso.war enables to authenticate a user with an IDP Liberty. > sourceid-sso.war works well on Tomcat alone but when I install JOnAS, > the sample doesn't work and I have the following error : > > An error occured. Replace this page (or the pointer in sourceid-sso.xml) > with a "real" error page. > > === Throwable (or Exception) information === > throwable class name: org.exolab.castor.xml.MarshalException > toString(): instantiation error for class: > org.sourceid.sso.xml.samlp.ResponseTypeDescriptor; > java.lang.ClassCastException > getMessage(): instantiation error for class: > org.sourceid.sso.xml.samlp.ResponseTypeDescriptor; > java.lang.ClassCastException > Stack Trace: instantiation error for class: > org.sourceid.sso.xml.samlp.ResponseTypeDescriptor; > java.lang.ClassCastException > at > org.exolab.castor.xml.Marshaller.getClassDescriptor(Marshaller.java:1110) > at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:661) > > Thanks. > > Anne > > _______________________________________________ > sso-dev mailing list > [email protected] > http://mail.sourceid.org/mailman/listinfo/sso-dev > -- ____________________________________ Who ate my software ?