Ruchith,
I picked up the rampart-1.1.RC1 release and am having library
problems. I have copies of wss4j-SNAPSHOT.jar and bcprov.jar in my
service.aar file because my application needs them. I copied the
versions of those jars from the rampart-1.1-RC1.mar and put them in my
aar file. Somehow finding those jars in my aar file confuses rampart. I
get the following errors when axis2 is trying to read a request message.
If I remove wss4j.jar from my aar file, rampart works, but then my code
fails since it can't find the classes it is using. I was previously
using the rampart1.1 snapshot from Nov 13 and it was ok after I put the
updated versions of wss4j and bcprov in my aar file. I am using
axis2-1.1.1 nightly build of Nov 29.
INFO: Server startup in 24471 ms
java.lang.ClassCastException:
org.apache.ws.security.components.crypto.Merlin
at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.j
ava:180)
at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory
.java:153)
at
org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(WSHandler.java:347)
at
org.apache.ws.security.handler.WSHandler.decodeSignatureParameter2(WSHandler.jav
a:848)
(...)
Nov 29, 2006 4:18:53 PM
org.apache.ws.security.components.crypto.CryptoFactory loadClass
SEVERE: Unable to instantiate (2):
org.apache.ws.security.components.crypto.Merlin
java.lang.InstantiationException:
org.apache.ws.security.components.crypto.Merlin
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.j
ava:188)
at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory
.java:153)
at
org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(WSHandler.java:347)
at
org.apache.ws.security.handler.WSHandler.decodeSignatureParameter2(WSHandler.jav
a:848)
at
org.apache.ws.security.handler.WSHandler.doReceiverAction(WSHandler.java:232)
at
org.apache.rampart.handler.WSDoAllReceiver.processBasic(WSDoAllReceiver.java:249
)
at
org.apache.rampart.handler.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:8
8)
at
org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:74)
at org.apache.axis2.engine.Phase.invoke(Phase.java:382)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:522)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:487)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTr
ansportUtils.java:326)
Any suggestions would be appreciated
Thanks,
Mary
---------------------------------------------------------------------
Mary R. Thompson <[EMAIL PROTECTED]>
Secure Grid Technologies Group (510) 486-7408
Lawrence Berkeley National Lab http://dsd.lbl.gov/~mrt
----------------------------------------------------------------------
Ruchith Fernando wrote:
Hi All,
Apache Rampart-1.1-RC artifacts are now available.
You can find them here:
http://people.apache.org/~ruchithf/rampart-1.1-RC1/
Please try out rampart and report any issues you have.
Thanks,
Ruchith
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]