axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fedor Malyshev (JIRA)" <axis-...@ws.apache.org>
Subject [jira] [Commented] (AXIS-2295) problem with http proxy parameters caching mechanism
Date Tue, 08 Dec 2015 16:24:11 GMT

    [ https://issues.apache.org/jira/browse/AXIS-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047038#comment-15047038
] 

Fedor Malyshev commented on AXIS-2295:
--------------------------------------

Besides getting rid of caching consider using java.net.ProxySelector and java.net.Authenticator
instead of system properties for proxy settings.

> problem with http proxy parameters caching mechanism
> ----------------------------------------------------
>
>                 Key: AXIS-2295
>                 URL: https://issues.apache.org/jira/browse/AXIS-2295
>             Project: Axis
>          Issue Type: Bug
>          Components: Basic Architecture
>         Environment: weblogic 8.1 and Windows XP
>            Reporter: Renaud SAULAY
>            Priority: Minor
>         Attachments: DefaultHTTPTransportClientProperties.java, TransportClientPropertiesFactory.java
>
>
> The JVM http proxy parameters are read only once  when calling a webservice : 
> if you make a first Call.invoke(...) the JVM proxy parameters are read and cached, but
on other calls of method  invoke() those JVM http proxy parameters are not read again, which
can be disturbing since 
> one may need to change these parameters and they will not be taken into account unless
the application server is restarted.
> See classes : 
>    org.apache.axis.components.net.DefaultSocketFactory; (lines 97, 102, 116)
>    org.apache.axis.components.net.TransportClientPropertiesFactory (method
> create)
>    rg.apache.axis.components.net.DefaultHTTPTransportClientProperties (all
> methods)
> I hope i have been precise enough on this bug description. 
> If not, do not hesitate to email me 
> Thank you for your help



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message