wss4jinterceptor: keystore cannot be read in weblogic 10.3
I am using following stack to build a secure web service with spring:
spring 2.5.6
spring web services 1.5.8
I created a keystore using java keytool and am using the file for securing the web service calls using wss4j.
<bean id="wsDigCerSecurityInterceptor"
class="org.springframework.ws.soap.security.wss4j. Wss4jSecurityInterceptor">
<property name="validationActions" value="Signature" />
<property name="validationSignatureCrypto">
<bean
class="org.springframework.ws.soap.security.wss4j. support.CryptoFactoryBean">
<property name="keyStorePassword" value="keystorepassword" />
<property name="keyStoreLocation"><value>classpath:/keystore.jks</value></property>
</bean>
</property>
</bean>
Everything works fine when i deploy it on Apache Tomcat 6.0.18
But when i deploy the war on weblogic 10R3, I get the exception
PropertyAccessException 1: org.springframework.beans.MethodInvocationExceptio n: Property 'keyStoreLocation' threw exception; nested exception is java.io.FileNotFoundException: class path resource [keystore.jks] cannot be resolved to absolute file path because it does not reside in the file system: zip:D:/bea/user_projects/domains/cluster_domain/servers/ManagedServer_2/tmp/_WL_user/csfwl/fste1z/war/WEB-INF/lib/_wl_cls_gen.jar!/keystore.jks
Any help with this is appreciated.
thanks,