Posts

Showing posts from January 21, 2010

How to register SSO in OID (Oracle Application Server)

How to register SSO in OID (Oracle Application Server) Ø Run Below in the OID Home OID Home = abc.test.com SSO URL = http://xyz.tes1.com:7783 $ORACLE_HOME/sso/bin/ssoreg.sh -site_name abc.test.com -mod_osso_url http://xyz.tes1.com:7783 -config_mod_osso TRUE -oracle_home_path $ORACLE_HOME -remote_midtier -config_file $ORACLE_HOME/Apache/Apache/conf/osso/osso_abc.conf Copy the osso_abc.conf to SOA Home in below direcoty. $ORACLE_HOME= Home of SSO URL Appliction Server Ø $ORACLE_HOME/Apache/Apache/conf/osso and rename to osso.conf. Ø Login to middle tier server as owner and backup $ORACLE_HOME/Apache/Apache/conf/httpd.conf file before making changes. Open httpd.conf file and uncomment the following line include "<$ORACLE_HOME>/Apache/Apache/conf/mod_osso.conf" Ø Backup $ORACLE_HOME/Apache/Apache/conf/mod_osso.conf file before making changes. Open mod_osso.conf file and add the following line right after OssoConfigFile <$ORACLE_HOME>/Apache/Apache/conf/osso/osso.con

Unix Commands to create group,user,directories.

Unix Commands to create group,user,directory as a prerequisite of installation of any oracle product. groupadd oinstall groupadd dba useradd -m -g oinstall -G dba oracle id oracle passwd oracle mkdir -p /u01/app/oracle chown -R oracle:oinstall /u01/app/oracle chmod -R 775 /u01/app/oracle

How To Change Log Level for Oracle Web Services Manager (OWSM)

OWSM Gateway 1. Make sure that OracleAS / OC4J hosting OWSM is running. 2. Open $OC4J_HOME/owsm/config/gateway/logging.xml and replace all “INFO” with “FINEST”. 3. Go to $OC4J_HOME/owsm/bin directory, and run the following command wsmadmin deploy gateway 4. The changed log level for the gateway application is in effect now. Look for the detailed logs in $OC4J_HOME/j2ee/OC4J_Instance/log/gateway.log OWSM Control 1. Make sure that OracleAS / OC4J hosting OWSM is running. 2. Open $OC4J_HOME/owsm/config/ccore/logging.xml and replace all “INFO” with “FINEST”. 3. Go to $OC4J_HOME/owsm/bin directory, and run the following command wsmadmin deploy control 4. The changed log level for the OWSM Control application is in effect now. Look for the detailed logs in $OC4J_HOME/j2ee/OC4J_Instance/log/ccore.log OWSM Policy Manager 1. Make sure that OracleAS / OC4J hosting OWSM is running. 2. Open $OC4J_HOME/owsm/config/policymanager/logging.xml and replace all “INFO” with “FINEST”. 3. Go to $OC4J_HOME

Create a read only user to OWSM Console.

Image
Create a read only user to OWSM Console. 1) Go to the below path $OH/owsm/bin 2) Open manageUserGroups.properties file and given parameters :- user_id=vinay_r user_name=vinay singla user_password=welcome123 user_email=vinayncce1@gmail.com bash-3.2$ vi manageUserGroups.properties "manageUserGroups.properties" [Incomplete last line] 46 lines, 1089 characters ^M #============== User Parameters^M # Sample User Values^M #user_id=ctang^M #user_name=Administrator^M #user_password=mypasswrod^M #user_email=admin@admin.com^M ^M user_id=vinay_r user_name=vinay singla user_password=welcome123 user_email=vinayncce1@gmail.com ^M ^M "manageUserGroups.properties" 46 lines, 1134 characters You have mail in /var/mail/appsid 3) Save the file and in the same directory execute below command . it will successfully create a user for OWSM Console:- bash-3.2$ sh wsmadmin.sh manageUserGroups addUser Buildfile: /u01/app/OAS/10.1.3.1/SID1/owsm/bin/../scrip