[ERROR] The rampart-1.3.mar module, which is not valid,
caused org.apache.rampart.Rampart
org.apache.axis2.deployment.DeploymentException:
org.apache.rampart.Rampart
From rampart-1.3, all the .jars under lib:Copy all the above to CATALINA_HOME/webapps/axis2/WEB-INF/lib/ , and restart Tomcat. Rampart should work now.
bcprov-jdk15-132.jar
opensaml-1.1.jar
rampart-core-1.3.jar
rampart-trust-1.3.jar
rampart-policy-1.3.jar
wss4j-1.5.3.jar
xmlsec-1.4.0.jar
<exclude name="axis2-adb-codegen*.jar"/>
<exclude name="axis2-codegen*.jar"/>
<exclude name="jibx-bind*.jar"/>
[ERROR] org.apache.catalina.session.ManagerBase -
IOException
while saving persisted sessions: java.io.FileNotFoundException:
/usr/local/apache-tomcat-5.5.25/work/Catalina/localhost/axis2/SESSIONS.ser
(No such file or directory)
java.io.FileNotFoundException:
/usr/local/apache-tomcat-5.5.25/work/Catalina/localhost/axis2/SESSIONS.ser
(No such file or directory)
- I/O exception (org.apache.axis2.AxisFault) caught when
processing
request: sun.security.validator.ValidatorException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
For SSL to work, the issuer of the certificate that is in Tomcat's
keystore
(defined
in conf/server.xml) must be in the
client's
repo/ssl-keystore.jks. If you are using a self-signed certificate for
Tomcat
the certificate itself must be in repo/ssl-keystore.jks. You can use
keytool
to export
the certificate from Tomcat's keystore and import it into the client
ssl-keystore.
Use keytool -help to tell you how to do this.
org.apache.ws.security.WSSecurityException:
General security error (Error during certificate path validation:
timestamp check failed)
I get the the following error when trying
to connect to an OSCARS web service
hopishib.internet2.edu:8443/axis2/services/OSCARSWSHandler:
Certificate path verification failed for certificate with subject
CN=oscars/oscars-dev.es.net, OU=Services, DC=doegrids, DC=org; nested
exception is:
org.apache.ws.security.WSSecurityException: General security error
(Error during certificate path validation: timestamp check failed);
nested exception is:
java.security.cert.CertPathValidatorException: timestamp check failed
Check to see if the certificate for the
issuer for the offending certificate is expired in the
shared/classes/sec-security.jks keystore for the target web service.