[TIP] Setup Proxy in Application Server

I'm hidden behind a firewall. I do use proxy to get to the internet. Therefore I do have to setup proxy in application server sometimes (when I use the appserv) - either glassfish or Sun Application Server.
It's easy to set it up but I often forgot the parameters. It's worth to save it into this blog entry.
You have to set up following parameters in Application Server node, tab JVM Settings | JVM Options
  • -Dhttp.proxyHost
  • -Dhttp.proxyPort
I prepared a short flash demo for those that would like to see where to set it up
Comments:

You missed "-Dhttp.nonProxyHosts" ;) Anyway If you set proxy related options in the IDE's option dialog then they will be also used for the server automatically (unless you uncheck "Use IDE proxy settings" checkbox in Tools -> Server Manager -> GF instance)... ;)

Posted by jungi on December 13, 2006 at 07:05 AM CET #

What else do you need to add if your proxy server requires an id and password? Should they be entered in clear text or encrypted somehow?

Posted by chrisg on January 31, 2007 at 03:34 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This is the main channel to share news, tips and other stuff related to my work. Sometimes you can find even personal stuff. Enjoy your reading...

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
news
Blogroll

No bookmarks in folder

OldNews
MyTrash
NavBar
NetBeans
LinksToBeExpanded