Portal: Setting the JVM Proxy settings in Sun Application Server 8.1
By user12622652 on Aug 31, 2006
There are times when the JVM needs to access content through a proxy server. An example of this is when an organization deploys a provider such as the URL Scraper or XML Provider that gets content from an external source. If these external sites are only accessible through a proxy server, then the JVM settings need to be configured with the proxy information.
Setting JVM Proxy OptionsThe JVM Proxy Options can be set using the Application Server Administration Console.
- Log in to the admin console
- Navigate to your server instance, expand that node, and click on JVM Settings
- Click on the JVM Options tab
- Add entries as follows
These are internal hosts that the portal needs access to. You should always include the names of the Access Manager, LDAP Server, and other servers in your network that are utilized by the portal.
This is the name of you proxy server
This is the port that the proxy server listens on
Modifying the Server Startup OptionsThere is a bug in SJS Application Server 8.1 (6372759) that will prevent the server from starting once these changes are made to the JVM Options. A configuration file must be changed to correct the problem. This is not an issue in SJS Application Server 9.0.
- Open a terminal window on the application server
- Edit the file