Search |
||
How to configure proxy on Glassfish v3Posted by survivant on March 17, 2009 at 7:18 PM PDT
If you are behind a proxy maybe you will want to set the proxy in Glassfish. There are few different ways to do that. #1 - You could use the admin web page. You can add the proxy settings : host and port with the admin. Into the admin web page, go to the Application Server at your left. After that on your right select : JVM Settings / JVM Options. Just add theses settings : http.proxyHost=myproxy.mydomain
Click here to enlarge #2 - You could use the command line Go into your Glassfish installation /bin and enter theses commands : asadmin create-jvm-options "-Dhttp.proxyHost=myproxy.mydomain" #3 - The last option is to edit manually domain.xml You add the settings in the "<java-config>" element.
»
Related Topics >>
Glassfish Comments
Comments are listed in date ascending order (oldest first)
Submitted by bronius on Wed, 2009-05-20 07:19.
Hi Sebastian- thanks for the simple tip. I am looking to deploy GF behind an ssl proxy (from what I'm reading, it's best to leave the ssl mechanics to the proxy and let GF receive plaintext http requests), and I stumbled across this page.
Would you please clarify for the uninformed whether the proxy described above is something like "how to get out across the wire" or whether glassfish itself can serve up a proxy, not requiring apache or nginx or other?
|
||
|
|