axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Mawson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-1006) Cannot create instance of Merlin
Date Fri, 11 Aug 2006 02:03:14 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-1006?page=comments#action_12427388 ] 
            
Jeremy Mawson commented on AXIS2-1006:
--------------------------------------

I did not mention it, but I did download rampart-1.0.mar and deploy it to {tomcat}/webapps/axis2/WEB-INF/modules

> Cannot create instance of Merlin
> --------------------------------
>
>                 Key: AXIS2-1006
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1006
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Windows NT 5.1 SP 1, Tomcat 5.5.9
>            Reporter: Jeremy Mawson
>
> Following the instructions for enabling Rampart in Axis2 leads to the following exception:
> java.lang.RuntimeException: org.apache.ws.security.components.crypto.Merlin cannot create
instance
> 	org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:155)
> 	org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:115)
> 	org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(WSHandler.java:337)
> 	org.apache.ws.security.handler.WSHandler.decodeSignatureParameter2(WSHandler.java:770)
> 	org.apache.ws.security.handler.WSHandler.doReceiverAction(WSHandler.java:231)
> 	org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:176)
> 	org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
> 	org.apache.axis2.engine.Phase.invoke(Phase.java:381)
> 	org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
> 	org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
> 	org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
> 	org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> I have a fresh installation of Tomcat 5.5.9. I deployed Axis 2, added the line <module
ref="rampart"/> to axis2.xml and uploaded a service with the following configuration.
> service.xml:
> <service name="lcc_calculator">
>     <description>
>         LCC Calculator
>     </description>
>     <parameter name="ServiceClass" locked="false">com.thenational.prototype.axis2.LCCCalculator</parameter>
>     <parameter name="InflowSecurity">
>         <action>
>             <items>Timestamp Signature Encrypt</items>
>             <passwordCallbackClass>com.thenational.prototype.axis2.security.PasswordStore</passwordCallbackClass>
>             <signaturePropFile>interop.properties</signaturePropFile>
>         </action>
>     </parameter>
>     <operation name="calculate">
>         <messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
>     </operation>
> </service>
> interop.properties:
> org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
> org.apache.ws.security.crypto.merlin.keystore.type=jks
> org.apache.ws.security.crypto.merlin.keystore.password=password
> org.apache.ws.security.crypto.merlin.file=interop/interop2.jks
> Whether this is a genuine bug or a lack of documentation I am not sure. User mailing
list is unhelpful.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message