You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Viresh Suri (JIRA)" <ax...@ws.apache.org> on 2008/07/22 08:10:31 UTC

[jira] Created: (AXIS-2751) Unable to override socket factories in subsequest requests

Unable to override socket factories in subsequest requests
----------------------------------------------------------

                 Key: AXIS-2751
                 URL: https://issues.apache.org/jira/browse/AXIS-2751
             Project: Axis
          Issue Type: Bug
          Components: Basic Architecture
    Affects Versions: 1.3, 1.4
            Reporter: Viresh Suri


Hi,

We have a requirement wherein we need to incorporate different SocketFactories (secure and non-secure) for multiple requests. Each request needs to set AxisProperties.setProperty("axis.socketSecureFactory", "<socketFactory name>") 

The problem observed here is that the initial setting of this property is not being overridden in the subsequent requests if those requests need to set a different value in this property. The consequences are as follows :

If a request 1 sets this property to "SunFakeTrustSocketFactory" and then a 2nd request is fired which needs to set this property to "CustomJSSESocketFactory" then the setting done initially, i.e. "SunFakeTrustSocketFactory" does not get overridden by the second setting.

It seems that this setting is getting persisted somewhere and its not easy to override it. Could you help me understand how we can override this? Thanks in advance !!

Viresh Suri


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org