ProviderProcessor https connection fails
----------------------------------------

         Key: SM-426
         URL: https://issues.apache.org/activemq/browse/SM-426
     Project: ServiceMix
        Type: Bug

  Components: servicemix-http  
    Versions: 3.0    
 Environment: Windows XP
    Reporter: Kevin Bouchard


The trustStorePassword is not set correctly at service assembly startup, 
precisely when the CommonsHttpSSLSocketFactory is created. This issue cause a 
NullPointerException to be thrown when the trustStore location is not set in 
the classpath of the application.

Once this problem is fixed, the connection still fails. The reason is that the 
CommonsHttpSSLSocketFactory is not called when the socket is to be created. The 
DefaultSSLSocketFactory is called instead since 
Protocol.registerProtocol("https",protocol) function is missing at service 
assembly startup. This cause a SocketException to be thrown with reason 
"password can't be null".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to