further info:
 
the JSAFE classes come from the jsse.jar in my JRE. The manifest is:
 
Manifest-Version: 1.0
Created-By: 1.4.2-rc (Sun Microsystems Inc.)
Pluggable: no
Crypto-Strength: strong
Specification-Vendor: Sun Microsystems, Inc.
Specification-Version: 1.4
Implementation-Vendor-Id: com.sun
Extension-Name: javax.net.ssl
Implementation-Version: 1.4.2
Implementation-Vendor: Sun Microsystems, Inc.
 

______________________________
Franck Schmidlin
______________________________

 


From: Granqvist, Hans [mailto:[EMAIL PROTECTED]
Sent: 20 October 2006 17:26
To: Schmidlin, Franck; [email protected]
Subject: RE: NPE in COM.rsa.jsafe.SunJSSE_eq.a(DashoA6275)

Are you using jsafe jce provider on your development machine?
 
Do you get the same error on the customer site using non-jsafe provider?


From: Schmidlin, Franck [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006 8:50 AM
To: [email protected]
Subject: NPE in COM.rsa.jsafe.SunJSSE_eq.a(DashoA6275)

Dear all,
I am having a strange intermittent problem on a customer site which I have been unable to reproduce on my development machine.
As I cannot find any source code for COM.rsa.jsafe.SunJSSE_eq  I am at a loss to guess what is causing the NullPointerException.
The code works something like 95% of the time (I am still gathering stats) and I cannot find a pattern to the failures.
The application is a multithreaded soap server, where each thread gets its own brand new instance of org.apache.ws.security.components.crypto.Crypto
I have run several multithreaded tests and that does not reproduce the problem.
I use a standard JKS keystore, the signature algorithm is RSA.
My application uses its own JRE and igore all environment variables.
Can anyone among you hazard a guess or let me know a better forum where to get some information?
Caused by: org.apache.ws.security.WSSecurityException: Signature creation failed; nested exception is:
 java.lang.NullPointerException
 at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:606)
 at com.anite.connect.utility.SoapDocument.finaliseWsseProcessing(SoapDocument.java:400)
 ... 18 more
Caused by: java.lang.NullPointerException
 at COM.rsa.jsafe.SunJSSE_eq.a(DashoA6275)
 at COM.rsa.jsafe.SunJSSE_eq.b(DashoA6275)
 at COM.rsa.jsafe.SunJSSE_eq.b(DashoA6275)
 at COM.rsa.jsafe.SunJSSE_eq.a(DashoA6275)
 at COM.rsa.jsafe.SunJSSE_c4.a(DashoA6275)
 at COM.rsa.jsafe.SunJSSE_c4.a(DashoA6275)
 at COM.rsa.jsafe.SunJSSE_bn.c(DashoA6275)
 at COM.rsa.jsafe.SunJSSE_bh.k(DashoA6275)
 at com.sun.net.ssl.internal.ssl.JS_Signature.engineSign(DashoA6275)
 at java.security.Signature$Delegate.engineSign(Signature.java:790)
 at java.security.Signature.sign(Signature.java:397)
 at org.apache.xml.security.algorithms.implementations.SignatureBaseRSA.engineSign(SignatureBaseRSA.java:132)
 at org.apache.xml.security.algorithms.SignatureAlgorithm.sign(SignatureAlgorithm.java:164)
 at org.apache.xml.security.signature.XMLSignature.sign(XMLSignature.java:508)
 at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:599)
Any help appreciated.
Regards

______________________________
Franck Schmidlin
______________________________

 


Scanned for viruses by BlackSpider MailControl. The integrity and security of this message cannot be guaranteed. This email is intended for the named recipient only, and may contain confidential information and proprietary material. Any unauthorised use or disclosure is prohibited.



 

Scanned for viruses by BlackSpider MailControl

Click here to report this email as spam.

Reply via email to