This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 81872 - can't execute stocksample: ClassNotFoundException: com/sun/identity/wss/security/STRTransform
Summary: can't execute stocksample: ClassNotFoundException: com/sun/identity/wss/secur...
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Srividhya Narayanan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-03 23:25 UTC by Viktor Lapitski
Modified: 2006-08-31 01:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception from AS log (28.28 KB, application/octet-stream)
2006-08-03 23:26 UTC, Viktor Lapitski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Lapitski 2006-08-03 23:25:50 UTC
Build 060802_10. 

Configured sample for SAML-SenderVouches with "Use default keystore".
Execution failed with the following exception on server (only excerpt of the
exceptions, for full listing see attachment):

java.lang.ClassNotFoundException: com/sun/identity/wss/security/STRTransform
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at
com.sun.org.apache.xml.internal.security.transforms.Transform.register(Transform.java:272)
        at com.sun.identity.wss.security.STRTransform.<clinit>(STRTransform.java:77)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at
com.sun.identity.saml.xmlsig.AMSignatureProvider.class$(AMSignatureProvider.java:138)
        at
com.sun.identity.saml.xmlsig.AMSignatureProvider.<init>(AMSignatureProvider.java:137)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:506)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at
com.sun.identity.saml.xmlsig.XMLSignatureManager.<init>(XMLSignatureManager.java:64)
        at
com.sun.identity.saml.xmlsig.XMLSignatureManager.getInstance(XMLSignatureManager.java:93)
        at
com.sun.identity.wss.security.AMTokenProvider.<init>(AMTokenProvider.java:100)
        at
com.sun.identity.wss.security.SecurityTokenFactory.getInstance(SecurityTokenFactory.java:83)
        at
com.sun.identity.wss.security.handler.SOAPRequestHandler.getSecurityToken(SOAPRequestHandler.java:536)
        at
com.sun.identity.wss.security.handler.SOAPRequestHandler.secureRequest(SOAPRequestHandler.java:327)
        at
com.sun.identity.agents.jsr196.as9soap.AMClientAuthModule.secureRequest(AMClientAuthModule.java:133)

.....

Caused by: com.sun.identity.wss.security.SecurityException: Unable to sign.
        at
com.sun.identity.wss.security.handler.SecureSOAPMessage.signWithAssertion(SecureSOAPMessage.java:476)
        at
com.sun.identity.wss.security.handler.SecureSOAPMessage.sign(SecureSOAPMessage.java:428)
        at
com.sun.identity.wss.security.handler.SOAPRequestHandler.secureRequest(SOAPRequestHandler.java:344)
        at
com.sun.identity.agents.jsr196.as9soap.AMClientAuthModule.secureRequest(AMClientAuthModule.java:133)

..............
Comment 1 Viktor Lapitski 2006-08-03 23:26:33 UTC
Created attachment 32515 [details]
exception from AS log
Comment 2 Srividhya Narayanan 2006-08-03 23:55:11 UTC
This is the P2 bug (6456574) I filed saying the SAML_SenderVouches has wrong
file name it is initialized with. The rest of the token profiles should work.
Comment 3 Viktor Lapitski 2006-08-04 01:58:29 UTC
Bug is reproducible with JDK 1.6, and isn't with 1.5. 
Comment 4 Srividhya Narayanan 2006-08-31 01:38:30 UTC
Bugster bug 6457039 tracks this as runtime issue with JDK 1.6. So, nothing to do
on the tooling side.