Wednesday Oct 03, 2007

SRA Gateway, sensitive to domain name case

 


During Portal and Gateway installation domain name is asked at multiple places. There are occurences of case mismatch while typing the domain name because at some places it is pre-populated and at some places we have to manually type it.

If this is the case then there are severe cookie related problems with the gateway and login may not work. To workaround this issue do the below steps after installation.

 

1) Switch sra-status to on using psadmin
2) Log into psconsole and changed portal server list and URLs to
which user session is forwarded list to reflect correct domain with correct case
3) Change AMConfig.properties and AMConfig-default.properties to
reflect correct domain with correct case
4) Change Non-Authenticated URL List to reflect correct domain with correct case
5) Change serverconfig.xml to reflect correct domain with correct case
6) Load enableSRAforPortal.xml using amadmin (not really required for
login)
7) Log into amconsole and change Organization Aliases, Platform
Server List, Cookie Domain List to reflect central.sun.com
8) Restart everything and gateway started working .

How to make Gateway to authenticate to a particular org

By default Gateway authenticates to the default top-level org. Consider a scenario where we have 2-3 instances of gateway and each wants to authenticate to separate org. In such cases platform.conf file of that particular gateway can be modified as below

 

  •  GW 1:
    Modify /etc/opt/SUNWps/platform.default.conf
    Add "gw1.mydomain.com.defaultOrg =o=SubOrg1,o=DeveloperSample,dc=india,dc=sun,dc=com"
  • GW 2:
    Modify /etc/opt/SUNWps/platform.default.conf
    Add "gw2.mydomain.com.defaultOrg =o=SubOrg2,o=EnterpriseSample,dc=india,dc=sun,dc=com"

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"

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