What are the Java arguments for proxy authorization ?

Solution Unverified - Updated -

Issue

  • We need configure standalone.conf with -Dhttp.proxyHost with proxy authorization. (userid/password),
    Example JAVA_OPTS:
JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true -Dexo.product.developing=true -Denvironment=production -Dhttp.proxyHost=10.10.10.10 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=localhost\|127.0.0.1\|20.20.20.*"

The above configurations is based on without proxy authorization, but for proxy authorization what attribute need to be configure with JAVA_OPTS.

Environment

  • Red Hat JBoss Portal (JPP)
    • 6.x
  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.