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 "Paul Fremantle (JIRA)" <ji...@apache.org> on 2007/03/13 17:13:09 UTC

[jira] Created: (AXIS2-2316) Make it easy to set HTTP proxy

Make it easy to set HTTP proxy 
-------------------------------

                 Key: AXIS2-2316
                 URL: https://issues.apache.org/jira/browse/AXIS2-2316
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: transports
    Affects Versions: M1, M2, 0.9, 0.91, 0.92, 0.93, 0.94, 0.95, 0.96, 1.0, 1.1, 1.1.1
         Environment: Any
            Reporter: Paul Fremantle
             Fix For: 1.2


If you use the Java HTTP classes then you can set the HTTP Proxy using:

java  -Dhttp.proxyhost=myproxyserver.com  -Dhttp.proxyport=80 MyJavaApp

http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html

Basically there is a set of Java System Properties that control http proxying. This is *really* important because typically users don't want to have to recode applications to use HTTP proxies. Because these are picked up from the command line they don't have to be hardcoded.

Unfortunately, because commons.http doesn't use these, we don't get this benefit. 

My proposal is that we add support for these system properties. If they are set then we should use them. There are a bunch of http. properties. I would be happy if we just supported these three:

http.proxyHost (default: <none>)
http.proxyPort (default: 80 if http.proxyHost specified)
http.nonProxyHosts (default: <none>

But if we did the rest that would be cool.

-- 
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


[jira] Updated: (AXIS2-2316) Make it easy to set HTTP proxy

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe updated AXIS2-2316:
-------------------------------------

    Fix Version/s:     (was: 1.2)
                   nightly

> Make it easy to set HTTP proxy 
> -------------------------------
>
>                 Key: AXIS2-2316
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2316
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: transports
>    Affects Versions: 1.1.1, 1.1, 1.0, 0.96, 0.95, 0.94, 0.93, 0.92, 0.91, 0.9, M2, M1
>         Environment: Any
>            Reporter: Paul Fremantle
>             Fix For: nightly
>
>
> If you use the Java HTTP classes then you can set the HTTP Proxy using:
> java  -Dhttp.proxyhost=myproxyserver.com  -Dhttp.proxyport=80 MyJavaApp
> http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
> Basically there is a set of Java System Properties that control http proxying. This is *really* important because typically users don't want to have to recode applications to use HTTP proxies. Because these are picked up from the command line they don't have to be hardcoded.
> Unfortunately, because commons.http doesn't use these, we don't get this benefit. 
> My proposal is that we add support for these system properties. If they are set then we should use them. There are a bunch of http. properties. I would be happy if we just supported these three:
> http.proxyHost (default: <none>)
> http.proxyPort (default: 80 if http.proxyHost specified)
> http.nonProxyHosts (default: <none>
> But if we did the rest that would be cool.

-- 
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


[jira] Updated: (AXIS2-2316) Make it easy to set HTTP proxy

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe updated AXIS2-2316:
-------------------------------------

    Priority: Blocker  (was: Major)

> Make it easy to set HTTP proxy 
> -------------------------------
>
>                 Key: AXIS2-2316
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2316
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: transports
>    Affects Versions: 1.1.1, 1.1, 1.0, 0.96, 0.95, 0.94, 0.93, 0.92, 0.91, 0.9, M2, M1
>         Environment: Any
>            Reporter: Paul Fremantle
>            Assignee: Saminda Wishwajith Abeyruwan
>            Priority: Blocker
>             Fix For: nightly
>
>
> If you use the Java HTTP classes then you can set the HTTP Proxy using:
> java  -Dhttp.proxyhost=myproxyserver.com  -Dhttp.proxyport=80 MyJavaApp
> http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
> Basically there is a set of Java System Properties that control http proxying. This is *really* important because typically users don't want to have to recode applications to use HTTP proxies. Because these are picked up from the command line they don't have to be hardcoded.
> Unfortunately, because commons.http doesn't use these, we don't get this benefit. 
> My proposal is that we add support for these system properties. If they are set then we should use them. There are a bunch of http. properties. I would be happy if we just supported these three:
> http.proxyHost (default: <none>)
> http.proxyPort (default: 80 if http.proxyHost specified)
> http.nonProxyHosts (default: <none>
> But if we did the rest that would be cool.

-- 
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


[jira] Closed: (AXIS2-2316) Make it easy to set HTTP proxy

Posted by "Saminda Wishwajith Abeyruwan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Saminda Wishwajith Abeyruwan closed AXIS2-2316.
-----------------------------------------------

    Resolution: Fixed

Fixed for Axis2 1.3 release 

> Make it easy to set HTTP proxy 
> -------------------------------
>
>                 Key: AXIS2-2316
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2316
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: transports
>    Affects Versions: 1.1.1, 1.1, 1.0, 0.96, 0.95, 0.94, 0.93, 0.92, 0.91, 0.9, M2, M1
>         Environment: Any
>            Reporter: Paul Fremantle
>            Assignee: Saminda Wishwajith Abeyruwan
>            Priority: Blocker
>             Fix For: nightly
>
>
> If you use the Java HTTP classes then you can set the HTTP Proxy using:
> java  -Dhttp.proxyhost=myproxyserver.com  -Dhttp.proxyport=80 MyJavaApp
> http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
> Basically there is a set of Java System Properties that control http proxying. This is *really* important because typically users don't want to have to recode applications to use HTTP proxies. Because these are picked up from the command line they don't have to be hardcoded.
> Unfortunately, because commons.http doesn't use these, we don't get this benefit. 
> My proposal is that we add support for these system properties. If they are set then we should use them. There are a bunch of http. properties. I would be happy if we just supported these three:
> http.proxyHost (default: <none>)
> http.proxyPort (default: 80 if http.proxyHost specified)
> http.nonProxyHosts (default: <none>
> But if we did the rest that would be cool.

-- 
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


[jira] Commented: (AXIS2-2316) Make it easy to set HTTP proxy

Posted by "Robert Gagliardo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561765#action_12561765 ] 

Robert Gagliardo commented on AXIS2-2316:
-----------------------------------------

This change does not work for ssl proxies, in fact it breaks a lot of things. If it's going to do proxy configuration automatically it will need to know the context in order to look up the correct system property.

IE

http -
http.proxyHost (default: <none>)
http.proxyPort (default: 80 if http.proxyHost specified)
http.nonProxyHosts (default: <none>)

https -
https.proxyHost (default: <none>)
https.proxyPort (default: 80 if http.proxyHost specified)
https.nonProxyHosts (default: <none>)

> Make it easy to set HTTP proxy 
> -------------------------------
>
>                 Key: AXIS2-2316
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2316
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: transports
>    Affects Versions: 1.1.1, 1.1, 1.0, 0.96, 0.95, 0.94, 0.93, 0.92, 0.91, 0.9, M2, M1
>         Environment: Any
>            Reporter: Paul Fremantle
>            Assignee: Saminda Wishwajith Abeyruwan
>            Priority: Blocker
>             Fix For: nightly
>
>
> If you use the Java HTTP classes then you can set the HTTP Proxy using:
> java  -Dhttp.proxyhost=myproxyserver.com  -Dhttp.proxyport=80 MyJavaApp
> http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
> Basically there is a set of Java System Properties that control http proxying. This is *really* important because typically users don't want to have to recode applications to use HTTP proxies. Because these are picked up from the command line they don't have to be hardcoded.
> Unfortunately, because commons.http doesn't use these, we don't get this benefit. 
> My proposal is that we add support for these system properties. If they are set then we should use them. There are a bunch of http. properties. I would be happy if we just supported these three:
> http.proxyHost (default: <none>)
> http.proxyPort (default: 80 if http.proxyHost specified)
> http.nonProxyHosts (default: <none>
> But if we did the rest that would be cool.

-- 
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


[jira] Issue Comment Edited: (AXIS2-2316) Make it easy to set HTTP proxy

Posted by "Robert Gagliardo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561765#action_12561765 ] 

rgagliardo edited comment on AXIS2-2316 at 1/23/08 12:06 PM:
-------------------------------------------------------------------

This change does not work for ssl proxies, in fact it breaks a lot of things. If it's going to do proxy configuration automatically it will need to know the context in order to look up the correct system property.

IE

http -
http.proxyHost (default: <none>)
http.proxyPort (default: 80 if http.proxyHost specified)
http.nonProxyHosts (default: <none>)

https -
https.proxyHost (default: <none>)
https.proxyPort (default: 443 if https.proxyHost specified)
https.nonProxyHosts (default: <none>)

      was (Author: rgagliardo):
    This change does not work for ssl proxies, in fact it breaks a lot of things. If it's going to do proxy configuration automatically it will need to know the context in order to look up the correct system property.

IE

http -
http.proxyHost (default: <none>)
http.proxyPort (default: 80 if http.proxyHost specified)
http.nonProxyHosts (default: <none>)

https -
https.proxyHost (default: <none>)
https.proxyPort (default: 80 if http.proxyHost specified)
https.nonProxyHosts (default: <none>)
  
> Make it easy to set HTTP proxy 
> -------------------------------
>
>                 Key: AXIS2-2316
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2316
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: transports
>    Affects Versions: 1.1.1, 1.1, 1.0, 0.96, 0.95, 0.94, 0.93, 0.92, 0.91, 0.9, M2, M1
>         Environment: Any
>            Reporter: Paul Fremantle
>            Assignee: Saminda Wishwajith Abeyruwan
>            Priority: Blocker
>             Fix For: nightly
>
>
> If you use the Java HTTP classes then you can set the HTTP Proxy using:
> java  -Dhttp.proxyhost=myproxyserver.com  -Dhttp.proxyport=80 MyJavaApp
> http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
> Basically there is a set of Java System Properties that control http proxying. This is *really* important because typically users don't want to have to recode applications to use HTTP proxies. Because these are picked up from the command line they don't have to be hardcoded.
> Unfortunately, because commons.http doesn't use these, we don't get this benefit. 
> My proposal is that we add support for these system properties. If they are set then we should use them. There are a bunch of http. properties. I would be happy if we just supported these three:
> http.proxyHost (default: <none>)
> http.proxyPort (default: 80 if http.proxyHost specified)
> http.nonProxyHosts (default: <none>
> But if we did the rest that would be cool.

-- 
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


[jira] Updated: (AXIS2-2316) Make it easy to set HTTP proxy

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2316:
------------------------------------

    Assignee: Saminda Wishwajith Abeyruwan

> Make it easy to set HTTP proxy 
> -------------------------------
>
>                 Key: AXIS2-2316
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2316
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: transports
>    Affects Versions: 1.1.1, 1.1, 1.0, 0.96, 0.95, 0.94, 0.93, 0.92, 0.91, 0.9, M2, M1
>         Environment: Any
>            Reporter: Paul Fremantle
>            Assignee: Saminda Wishwajith Abeyruwan
>             Fix For: nightly
>
>
> If you use the Java HTTP classes then you can set the HTTP Proxy using:
> java  -Dhttp.proxyhost=myproxyserver.com  -Dhttp.proxyport=80 MyJavaApp
> http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
> Basically there is a set of Java System Properties that control http proxying. This is *really* important because typically users don't want to have to recode applications to use HTTP proxies. Because these are picked up from the command line they don't have to be hardcoded.
> Unfortunately, because commons.http doesn't use these, we don't get this benefit. 
> My proposal is that we add support for these system properties. If they are set then we should use them. There are a bunch of http. properties. I would be happy if we just supported these three:
> http.proxyHost (default: <none>)
> http.proxyPort (default: 80 if http.proxyHost specified)
> http.nonProxyHosts (default: <none>
> But if we did the rest that would be cool.

-- 
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