Tuesday, July 20, 2010

SSO server version v3.0 is not supported

While enabling SSO for SOA 10g I tumbled upon this error while starting my HTTP Server process.
The HTTP Server logs under opmn showed the following:
$ cat $OH/opmn/logs/HTTP_Server *

--------
10/06/25 07:17:30 Start process
--------
/u01/app/oracle/product/10.1.3/OracleAS_1/Apache/Apache/bin/apachectl startssl: execing httpd
Syntax error on line 6 of /u01/app/oracle/product/10.1.3/OracleAS_1/Apache/Apache/conf/mod_osso.conf:
SSO server version v3.0 is not supported.

Now this happened because of a version mismatch in the SSO conf file I generated from my SSO box. The SSO version was 10.1.4.3 and I was using the generated conf file for SOA 10.1.3.4. The syntax I used for generating the file was this:

$OH/sso/bin/ssoreg.sh -oracle_home_path /u03/app/OAS/product/10.1.4/Infra/sso \
 -site_name xyz.com -config_mod_osso TRUE \
 -mod_osso_url http://xyz.com:7777 -remote_midtier \
 -config_file /u03/app/OAS/product/10.1.4/Infra/sso/Apache/Apache/conf/osso/osso_soa.conf

This by default creates a SSO configuration file which would be of a version 3, which is incompatible with SOA 10.1.3.x installations. So, we need to add a parameter to the above command to tell SSO that we need a file with older version. Run the same command with the following syntax:

$OH/sso/bin/ssoreg.sh -oracle_home_path /u03/app/OAS/product/10.1.4/Infra/sso \
-site_name xyz.com -config_mod_osso TRUE \
-mod_osso_url http://xyz.com:7777 -remote_midtier \
-config_file /u03/app/OAS/product/10.1.4/Infra/sso/Apache/Apache/conf/osso/osso_soa.conf
-sso_partner_version v1.4

Transfer the SSO configuration file generated to the middle tier and run the osso1013 command again. Try starting the HTTP Server, it should work now.

References: Metalink note 809743.1

No comments:

Post a Comment