3 Replies Latest reply on May 4, 2004 5:09 PM by degriffing

    JavaHelp Server-side Deployment

    degriffing

      I am using JavaHelp 2.0_01 within my web application, currently deployed using JBoss 3.2.3. I am encountering a very strange behavior. When I access my application from within my firewall, everything works as expected. When I access the application from the outside the firewall, the JSP that contains the link to the help generates the following error:

      2004-04-07 11:02:30,220 ERROR [org.jboss.web.localhost.Engine] ApplicationDispatcher[/fleet] Servlet.service() for servlet jsp threw exception
      org.apache.jasper.JasperException: Could not parse
      Got an IOException (Couldn't find trusted certificate)
      

      What do I need to do in order to get the help functionality available to the external world?

        • 1. Re: JavaHelp Server-side Deployment
          degriffing

          I have been able to narrow down the source of the problem. We are using a client-side certificate. When the servlet attempts to load the HelpSet, the request is rejected. If I attempt to use another URL (e.g. jar:…), the HelpSet is loaded but the actual pages cannot be displayed. What do I need to do to make a client-side certificate available to the servlet?

          • 2. Re: JavaHelp Server-side Deployment
            degriffing

            I am still stumped on the solution to this problem. Any suggestions?

            • 3. Re: JavaHelp Server-side Deployment
              degriffing

              I have been able to get the JVM to load client certificate. It involved loading the certificate and the CA certificate into keystores and specifying them with:
              -Djavax.net.ssl.keyStore=Clientkeystore
              -Djavax.net.ssl.keyStorePassword=password
              -Djavax.net.ssl.trustStore=%JAVA_HOME%\jre\lib\security\cacerts
              -Djavax.net.ssl.trustStorePassword=password
              Now the file is not loading due to java.net.SocketException: Software caused connection abort: recv failed.

              Any suggestions?