Hi,
I think the error comes from that when you install the feature which have the fragment bundle, the CXF bundle not get installed yet, so that run into such error. You can add cxf feature in your customer feature also which ensure CXF bundle get installed when install your customer feature.
Besides the fragment bundle way to pick properties, I really recommend the way to use
signaturePropRefId in OSGi container(The option2 I mentioned before, which is more graceful in OSGi container), the configuration looks like
<bean id="wss4jInInterceptor"
class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
<constructor-arg>
<map>
<entry key="action" value="Signature"/>
<entry key="signaturePropRefId" value="wsCryptoProperties"/>
<entry key="wsCryptoProperties" value-ref="wsCryptoProperties"/>
</map>
</constructor-arg>
</bean>
<util:properties id="wsCryptoProperties">
<prop
key="org.apache.ws.security.crypto.provider">org.apache.ws.security.components.crypto.Merlin</prop>
<prop
key="org.apache.ws.security.crypto.merlin.keystore.type">jks</prop>
<prop
key="org.apache.ws.security.crypto.merlin.keystore.password">${KeystorePassword}</prop>
<prop
key="org.apache.ws.security.crypto.merlin.file">${KeystoreLocation}</prop>
</util:properties>
Freeman