What are the Java arguments for proxy authorization?

Solution Verified - 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 Enterprise Application Platform (EAP)
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content