cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ercsenyi Andras <erc...@ella.hu>
Subject Merlin not found: classloader problem?
Date Wed, 03 Mar 2010 09:56:21 GMT

Hi everybody,

My secure web service (non-Spring based solution) sent the following
response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <soap:Fault>
        <faultcode>soap:Server</faultcode> 
        <faultstring>org.apache.ws.security.components.crypto.Merlin Not
Found</faultstring> 
      </soap:Fault>
  </soap:Body>
</soap:Envelope>

The security parameters of the server are set properly:

        ...
        Map<String, Object> properties = new HashMap<String, Object>();
        properties.put("ws-security.callback-handler",
"com.xyz.ws.security.KeystorePasswordCallback");
        properties.put("ws-security.signature.properties",
"keystore.properties");
        properties.put("ws-security.encryption.properties",
"truststore.properties");
        properties.put("ws-security.encryption.username", "client");
        properties.put("ws-security.signature.username", "server");
        factory.setProperties(properties);
        factory.create();

Here is the content of the keystore/truststore.properties file:

#keystore
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=******
org.apache.ws.security.crypto.merlin.keystore.alias=server
org.apache.ws.security.crypto.merlin.file=c:/ect/Rinteg/server.jks

The wss4j.jar containing class "Merlin" is existing and deployed properly on
the server.
The server trace has the following lines:
java.lang.ClassNotFoundException:
org.apache.ws.security.components.crypto.Merlin 
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)

Is it some classloader problem or what else?

  A.
-- 
View this message in context: http://old.nabble.com/Merlin-not-found%3A-classloader-problem--tp27766194p27766194.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message