I found the answer to this and just thought I'd post it for the archive. The exception was getting thrown because the client was setting the javax.net.ssl.keyStore property in addition to the javax.net.ssl.trustStore property. Removing the setProperty for keyStore solved the problem.
Robin At 02:59 PM 9/27/2002 -0400, you wrote: >Hello, > >I have seen versions of this question on this mailing list but I can't >find the answer. > >I am running Apache 1.3 with mod_ssl on Linux. I am passing HTTPS >requests through Ajp13 to JBoss-2.4.4_Tomcat-4.0.1. I have not >configured JBoss/Tomcat for SSL. > >When I pass a servlet URL to apache using HTTPS keys are exchanged and >everything works fine. So my assumption is that Apache/mod_ssl is taking >care of decryption which is why I do not have to configure Tomcat for SSL. > >When I pass a SOAP request (which is basically an HTTP request to >soap/servlet/rpcrouter no?) I get an exception: > >keyStore is : /home/robin/.keystore >keyStore type is : jks >init keystore >init keymanager of type SunX509 >default context init failed: java.security.UnrecoverableKeyException: >Cannot recover key >[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: null; >targetException=java.lang.IllegalArgumentException: Error opening socket: null] > at > org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:324) > at org.apache.soap.rpc.Call.invoke(Call.java:205) > at com.soliloquylearning.soap.SOAPCall.invoke(SOAPCall.java:159) > at > com.soliloquylearning.client.ssms.util.Util.makeSoapCall(Util.java:235) > at > >com.soliloquylearning.client.ssms.StoryDocStructure.getStoryTitles(StoryDocStructure.java:72) > at > com.soliloquylearning.test.SOAPGetTitles.main(SOAPGetTitles.java:36) >Exception in thread "main" java.lang.NullPointerException > at > com.soliloquylearning.test.SOAPGetTitles.main(SOAPGetTitles.java:38) > > >I'm having trouble understanding what this means, but I suspect I need to >configure Tomcat for SSL communications. But if that is the case, why are >the servlets working? > >Thanks for any help! >Robin > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>