home FAQ

OSCARS FAQ

Table of Contents

Installation
Rampart fails to load
Maintenance
Code changes don't show up after a deploy
How to back up data bases
Configuration
File not found: SESSIONS.ser
Security
Unable to find a valid certification path
timestamp failed


Installation

Configuration

File not found: SESSIONS.ser

I get the following error when Tomcat is shut down.

[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)


Uncomment out the last line in conf/context.xml

    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
    <Manager pathname="" />


Maintenance

Security

   unable to find valid certification path to requested target

I am trying to test the service interface from a client on the server machine. I am using the server url of https://localhost:8443/axis2/services/OSCARS and get the following error:
- 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

If you configure your server to listen on an http port as well as https you can test it using plain http. See conf/server.xml to configure the ports on which Tomcat is listening.

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.

Web Interface

Web Service

Error messages