Very strange indeed Scott!
I spent many hours looking for the reason without progress.

SOLUTION:
I removed xmldsig-1.0.jar.

Without xmldsig-1.0.jar everything works just fine.
I'm pretty sure "xmldsig-1.0.jar" is going poke me with an act of vengeance in the future.
So please - if someone else has had this problem, please let me know

- Pablo


Scott Battaglia wrote:
That's strange, I don't believe anything changed between those two versions.  Any chance something in the environment did change?  That's related to a Sun class not being found, not the xmlsec-1.4.0.jar class.

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Mon, Oct 13, 2008 at 6:52 PM, Pablo Millet <[EMAIL PROTECTED]> wrote:
Hi.
I'm running CAS v.3.3 with Google Apps and ran into some problems.

I get:

java.lang.NoClassDefFoundError: com/sun/org/apache/xml/internal/security/utils/UnsyncBufferedOutputStream
       org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory.newReference(DOMXMLSignatureFactory.java:58)
       org.jasig.cas.util.SamlUtils.signSamlElement(SamlUtils.java:110)
       org.jasig.cas.util.SamlUtils.signSamlResponse(SamlUtils.java:79)


I have xmlsec-1.4.0.jar and xmldsig-1.0.jar but
UnsyncBufferedOutputStream is in org.apache.xml.security.utils !?


Sometimes I also get:

org.springframework.web.util.NestedServletException:
Request processing failed; nested exception is org.springframework.webflow.execution.FlowExecutionException:
Exception thrown in state 'redirect' of flow 'login-webflow';
nested exception is java.lang.RuntimeException: Error signing SAML element:
class configured for TransformService: org.jcp.xml.dsig.internal.dom.DOMEnvelopedTransform not a TransformService


*** My env. ***
CAS 3.3
Java 1.5.0_16
Tomcat 5.5 on Win32


ps/
Before I decided to upgrade I was running CAS 3.2.1.1 in the same env.
(With additional SAML-Google-Apps XML security upgrade in
GoogleAccountsService).
That worked just fine!?
/ds

Anyone been there... any ideas?
Thanks.


--
____________________________________________
Pablo Millet
IT-Service
University of Gothenburg

Tel.: 031 – 786 5342
Mob.: 0707 - 10 40 70
www.it.gu.se


_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas


_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas


-- 
____________________________________________
Pablo Millet
IT-Service
Göteborgs universitet

Tel.: 031 – 786 5342
Mob.: 0707 - 10 40 70
www.it.gu.se
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to