2 Replies Latest reply on Dec 14, 2004 12:25 PM by raghuvis

    HTTP Proxy Configuration

    raghuvis

      I am running a Axis Webservice Client on my JBOSS server. The Axis Client is trynig to access a webservice hosted on the internet. I am trying to figure out how to configure the http proxy that I need to get to the internet (proxy host name, port, proxy user and proxy password). Can you please help?

      Rags

        • 1. Re: HTTP Proxy Configuration

          You need to add something like this to the startup script of jboss:

          rem Setup JBoss sepecific properties
          set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%
          set JAVA_OPTS=-Daxis.enableListQuery=true -Dhttp.proxyHost="server.mydomain.ac.uk" -Dhttp.proxyPort="8080" -Dhttp.proxyUser="username" -Dhttp.proxyPassword="password" %JAVA_OPTS%
          set JBOSS_HOME=%DIRNAME%\..

          • 2. Re: HTTP Proxy Configuration
            raghuvis

            This worked for me.. Thanks