Results 1 to 4 of 4

Thread: Spring Roo and HTTP Proxies

  1. #1

    Default Spring Roo and HTTP Proxies

    For those who live behind firewalls and have to use HTTP proxies - how are proxy authorization credentials for direct HTTP connections specified? Setting ROO_OPTS="-Dhttp.proxyHost=<proxy-host> and -Dhttp.proxyPort=<proxy-port>" doesn't seem to complete the picture. How are the username and password specified?

    I know that additionally Maven proxies need to be specified in settings.xml - but what about when Roo tries to access resources directly via HTTP like DTDs?

  2. #2

    Default

    Roo uses the proxy settings under the Network settings in the Jave Preferences console.

  3. #3

    Default

    I assume you mean the Java Control Panel in the Windows Control Panel. There's nothing under Network Settings that allows you to set username and password for the proxy. In any case, my understanding was that this configures the JRE/plugin and wouldn't be relevant when using a JDK.

  4. #4
    Join Date
    Oct 2011
    Posts
    1

    Default

    Try this in the roo.bat:


    java -Dhttp.proxyHost=<proxy-host> -Dhttp.proxyPort=<proxy-port> -Dflash.message.disabled=false -Djline.nobell=true %ROO_OPTS% -Droo.args="%*" -DdevelopmentMode=false -Dorg.osgi.framework.storage="%ROO_HOME%\cache" -Dfelix.auto.deploy.dir="%ROO_HOME%\bundle" -Dfelix.config.properties="file:%ROO_HOME%\conf\con fig.properties" -Droo.console.ansi=true -cp "%ROO_CP%" org.springframework.roo.bootstrap.Main

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •