Posts

Steps to configure a server agent in OWSM

Steps :- To configure a server agent component in Oracle Web Services Manager Point your browser to the Web Services Manager Control Console and log in using your user name and password. The Web Services Manager Control Console is accessed with a URL of the form: http:// :port_number/ccore For example: httphttp://samplexxxx:8888/ccore/index.jsp 2. Click Add New Component. 3. On the Add New Component page, define: ■Component name ■Component type ■Container type Click Register. Define Policy Set for Server Agent :- To define the policy set for the server agent: 1. At the Web Services Manager Control Console, click Policy Management, then click Manage Policies. 2. In the component list, select the agent for which the policy set is to be defined, and click Policies. 3. The policy set for the agent is displayed. 4. Click the Edit icon for the Default Policy. 5. Select Extract Credentials from the list, and click OK. 6. The Policy Definition page reappears, showi...

Error in creating a resource adaptor if it was deleted.

If you are creating a resource adaptor which you have already deleted due to wrong name or configuration and you are trying again , you may face below error :- There was an error processing one or more values entered on this page. 1. Resource Provider Name - There is already a resource provider with the name "OJMS". Please choose a different name. Solution :- Go to OC4J Container and edit the applications.xml file and physically delete the OJMS entry from the file and restart the container , issue will be resolved. Applications.xml ### ### ### ###

How to do a SSO Registration of a URL in OID.

bash-3.2$ $ORACLE_HOME/sso/bin/ssoreg.sh -site_name test.defaultdomain.ae  -mod_osso_url https://test.defaultdomain.ae:4443 -config_mod_osso TRUE -oracle_home_path $ORACLE_HOME -remote_midtier -config_file $ORACLE_HOME/Apache/Apache/conf/osso/test_ssl.conf CLASSPATH=/u01/app/oracle/product/OID/ORACLE_HOME/jdbc/lib/ojdbc14.jar:/u01/app/oracle/product/OID/ORACLE_HOME/jlib/repository.jar:/u01/app/oracle/product/OID/ORACLE_HOME/sso/lib/ossoca.jar:/u01/app/oracle/product/OID/ORACLE_HOME/sso/lib/ossoreg.jar:/u01/app/oracle/product/OID/ORACLE_HOME/lib/xmlparserv2.jar:/u01/app/oracle/product/OID/ORACLE_HOME/jdbc/lib/classes12.jar:/u01/app/oracle/product/OID/ORACLE_HOME/jdbc/lib/nls_charset12.jar:/u01/app/oracle/product/OID/ORACLE_HOME/jlib/jndi.jar:/u01/app/oracle/product/OID/ORACLE_HOME/jlib/ojmisc.jar:/u01/app/oracle/product/OID/ORACLE_HOME/j2ee/home/jazn.jar:/u01/app/oracle/product/OID/ORACLE_HOME/j2ee/home/jaas.jar:/u01/app/oracle/product/OID/ORACLE_HOME/jdk/lib/rt.jar:/u01/app/...

ORACLE APPLICATION SERVER (SOA suite upgrade 10.1.3.4 MLR 9 ) to ORACLE APPLICATION SERVER 10.1.3.5 (MLR1)

Pre-requisites before upgrade & Upgrade :- Backup of ORACLE APPLICATION SERVER oracle inventory should be taken, ORACLE APPLICATION SERVER home, ORABPEL, ORAESB, ORAWSM schemas in dehydration database before upgrade . The location of inventory for particular oracle home will be in orainst.loc file 1. Change the owner permission of .apachectl from root to app user and change the http ports if any used less than 1024 in httpd.conf and ssl.conf . (later you can revert back the permission and ports once the upgrade is done.) 2. Check the oc4j container name in install. Properties and coreesv.properties. 3. following property has to be false in server.xml file of SOA container Run the upgrade scripts in Database as orabpel and oraesb user 4. start the upgrade by .runInstaller utility. Post upgrades tasks 1.Revert the owner permission of .apachectl to root and revert the ports to old http and SSL Ports in httpd.conf and ssl.conf

How to find a Zombie process on Unix ?

ps -el grep 'Z'

jstatd error : Could not create remote object : access denied (java.util.PropertyPermission java.rmi.server.ignoreSubClasses write)

While running "./jstatd -J-Djava.security.policy=jstatd.all.policy &" command , below error is getting encountered Error :- Could not create remote object access denied (java.util.PropertyPermission java.rmi.server.ignoreSubClasses write) java.security.AccessControlException: access denied (java.util.PropertyPermission java.rmi.server.ignoreSubClasses write) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264) at java.security.AccessController.checkPermission(AccessController.java:427) at java.lang.SecurityManager.checkPermission(SecurityManager.java:536) at java.lang.System.setProperty(System.java:699) at sun.tools.jstatd.Jstatd.main(Jstatd.java:122) Cause :- The "access denied" error is expected, because "jstatd" requires a security policy file specified with the "java.security.policy" system property, if there is no security manager running on the machine. Solution :- 1) cd $ORACLE_HOME/jdk...

To delete/undeploy multiple BPEL processes from BPELConsole (10.1.3.4)

Image
There was some performance issue in Development server due to thousands of unused/junk BPEL processes deployed within the container , but I couldn’t able to delete all at once as there was no option and if deleting one by one could take many hours to perform this , then I found a solution over the net which changes little code of some JSPs of the product ( Although not change in the product code not supported by Oracle). Here is the process to do the same which saved huge amount of hours and work :- Note :- Replace all "*" with "<" and "#" with ">" 1) Take a backup of the files; bulkUpdateProcess.jsp and doBulkUpdateProcess.jsp. The path is :- $ORACLE_HOME/j2ee/oc4j_soa/applications/orabpel/console 2) Add the below code in the the file bulkUpdateProcess.jsp. (Add the code after the label: *label for="processStateOff"# *%= I18nUtil.getString("off", locale)%# */label#) Code to be added :- ---- *p# *...