Wednesday Oct 03, 2007

Proxy setting for Application Server to contact Internet content

Lots of portlets available in Sun Java System Portal Server render content from the internet. As portal server is deployed on Application Server or Web Server, below settings can be done in the server configuration file. 

For Application Server its domain.xml and for Web Server it is server.xml

 
 <jvm-options>-Dhttp.proxyHost=webcache.india.sun.com</jvm-options>
<jvm-options>-Dhttp.proxyPort=8080</jvm-options>
<jvm-options>-Dhttp.nonProxyHosts=abc.india.sun.com|xyz.france.sun.com|localhost</jvm-options>

 
 You will also need to modify the startup script for the app server i.e asenv.conf

AS_NATIVE_LAUNCHER="false"

Enabling web proxy between Portal and Gateway

Usually Gateway is inside a DMZ in the internet and Portal Server is in the intranet. A few ports are opened up in the firewall for communication between the two. In case we have to configure a web proxy between Portal and Gateway then below are the steps.

Add into /etc/opt/SUNWportal/platform.conf.default

  •    http.proxyHost=<Proxy Hostname>
  •    http.proxyPort=<Proxy Port number>
  •    http.proxySet=true


Goto /psconsole -> Secure Remote Access -> 'default' profile -> Deployment tab
    In the 'Proxy Setting' add the following

  •       'Use Proxy'           = true
  •       'Webproxy URLs' = \*
  •       'Domain/SubDomain' = <Domain name>
  •       'Proxy'  = <Proxy Hostname>:<Proxy Port>
About

Ajit Kamble

Search

Categories
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