Announcement Announcement Module
Collapse
No announcement yet.
Spring Roo and HTTP Proxies Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Roo uses the proxy settings under the Network settings in the Jave Preferences console.

    Comment


    • #3
      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.

      Comment


      • #4
        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

        Comment

        Working...
        X