<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2447545383063131991</id><updated>2012-01-09T17:58:39.858+01:00</updated><category term='Oracle RDBMS 10.2.0.4'/><category term='VMWare'/><category term='SQL'/><category term='Shell script'/><category term='Oracle Access Manager'/><category term='Oracle XE'/><category term='Oracle Application Server'/><category term='Oracle Portal 10.1.4'/><category term='Oracle Infrastructure 10.1.2'/><category term='Oracle SOA 10.1.3.3'/><category term='Information'/><category term='Redhat Linux'/><category term='Oracle HTTP Server (OHS)'/><title type='text'>Arjan's Oracle knowledge</title><subtitle type='html'>This blog contains my knowledge about Oracle Database/Application Server/Linux/Shell scripting</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default?start-index=101&amp;max-results=100'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>107</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-2241464396085847912</id><published>2011-08-17T14:25:00.001+02:00</published><updated>2011-08-17T14:25:38.093+02:00</updated><title type='text'>signing self signed certificates</title><content type='html'>sites:&lt;br /&gt;&lt;br /&gt;http://www.g-loaded.eu/2005/11/10/be-your-own-ca/&lt;br /&gt;http://www.eclectica.ca/howto/ssl-cert-howto.php&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-2241464396085847912?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/2241464396085847912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/08/signing-self-signed-certificates.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2241464396085847912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2241464396085847912'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/08/signing-self-signed-certificates.html' title='signing self signed certificates'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-8921879476201488405</id><published>2011-05-26T13:38:00.002+02:00</published><updated>2011-12-23T08:34:41.455+01:00</updated><title type='text'>ubunut tips for myself</title><content type='html'>disable firewall:&lt;br /&gt;&lt;br /&gt;ufw disable&lt;br /&gt;&lt;br /&gt;log on to another linux server it takes a very long time before the password question:&lt;br /&gt;&lt;br /&gt;change /etc/ssh/ssh_config&lt;br /&gt;&lt;br /&gt;uncomment:&lt;br /&gt;&lt;br /&gt;GSSAPIAuthentication no&lt;br /&gt;&lt;br /&gt;X forwarding&lt;br /&gt;&lt;br /&gt;ssh -XY user@machine&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-8921879476201488405?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/8921879476201488405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/05/ubunut-tips-for-myself.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8921879476201488405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8921879476201488405'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/05/ubunut-tips-for-myself.html' title='ubunut tips for myself'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-7973707156391035457</id><published>2011-03-31T12:33:00.001+02:00</published><updated>2011-03-31T12:36:39.672+02:00</updated><title type='text'>Purge data ESB/WSM</title><content type='html'>How to purge ESB instance data? [ID 453357.1]&lt;br /&gt;How To Delete / Purge Non-Operational Data from the OWSM Schema / Database ? [ID 815974.1]&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-7973707156391035457?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/7973707156391035457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/03/purge-data-esbwsm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7973707156391035457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7973707156391035457'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/03/purge-data-esbwsm.html' title='Purge data ESB/WSM'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-2345608900846903319</id><published>2011-03-28T13:27:00.000+02:00</published><updated>2011-03-28T13:28:08.941+02:00</updated><title type='text'>Query size rman backups</title><content type='html'>set linesize 200 heading off&lt;br /&gt;set heading on pagesize 200&lt;br /&gt;&lt;br /&gt;column status format a10&lt;br /&gt;column COMMAND_ID for a12&lt;br /&gt;column time_taken_display format a10;&lt;br /&gt;column input_bytes_display format a12;&lt;br /&gt;column output_bytes_display format a12;&lt;br /&gt;column output_bytes_per_sec_display format a10;&lt;br /&gt;column ses_key format 9999999&lt;br /&gt;column ses_recid format 9999999&lt;br /&gt;column device_type format a10&lt;br /&gt;column OutBytesPerSec for a13&lt;br /&gt;&lt;br /&gt;SELECT b.session_key ses_key,&lt;br /&gt;b.session_recid ses_recid,&lt;br /&gt;b.session_stamp,&lt;br /&gt;b.command_id,&lt;br /&gt;b.input_type,&lt;br /&gt;b.status,&lt;br /&gt;to_char(b.start_time,'DD-MM-YY HH24:MI') "Start Time",&lt;br /&gt;b.time_taken_display,&lt;br /&gt;b.output_device_type device_type,&lt;br /&gt;b.input_bytes_display,&lt;br /&gt;b.output_bytes_display,&lt;br /&gt;b.output_bytes_per_sec_display "OutBytesPerSec"&lt;br /&gt;FROM v$rman_backup_job_details b&lt;br /&gt;WHERE b.start_time &gt; (SYSDATE - &amp;amp)&lt;br /&gt;ORDER BY b.start_time desc;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-2345608900846903319?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/2345608900846903319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/03/query-size-rman-backups.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2345608900846903319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2345608900846903319'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/03/query-size-rman-backups.html' title='Query size rman backups'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-4973019384273769887</id><published>2011-03-16T15:56:00.003+01:00</published><updated>2011-03-16T15:59:28.977+01:00</updated><title type='text'>Oracle ESB: No WebService Provider is registered at this URL</title><content type='html'>Error when webservice is clicked in esb control&lt;br /&gt;&lt;br /&gt;No WebService Provider is registered at this URL&lt;br /&gt;&lt;br /&gt;During startup ESB:&lt;br /&gt;&lt;br /&gt;java.sql.SQLException: ORA-24067: exceeded maximum number of subscribers for queue&lt;br /&gt;ORAESB.ESB_CONTROL&lt;br /&gt;&lt;br /&gt;solution:&lt;br /&gt;&lt;br /&gt;CREATE OR REPLACE PROCEDURE create_queue (qname VARCHAR2) &lt;br /&gt;AS &lt;br /&gt;  qtablename VARCHAR2(110) := qname; &lt;br /&gt;&lt;br /&gt;BEGIN &lt;br /&gt;&lt;br /&gt;  BEGIN &lt;br /&gt;    dbms_aqadm.stop_queue (queue_name =&gt; qname); &lt;br /&gt;  EXCEPTION &lt;br /&gt;  WHEN OTHERS THEN &lt;br /&gt;    null; &lt;br /&gt;  END; &lt;br /&gt;&lt;br /&gt;  BEGIN &lt;br /&gt;    dbms_aqadm.drop_queue (queue_name =&gt; qname); &lt;br /&gt;  EXCEPTION &lt;br /&gt;  WHEN OTHERS THEN &lt;br /&gt;    null; &lt;br /&gt;  END; &lt;br /&gt;&lt;br /&gt;  BEGIN &lt;br /&gt;    dbms_aqadm.drop_queue_table (Queue_table =&gt; qtablename); &lt;br /&gt;  EXCEPTION &lt;br /&gt;  WHEN OTHERS THEN &lt;br /&gt;    null; &lt;br /&gt;  END; &lt;br /&gt;&lt;br /&gt;  dbms_aqadm.create_queue_table(Queue_table =&gt; qtablename, &lt;br /&gt;                                Queue_payload_type =&gt; 'SYS.AQ$_JMS_TEXT_MESSAGE', &lt;br /&gt;                                multiple_consumers =&gt; true, &lt;br /&gt;                                compatible =&gt; '8.1'); &lt;br /&gt;  dbms_aqadm.create_queue (Queue_name =&gt; qname, &lt;br /&gt;                           Queue_table =&gt; qtablename); &lt;br /&gt;  dbms_aqadm.start_queue(qname); &lt;br /&gt;END; &lt;br /&gt;/ &lt;br /&gt;&lt;br /&gt;BEGIN &lt;br /&gt;  create_queue('ESB_CONTROL'); &lt;br /&gt;END; &lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-4973019384273769887?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/4973019384273769887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/03/oracle-esb-no-webservice-provider-is.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4973019384273769887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4973019384273769887'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/03/oracle-esb-no-webservice-provider-is.html' title='Oracle ESB: No WebService Provider is registered at this URL'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-6311307876029273003</id><published>2011-02-09T07:57:00.004+01:00</published><updated>2011-02-25T08:41:07.073+01:00</updated><title type='text'>Deployment BPEL process fails with revision error</title><content type='html'>During automatic ant deployment this error is shown:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Embedded error: The following error occurred while executing this line:&lt;br /&gt;/oracle/opleveringen/obm/1.1.0.0/code/opm-integration/scripts/ant/bpel/common-build.xml:82: A problem occured while connecting to server "soatier2.test.ta-twd.rotterdam.nl" using port "80": bpel_CancelBasket_1.0.0-SNAPSHOT.jar failed to deploy. Exception message is:  Error deploying BPEL suitcase.&lt;br /&gt;An error occurred while attempting to deploy the BPEL suitcase file "/appl/oracle/soa_cl_10.1.3/bpel/domains/OnlineBetaalModule/tmp/bpel_10725323.tmp"; the exception reported is: Process bpel://localhost/OnlineBetaalModule/CancelBasket~1.0.0-SNAPSHOT/ is being re-deployed to a Production Server with same revision number.Please modify the revision for the process.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;In the BPELAdmin tab server the field productionServer is true, when this is changed to false and the soa container is restarted the deployment succeeds. After the deployment change it to true again and restart again.&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-6311307876029273003?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/6311307876029273003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/02/deployment-bpel-process-fails-with.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6311307876029273003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6311307876029273003'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/02/deployment-bpel-process-fails-with.html' title='Deployment BPEL process fails with revision error'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-9101805246242896587</id><published>2011-01-05T13:53:00.000+01:00</published><updated>2011-01-05T13:54:26.243+01:00</updated><title type='text'>All contexts in Oracle Application server with opmnctl</title><content type='html'>opmnctl status -app -l | awk -F"|" '{ print $7 }'&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-9101805246242896587?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/9101805246242896587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/01/all-contexts-in-oracle-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9101805246242896587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9101805246242896587'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2011/01/all-contexts-in-oracle-application.html' title='All contexts in Oracle Application server with opmnctl'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-2438891375826841949</id><published>2010-12-09T09:25:00.002+01:00</published><updated>2010-12-09T09:32:32.723+01:00</updated><title type='text'>JMX monitoring OC4J JVM</title><content type='html'>To monitor the JVM with jconsole or an external profiler the opmn.xml settings of the container should be changed:&lt;br /&gt;&lt;br /&gt;This properties must be added:&lt;br /&gt;&lt;br /&gt;-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9900 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"&lt;br /&gt;&lt;br /&gt;Restart the container and now you can connect on the url:&lt;br /&gt;&lt;br /&gt;service:jmx:rmi:///jndi/rmi://[HOSTNAME]:9900/jmxrmi&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-2438891375826841949?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/2438891375826841949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/12/jmx-monitoring-oc4j-jvm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2438891375826841949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2438891375826841949'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/12/jmx-monitoring-oc4j-jvm.html' title='JMX monitoring OC4J JVM'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-7283046645241963597</id><published>2010-11-26T07:21:00.002+01:00</published><updated>2010-11-26T07:24:32.825+01:00</updated><title type='text'>Multiple java processes when using webgate</title><content type='html'>If you use an webgate version which needs the parameter &lt;variable id="LD_ASSUME_KERNEL" value="2.4.19"/&gt; you will see 50 processes or more on linux for the JVM. When you change the webgate to a version which uses NTPD this problem is solved.&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-7283046645241963597?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/7283046645241963597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/11/multiple-java-processes-when-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7283046645241963597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7283046645241963597'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/11/multiple-java-processes-when-using.html' title='Multiple java processes when using webgate'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-9031657243581842699</id><published>2010-11-26T07:15:00.002+01:00</published><updated>2010-11-26T07:21:00.103+01:00</updated><title type='text'>Invalid Access SDK Path. -Djava.library.path must point to {SDK_HOME}/oblix/lib.</title><content type='html'>There are a couple of reasons for this error. You can try the following things to solve it.&lt;br /&gt;&lt;br /&gt;- configureAccessGate (check the file ../AccessServerSDK/oblix/lib/ObAccessClient.xml) &lt;br /&gt;&lt;br /&gt;- cp AccessServerSDK/oblix/lib/jobaccess.jar to $ORACLE_HOME/j2ee/home/lib/ext&lt;br /&gt;&lt;br /&gt;- in the LD_LIBRARY_PATH in opmn.xml file, please remove the trailing slash "/" from the patch "/AccessServerSDK/oblix/lib/&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-9031657243581842699?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/9031657243581842699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/11/invalid-access-sdk-path.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9031657243581842699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9031657243581842699'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/11/invalid-access-sdk-path.html' title='Invalid Access SDK Path. -Djava.library.path must point to {SDK_HOME}/oblix/lib.'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-4573448621526319292</id><published>2010-11-03T13:43:00.002+01:00</published><updated>2010-11-03T13:50:03.901+01:00</updated><title type='text'>Determine OAS (10.1.3) version</title><content type='html'>&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ORACLE_HOME/OPatch/opatch lsinventory -detail&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Get version Oracle Containers for J2EE&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;cd $ORACLE_HOME/j2ee/home&lt;br /&gt;java -jar oc4j.jar -version&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;Oracle Containers for J2EE 10g (10.1.3.5.0)  (build 090727.2000.36696)&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-4573448621526319292?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/4573448621526319292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/11/determine-oas-1013-version.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4573448621526319292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4573448621526319292'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/11/determine-oas-1013-version.html' title='Determine OAS (10.1.3) version'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-2064441913068268964</id><published>2010-09-15T11:21:00.001+02:00</published><updated>2010-09-15T11:23:22.410+02:00</updated><title type='text'>SOA BPEL (10.1.3.x) Identity service: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out</title><content type='html'>The reason for this error:&lt;br /&gt;"java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out:"&lt;br /&gt;was that an proxy server was configured on the oc4j_soa container in opmn.xml&lt;br /&gt;&lt;br /&gt;BPEL Console gave this error:&lt;br /&gt;The following exception occured while processing this request: &lt;br /&gt; Io exception: The Network Adapter could not establish the connection&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-2064441913068268964?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/2064441913068268964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/09/soa-bpel-1013x-identity-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2064441913068268964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2064441913068268964'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/09/soa-bpel-1013x-identity-service.html' title='SOA BPEL (10.1.3.x) Identity service: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-4844398204845934630</id><published>2010-09-01T07:47:00.002+02:00</published><updated>2010-09-01T07:52:10.341+02:00</updated><title type='text'>Delete of bpel domain on SOA 10.1.3.4 is not complete</title><content type='html'>When a BPEL domain is delete from the BPELAdmin there are still records left in de dehydration database. These entries can be deleted:&lt;br /&gt;&lt;br /&gt;Logon on the dehydration store database as ORABPEL&lt;br /&gt;&lt;br /&gt;Check which domains are active:&lt;br /&gt;select domain_ref from domain;&lt;br /&gt;&lt;br /&gt;Delete all other domains:&lt;br /&gt;&lt;br /&gt;delete suitcase_bin where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete audit_details where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete audit_trail where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete cube_instance where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete cube_scope where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete dlv_message where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete dlv_subscription where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete document_ci_ref where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete document_dlv_msg_ref where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete domain_properties where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete invoke_message where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete process where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete process_default where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete process_descriptor where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete process_log where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete wi_fault where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete work_item where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete xml_document where domain_ref not in (select domain_ref from domain);&lt;br /&gt;delete wftask where domainid='[NOT EXISTING DOMAINS]';&lt;br /&gt;delete wftaskhistory where domainid='[NOT EXISTING DOMAINS]';&lt;br /&gt;delete wftaskmetadata where domainid='[NOT EXISTING DOMAINS]';&lt;br /&gt;delete wftask where domainid='[NOT EXISTING DOMAINS]';&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-4844398204845934630?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/4844398204845934630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/09/delete-of-bpel-domain-on-soa-10134-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4844398204845934630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4844398204845934630'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/09/delete-of-bpel-domain-on-soa-10134-is.html' title='Delete of bpel domain on SOA 10.1.3.4 is not complete'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3504594419590079416</id><published>2010-07-21T13:05:00.001+02:00</published><updated>2010-07-21T13:06:34.491+02:00</updated><title type='text'>Oracle OMS agent: Rediscover targets</title><content type='html'>In the AGENT_HOME execute agentca -d&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/bin/agentca -d&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3504594419590079416?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3504594419590079416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/07/oracle-oms-agent-rediscover-targets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3504594419590079416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3504594419590079416'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/07/oracle-oms-agent-rediscover-targets.html' title='Oracle OMS agent: Rediscover targets'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-872776182838199038</id><published>2010-07-15T10:08:00.003+02:00</published><updated>2010-07-15T10:21:33.984+02:00</updated><title type='text'>A problem occured while connecting to server "hostname" using port "80": java.security.AccessControlException: access denied (com.collaxa.security.Dom</title><content type='html'>In our environment the appications hw_services/orabpel and deploy_service in the oc4j_soa container are integrated with the OID. After change the password of oc4jadmin we got problems with the automatic deployment of BPEL Processes. See the stack trace below.&lt;br /&gt;&lt;br /&gt;We found out that the following line: &lt;jazn provider="LDAP" jaas-mode="doAsPrivileged" /&gt; was missing in the $ORACLE_HOME/j2ee/oc4j_soa/application_deployments/deploy_service/orion-application.xml.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;BUILD FAILED&lt;br /&gt;/oracle/opleveringen/DDSAddressAdapter/1.2/1.1/DeploymentMijnLoket/build.xml:170: The following error occurred while executing this line:&lt;br /&gt;/oracle/opleveringen/DDSAddressAdapter/1.2/1.1/DeploymentMijnLoket/build.xml:127: The following error occurred while executing this line:&lt;br /&gt;/oracle/opleveringen/DDSAddressAdapter/1.2/1.1/DeploymentMijnLoket/build.xml:102: The following error occurred while executing this line:&lt;br /&gt;/oracle/opleveringen/DDSAddressAdapter/1.2/1.1/JDeveloper/DDSAdapter/DDSAddressService/bpel/build.xml:89: A problem occured while connecting to server "hostname" using port "80": java.security.AccessControlException: access denied (com.collaxa.security.DomainPermission XXXX read)&lt;br /&gt;at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)&lt;br /&gt;at java.security.AccessController.checkPermission(AccessController.java:427)&lt;br /&gt;at com.collaxa.security.OC4JSecurityService.checkAccess(OC4JSecurityService.java:16)&lt;br /&gt;at com.collaxa.security.SecurityService.checkDomainAccess(SecurityService.java:26)&lt;br /&gt;at com.collaxa.cube.fe.util.ServletUtils.getLocatorWithoutUrlRewrite(ServletUtils.java:77)&lt;br /&gt;at _deployHttpClientProcess._jspService(_deployHttpClientProcess.java:332)&lt;br /&gt;at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)&lt;br /&gt;at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)&lt;br /&gt;at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)&lt;br /&gt;at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)&lt;br /&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)&lt;br /&gt;at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)&lt;br /&gt;at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)&lt;br /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;br /&gt;at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)&lt;br /&gt;at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)&lt;br /&gt;at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:644)&lt;br /&gt;at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)&lt;br /&gt;at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)&lt;br /&gt;at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)&lt;br /&gt;at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)&lt;br /&gt;at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)&lt;br /&gt;at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)&lt;br /&gt;at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)&lt;br /&gt;at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)&lt;br /&gt;at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)&lt;br /&gt;at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)&lt;br /&gt;at java.lang.Thread.run(Thread.java:595)&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-872776182838199038?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/872776182838199038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/07/problem-occured-while-connecting-to.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/872776182838199038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/872776182838199038'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/07/problem-occured-while-connecting-to.html' title='A problem occured while connecting to server &quot;hostname&quot; using port &quot;80&quot;: java.security.AccessControlException: access denied (com.collaxa.security.Dom'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-230416368945440385</id><published>2010-07-08T13:13:00.002+02:00</published><updated>2010-07-08T13:15:41.724+02:00</updated><title type='text'>Error during deployment war: Incompatible argument to function</title><content type='html'>After we changed the JDK of the OC4J container from 1.5 to 1.6 we had problems deploying applications.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;BUILD FAILED&lt;br /&gt;build.xml:115: Deploy error: Operation failed with error:&lt;br /&gt;(class: xx/xx/xxx , method: YyyyyY signature: (Ljava/util/Map;)RRR/rrr/RRR;) Incompatible argument to function&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-230416368945440385?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/230416368945440385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/07/error-during-deployment-war.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/230416368945440385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/230416368945440385'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/07/error-during-deployment-war.html' title='Error during deployment war: Incompatible argument to function'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5099579700632665656</id><published>2010-06-10T08:38:00.003+02:00</published><updated>2010-06-10T08:39:44.346+02:00</updated><title type='text'>Apache Address already in use: make_sock: could not bind to port xxxx</title><content type='html'>Error in the Apache error.log&lt;br /&gt;&lt;br /&gt;Apache Address already in use: make_sock: could not bind to port xxxx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Find the process which is using the port:&lt;br /&gt;netstat -tulpn| grep :xxxxx&lt;br /&gt;&lt;br /&gt;Kill the process:&lt;br /&gt;&lt;br /&gt;kill -9 httpd&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5099579700632665656?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5099579700632665656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/06/apache-address-already-in-use-makesock.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5099579700632665656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5099579700632665656'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/06/apache-address-already-in-use-makesock.html' title='Apache Address already in use: make_sock: could not bind to port xxxx'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-1364082431194408879</id><published>2010-05-05T12:25:00.003+02:00</published><updated>2010-05-05T12:50:43.371+02:00</updated><title type='text'>ESB Console: no systems. Error in log.xml: WSDL parsing failed : WSDL Parsing Failed: Connection timed out</title><content type='html'>In the metalink note: 467440.1 a possible solution is provided but in our case this was not working. We had a big application which was using Oracle BPEL en Oracle ESB. In the new release the Oracle ESB was replaced by another ESB (mule) but the old ESB systems were still deployed in the Oracle ESB. The ESB Console was not able to retrieve the ESB systems anymore, so everything was empty in the screen. The only error in log.xml in $ORACLE_HOME/j2ee/oc4j_soa/log/oc4j/.../log.xml was&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;WSDL parsing failed :WSDL Parsing Failed: Connection timed out&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;We did an undeploy of the esb system with ant and this solved the problem.&lt;br /&gt;&lt;br /&gt;This is how we did the undeployment:&lt;br /&gt;&lt;br /&gt;build.xml:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="windows-1252" ?&amp;gt;&lt;br /&gt;&amp;lt;project name="deploy" default="undeploy-esb"&amp;gt;&lt;br /&gt;&lt;br /&gt;  &amp;lt;property file="build.properties"/&amp;gt;&lt;br /&gt;&lt;br /&gt;  &amp;lt;import file="../etc/ESBMetadataMigrationTaskdefs.xml"/&amp;gt;&lt;br /&gt;  &amp;lt;target name="undeploy-esb"&amp;gt;&lt;br /&gt;&lt;br /&gt;      &amp;lt;undeployESBEntities&lt;br /&gt;            esbMetadataServerHostname="[HOSTNAME]"&lt;br /&gt;            esbMetadataServerPort="[PORT]"&lt;br /&gt;            userName="oc4jadmin"&lt;br /&gt;            password="[PASSWORD]"&amp;gt;&lt;br /&gt;         &amp;lt;system guid="[ESBSYSTEM GUID]"/&amp;gt;&lt;br /&gt;      &amp;lt;/undeployESBEntities&amp;gt;&lt;br /&gt;&lt;br /&gt;  &amp;lt;/target&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/project&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;[ESBSYSTEM GUID] can be found in de dehydration store of the SOA suite: &lt;br /&gt;&lt;br /&gt;select name, guid from oraesb.wf_systems;&lt;br /&gt;&lt;br /&gt;You need some extra files to make ant work, these files can be found in $ORACLE_HOME/integration/esb/deployment there is an zip file: documentation.zip. In this zip file the files you need are there.&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-1364082431194408879?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/1364082431194408879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/05/esb-console-no-systems-error-in-logxml.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1364082431194408879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1364082431194408879'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/05/esb-console-no-systems-error-in-logxml.html' title='ESB Console: no systems. Error in log.xml: WSDL parsing failed : WSDL Parsing Failed: Connection timed out'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-4627015022286754579</id><published>2010-04-21T20:07:00.004+02:00</published><updated>2010-04-21T20:23:31.916+02:00</updated><title type='text'>Oracle Application Server 10.1.2.3: oidldapd process, high load on server</title><content type='html'>On the production environment of the customer there was a problem that the servers sometimes did not respond on anything anymore. The oidldapd process was consuming 100% CPU and the load on the servers was very high (100+). The only thing we could do was an hard reboot of the server. &lt;br /&gt;&lt;br /&gt;We solved this issue bij tuning the OID. We replaced the default index by a bitmap index:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;To recreate the ei_attrstore index perform the following steps: &lt;br /&gt;&lt;br /&gt;a.  Use sqlplus to connect to the OID database as user "ods" or connect as system and set the schema to ods, e.g. &lt;br /&gt;&lt;br /&gt;$ sqlplus system/&lt;system password&gt; &lt;br /&gt;SQL&gt; alter session set current_schema=ods; &lt;br /&gt;&lt;br /&gt;b.  Drop the existing ei_attrstore index: &lt;br /&gt;&lt;br /&gt;SQL&gt; drop index ei_attrstore; &lt;br /&gt;&lt;br /&gt;c.  Recreate the ei_attrstore index: &lt;br /&gt;&lt;br /&gt;SQL&gt; create bitmap index ei_attrstore on ds_attrstore(entryid, attrname) tablespace olts_attrstore nologging compute statistics; &lt;br /&gt;&lt;br /&gt;SQL&gt; alter index ei_attrstore noparallel;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And we changed the configset0&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ORACLE_HOME/bin/ldapmodify -h [SERVERNAME] -p [PORT] -D cn=orcladmin -w [PASSWORD] -v &amp;lt;&amp;lt;EOF&lt;br /&gt;dn: cn=configset0,cn=osdldapd,cn=subconfigsubentry&lt;br /&gt;changetype: modify&lt;br /&gt;replace: orclmaxcc&lt;br /&gt;orclmaxcc: 10&lt;br /&gt;-&lt;br /&gt;replace: orclserverproces&lt;br /&gt;orclserverprocs: 2&lt;br /&gt;EOF&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;After these changes the oidldapd did not have the strange behavior anymore.&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-4627015022286754579?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/4627015022286754579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/04/oracle-application-server-10123.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4627015022286754579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4627015022286754579'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/04/oracle-application-server-10123.html' title='Oracle Application Server 10.1.2.3: oidldapd process, high load on server'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-4100259986189741585</id><published>2010-04-20T13:53:00.005+02:00</published><updated>2010-04-20T14:43:36.460+02:00</updated><title type='text'>Oracle Application Server 10.1.3 / JDBC connections based on tnsnames.ora</title><content type='html'>The customer wants to use DataGuard as backend for the applications that are hosted on the Oracle Application Server 10.1.3. To implement this solution it is necessary to configure the JDBC connections with the tnsnames.ora, because with this solution it is possible to put more databases (on different servers) in one JDBC connection.&lt;br /&gt;&lt;br /&gt;Oracle has an java program to check if this connection is working:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;// -- begin : cut here : ThinTnsnames.java -- cut there&lt;br /&gt;import java.sql.*;&lt;br /&gt;import oracle.jdbc.pool.*;&lt;br /&gt;&lt;br /&gt;public class ThinTnsnames {&lt;br /&gt;  // private static OracleConnection connection = null;&lt;br /&gt;  static String sql = null;&lt;br /&gt;&lt;br /&gt;  public static void main(String[] args) {&lt;br /&gt;    String entry_name = args [0];&lt;br /&gt;    String userId = args [1];&lt;br /&gt;    String password = args [2];&lt;br /&gt;    test (entry_name, userId, password);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public static void test (String entry_name, String userId, String password) {&lt;br /&gt;    Connection pconnection = null;&lt;br /&gt;    try {&lt;br /&gt;      String l_url = "jdbc:oracle:thin:@" + entry_name;&lt;br /&gt;      System.out.println( " Connection string = " + l_url );&lt;br /&gt;&lt;br /&gt;      OracleDataSource ods = new OracleDataSource();&lt;br /&gt;      ods.setUser(userId);&lt;br /&gt;      ods.setPassword(password);&lt;br /&gt;      ods.setURL(l_url);&lt;br /&gt;      pconnection = ods.getConnection ();&lt;br /&gt;      version (pconnection );&lt;br /&gt;    }&lt;br /&gt;    catch(SQLException e) {&lt;br /&gt;      e.printStackTrace();&lt;br /&gt;    }&lt;br /&gt;    finally {&lt;br /&gt;      try {&lt;br /&gt;        if (pconnection != null )pconnection .close();&lt;br /&gt;      }&lt;br /&gt;      catch(Exception e) {&lt;br /&gt;        e.printStackTrace();&lt;br /&gt;      }&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public static void version (Connection pconnection) {&lt;br /&gt;    try {&lt;br /&gt;      DatabaseMetaData dmd = pconnection.getMetaData();&lt;br /&gt;      System.out.println("DriverVersion: ["+dmd.getDriverVersion()+"]");&lt;br /&gt;      System.out.println("DriverMajorVersion: ["+dmd.getDriverMajorVersion()+"]");&lt;br /&gt;      System.out.println("DriverMinorVersion: ["+dmd.getDriverMinorVersion()+"]");&lt;br /&gt;      System.out.println("DriverName: ["+dmd.getDriverName()+"]");&lt;br /&gt;      System.out.println("URL: ["+dmd.getURL()+"]");&lt;br /&gt;      System.out.println("UserName: ["+dmd.getUserName()+"]");&lt;br /&gt;      System.out.println(dmd.getDatabaseProductName() );&lt;br /&gt;      System.out.println(dmd.getDatabaseProductVersion() );&lt;br /&gt;&lt;br /&gt;      String ver;&lt;br /&gt;      ver = System.getProperty("java.version");&lt;br /&gt;      System.out.println("The JDK version is " + ver);&lt;br /&gt;    }&lt;br /&gt;    catch(SQLException e) {&lt;br /&gt;      e.printStackTrace();&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// --end : cut here : ThinTnsnames.java -- cut there&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;compile the program:&lt;br /&gt;javac -classpath ojdbc14.jar:. ThinTnsnames.java&lt;br /&gt;&lt;br /&gt;Execute the program:&lt;br /&gt;java -Doracle.net.tns_admin=$ORACLE_HOME/network/admin -classpath .:ojdbc14.jar ThinTnsnames [DATABASE] [USER] [PASSWORD]&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt; Connection string = jdbc:oracle:thin:@[DATABASE]&lt;br /&gt;Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 221&lt;br /&gt;        at oracle.net.nl.NVTokens.parseTokens(Unknown Source)&lt;br /&gt;        at oracle.net.nl.NVFactory.createNVPair(Unknown Source)&lt;br /&gt;        at oracle.net.nl.NLParamParser.addNLPListElement(Unknown Source)&lt;br /&gt;        at oracle.net.nl.NLParamParser.initializeNlpa(Unknown Source)&lt;br /&gt;        at oracle.net.nl.NLParamParser.&lt;init&gt;(Unknown Source)&lt;br /&gt;        at oracle.net.resolver.TNSNamesNamingAdapter.loadFile(Unknown Source)&lt;br /&gt;        at oracle.net.resolver.TNSNamesNamingAdapter.checkAndReload(Unknown Source)&lt;br /&gt;        at oracle.net.resolver.TNSNamesNamingAdapter.resolve(Unknown Source)&lt;br /&gt;        at oracle.net.resolver.NameResolver.resolveName(Unknown Source)&lt;br /&gt;        at oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source)&lt;br /&gt;        at oracle.net.ns.NSProtocol.establishConnection(Unknown Source)&lt;br /&gt;        at oracle.net.ns.NSProtocol.connect(Unknown Source)&lt;br /&gt;        at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:858)&lt;br /&gt;        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)&lt;br /&gt;        at oracle.jdbc.driver.PhysicalConnection.&lt;init&gt;(PhysicalConnection.java:441)&lt;br /&gt;        at oracle.jdbc.driver.T4CConnection.&lt;init&gt;(T4CConnection.java:165)&lt;br /&gt;        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)&lt;br /&gt;        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)&lt;br /&gt;        at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:297)&lt;br /&gt;        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:221)&lt;br /&gt;        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:165)&lt;br /&gt;        at ThinTnsnames.test(ThinTnsnames.java:26)&lt;br /&gt;        at ThinTnsnames.main(ThinTnsnames.java:13)&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I could not find the problem for this issue. But after logging an SR on metalink the problem was the tnsnames.ora file.&lt;br /&gt;&lt;br /&gt;We had one database entry in the tnsnames.ora:&lt;br /&gt;&lt;br /&gt;[DATABASE] =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt;  (ADDRESS_LIST =&lt;br /&gt;        (ADDRESS = (PROTOCOL = TCP)(HOST = [SERVERNAME] l)(PORT = 1521)))&lt;br /&gt;        (CONNECT_DATA = (SERVICE_NAME = [DATABASE] )(SERVER = DEDICATED)))&lt;br /&gt;&lt;br /&gt;But this entry was not correct.&lt;br /&gt;&lt;br /&gt;We changed the tnsnames.ora:&lt;br /&gt;&lt;br /&gt;[DATABASE] =&lt;br /&gt;  (DESCRIPTION =&lt;br /&gt;    (ADDRESS = (PROTOCOL = TCP)(HOST = [SERVERNAME] )(PORT = 1521))&lt;br /&gt;    (CONNECT_DATA =&lt;br /&gt;      (SERVER = DEDICATED)&lt;br /&gt;      (SERVICE_NAME = [DATABASE])&lt;br /&gt;    )&lt;br /&gt;  )&lt;br /&gt;&lt;br /&gt;And now execute the program:&lt;br /&gt;&lt;br /&gt;java -Doracle.net.tns_admin=$ORACLE_HOME/network/admin -classpath .:ojdbc14.jar ThinTnsnames [DATABASE] [USER] [PASSWORD]&lt;br /&gt;&lt;br /&gt; Connection string = jdbc:oracle:thin:@[DATABASE]&lt;br /&gt;DriverVersion: [10.2.0.4.0]&lt;br /&gt;DriverMajorVersion: [10]&lt;br /&gt;DriverMinorVersion: [2]&lt;br /&gt;DriverName: [Oracle JDBC driver]&lt;br /&gt;URL: [jdbc:oracle:thin:@[database]]&lt;br /&gt;UserName: [USER]&lt;br /&gt;Oracle&lt;br /&gt;Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production&lt;br /&gt;With the Partitioning, OLAP, Data Mining and Real Application Testing options&lt;br /&gt;The JDK version is 1.5.0_06&lt;br /&gt;&lt;br /&gt;If this program is working it is also possible to make a JDBC connection in enterprise managers like this:&lt;br /&gt;jdbc:oracle:thin:@[DATABASE]&lt;br /&gt;&lt;br /&gt;In the start parameters of the OC4J container there should be an extra option:&lt;br /&gt;-Doracle.net.tns_admin=[TNSNAMES LOCATION]&lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;It is also possible to configure the JDBC connection like an tnsnames.ora entry in the enterprise manager: &lt;br /&gt;&lt;br /&gt;jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(failover=on)(ADDRESS=(PROTOCOL=TCP)(HOST=[SERVERNAME1])(PORT=1521))(address=(protocol=tcp)(host=[SERVERNAME2])(port=1521)))(CONNECT_DATA=(SERVICE_NAME=[DATABASE])))&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-4100259986189741585?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/4100259986189741585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/04/oracle-application-server-1013-jdbc.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4100259986189741585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4100259986189741585'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/04/oracle-application-server-1013-jdbc.html' title='Oracle Application Server 10.1.3 / JDBC connections based on tnsnames.ora'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-7715651589973936059</id><published>2010-03-26T12:46:00.002+01:00</published><updated>2010-03-26T12:46:51.815+01:00</updated><title type='text'>Upgrade Default JDK to new version Oracle Application Server 10.1.3</title><content type='html'>Metalink note: 396096.1]&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-7715651589973936059?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/7715651589973936059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/03/upgrade-default-jdk-to-new-version.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7715651589973936059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7715651589973936059'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/03/upgrade-default-jdk-to-new-version.html' title='Upgrade Default JDK to new version Oracle Application Server 10.1.3'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-1714295727445661478</id><published>2010-03-10T09:55:00.002+01:00</published><updated>2010-03-10T09:58:56.049+01:00</updated><title type='text'>upgrade 10.1.2.x to 10.1.2.3: Oracle Internet Directory Patch Configuration Assistant fails</title><content type='html'>When I upgraded the infra 10.1.2.x to 10.1.2.3 I got an failed on Oracle Internet Directory Patch Configuration Assistant. I found out that in the $ORACLE_HOME/ldap/log/patchca.log there was an error:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Wed Mar 10 09:51:41 CET 2010OID PatchCA started..&lt;br /&gt;Check if OID is configured.&lt;br /&gt;oracle.sysman.assistants.util.NetAPIException: TNS-04404: no error&lt;br /&gt;  caused by: oracle.net.config.ConfigException: TNS-04414: File error&lt;br /&gt;  caused by: TNS-04612: Null RHS for "oaiinfra"&lt;br /&gt;        at oracle.sysman.assistants.util.NetworkUtils.getNetServiceNameValue(NetworkUtils.java:2241)&lt;br /&gt;        at oracle.ldap.oidinstall.OIDPatchCA.run(OIDPatchCA.java:255)&lt;br /&gt;        at oracle.ldap.oidinstall.OIDPatchCA.main(OIDPatchCA.java:443)&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;After some investigation I found out that the tnsnames.ora was not correct. We changed this an now everything is working.&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-1714295727445661478?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/1714295727445661478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/03/upgrade-1012x-to-10123-oracle-internet.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1714295727445661478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1714295727445661478'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/03/upgrade-1012x-to-10123-oracle-internet.html' title='upgrade 10.1.2.x to 10.1.2.3: Oracle Internet Directory Patch Configuration Assistant fails'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-1807773596171223066</id><published>2010-02-26T07:06:00.002+01:00</published><updated>2010-02-26T07:21:18.527+01:00</updated><title type='text'>Make Access Server debug log (oblog.log) more readable</title><content type='html'>tail -f oblog.log | sed 's/\%25253d/=/g' | sed 's/\%253d/=/g' | sed 's/\%20/ /g' | sed 's/\%3d/=/g' | sed 's/\%2520/ /g' | sed 's/\%2525253/=/g' | tr ' ' '\n'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-1807773596171223066?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/1807773596171223066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/02/make-access-server-debug-log-obloglog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1807773596171223066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1807773596171223066'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/02/make-access-server-debug-log-obloglog.html' title='Make Access Server debug log (oblog.log) more readable'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-8069298281985576090</id><published>2010-02-04T14:37:00.002+01:00</published><updated>2010-02-04T14:42:57.859+01:00</updated><title type='text'>After CPU patch OC4J containers will not start anymore</title><content type='html'>We applied a CPU patch an Oracle Infrastructure 10.1.2.3 and after that the OC4J containers did not start anymore.&lt;br /&gt;&lt;br /&gt;In de $ORACLE_HOME/ldap/log/oidldapd01.log the following error: &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Bind failed on communication endpoint (13)  &lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;With an opmnctl status the OID seems to be up.&lt;br /&gt;&lt;br /&gt;When this problem occurs you need to execute root.sh.&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-8069298281985576090?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/8069298281985576090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/02/after-cpu-patch-oc4j-containers-will.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8069298281985576090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8069298281985576090'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/02/after-cpu-patch-oc4j-containers-will.html' title='After CPU patch OC4J containers will not start anymore'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-7591710670194971596</id><published>2010-02-03T08:17:00.002+01:00</published><updated>2010-02-03T08:19:49.856+01:00</updated><title type='text'>The requested resource could not be mapped to a policy domain in the Policy database. Check if the corresponding directory service is up</title><content type='html'>In the browser we got an 401 Unauthorized error when we tried to start an application behind Oracle Access manager.&lt;br /&gt;&lt;br /&gt;In the log.xml in $ORACLE_HOME/j2ee/[OC4J_CONTAINER]/log/[OC4J_CONTAINER/oc4j/ the error:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;[CoreIDLoginModule]: Could not authentication user using ObSSOCookie token. Exception: [CoreIDLoginModule]: Could not fetch groups from Access Server. Exception: The requested resource could not be mapped to a policy domain in the Policy database. Check if the corresponding directory service is up.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;In the SDK log directory $SDK_HOME/oblix/logs &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;2010/01/29@07:24:43.738335      7278    7278    ACCESS_SDK      ERROR   0x00001830      /usr/abuild/Oblix/10142hf/palantir/access_api/src/obresource_request.cpp:715  "The requested resource could not be mapped to a policy domain in the Policy database. Check if the corresponding directory service is up."   raw_code^305&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I forgot to create the policy for /myresourceurl in the policy manager. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-7591710670194971596?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/7591710670194971596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/02/requested-resource-could-not-be-mapped.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7591710670194971596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7591710670194971596'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/02/requested-resource-could-not-be-mapped.html' title='The requested resource could not be mapped to a policy domain in the Policy database. Check if the corresponding directory service is up'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-8667928066480044782</id><published>2010-01-20T15:26:00.002+01:00</published><updated>2010-01-20T15:36:24.411+01:00</updated><title type='text'>java.lang.OutOfMemoryError: PermGen space</title><content type='html'>Nice blog post about Perm Gen&lt;br /&gt;&lt;br /&gt;http://oraclebpelindepth.blogspot.com/2009/04/javalangoutofmemoryerror-permgen-space.html&lt;br /&gt;http://www.freshblurbs.com/explaining-java-lang-outofmemoryerror-permgen-space&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-8667928066480044782?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/8667928066480044782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/01/javalangoutofmemoryerror-permgen-space.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8667928066480044782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8667928066480044782'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/01/javalangoutofmemoryerror-permgen-space.html' title='java.lang.OutOfMemoryError: PermGen space'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-9178141439431017448</id><published>2010-01-14T08:53:00.002+01:00</published><updated>2010-01-14T08:57:17.495+01:00</updated><title type='text'>Install WebGate 10.1.4.2.3 on Apache2 RHEL 5.x 64bit</title><content type='html'>Download the WebGate software from:&lt;br /&gt;http://download.oracle.com/otn/linux/ias/101401/oam_int_linux_v8_cd1.zip&lt;br /&gt;&lt;br /&gt;Login with putty on the server:&lt;br /&gt;su - root&lt;br /&gt;&lt;br /&gt;mkdir -p $WEBGATE_HOME/gcc&lt;br /&gt;&lt;br /&gt;cp /lib64/libgcc_s.so.1 /appl/oracle/access_10.1.4/gcc/&lt;br /&gt;cp /usr/lib64/libstdc++.so.5 /appl/oracle/access_10.1.4/gcc/&lt;br /&gt;&lt;br /&gt;unzip oam_int_linux_v8_cd1.zip&lt;br /&gt;&lt;br /&gt;./Oracle_Access_Manager10_1_4_2_3_linux64_APACHE22_WebGate&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-9178141439431017448?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/9178141439431017448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/01/install-webgate-101423-on-apache2-rhel.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9178141439431017448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9178141439431017448'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/01/install-webgate-101423-on-apache2-rhel.html' title='Install WebGate 10.1.4.2.3 on Apache2 RHEL 5.x 64bit'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-6912359382770471022</id><published>2010-01-13T10:34:00.002+01:00</published><updated>2010-01-13T10:41:25.437+01:00</updated><title type='text'>Identity Service Authentication failure.</title><content type='html'>We had an problem in de $ORACLE_HOME/opmn/logs/soa_group....log&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;2010-01-13 10:19:05,694&amp;gt; &amp;lt;ERROR&amp;gt; &amp;lt;ari.collaxa.cube.services&amp;gt; &amp;lt;PCException::&amp;lt;init&amp;gt;&amp;gt; Identity Service Authentication failure.&lt;br /&gt;&amp;lt;2010-01-13 10:19:05,695&amp;gt; &amp;lt;ERROR&amp;gt; &amp;lt;ari.collaxa.cube.services&amp;gt; &amp;lt;PCException::&amp;lt;init&amp;gt;&amp;gt; Identity Service Authentication failure.&lt;br /&gt;&amp;lt;2010-01-13 10:19:05,695&amp;gt; &amp;lt;ERROR&amp;gt; &amp;lt;ari.collaxa.cube.services&amp;gt; &amp;lt;PCException::&amp;lt;init&amp;gt;&amp;gt; Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Our SOA is integrated with the OID.&lt;br /&gt;&lt;br /&gt;The problem was that the account of the oc4jadmin was locked out in the OID.&lt;br /&gt;&lt;br /&gt;This can be tested by starting oidadmin and try to login with cn=oc4jadmin, cn=users, dc=oracle, dc=com.&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-6912359382770471022?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/6912359382770471022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/01/identity-service-authentication-failure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6912359382770471022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6912359382770471022'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/01/identity-service-authentication-failure.html' title='Identity Service Authentication failure.'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3407674890716361664</id><published>2010-01-08T08:04:00.000+01:00</published><updated>2010-01-08T08:05:11.240+01:00</updated><title type='text'>Tuning Oracle Access Manager</title><content type='html'>Metalink:&lt;br /&gt;&lt;br /&gt;https://support.oracle.com/CSP/main/article?cmd=show&amp;id=404902.1&amp;type=NOT&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3407674890716361664?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3407674890716361664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/01/tuning-oracle-access-manager.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3407674890716361664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3407674890716361664'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2010/01/tuning-oracle-access-manager.html' title='Tuning Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-9027336011497480109</id><published>2009-11-26T13:06:00.003+01:00</published><updated>2009-11-26T13:21:20.189+01:00</updated><title type='text'>ESB cluster: both ESBDT instances up.</title><content type='html'>In the documentation of the clustering is described that the opmn.xml must be changed.&lt;br /&gt;&lt;br /&gt;The oc4j_esbdt container should look like: &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;process-type id="OC4J_ESBDT" module-id="OC4J" service-failover="1" status="enabled"&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And the numprocs entry should be removed: &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;process-set id="default_group"/&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This change will still make it possible to have two esbdt applications live at the same time.&lt;br /&gt;&lt;br /&gt;There must be made another change:&lt;br /&gt;service-weight="value" should be added athe the process-type.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;process-type id="OC4J_ESBDT" module-id="OC4J" service-failover="1" service-weight="100" status="enabled"&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The instances that run the actual service-failover processes are selected based upon the configured (or default) service-weight value. Instances with higher weights are selected over instances with lower weights.&lt;br /&gt;&lt;br /&gt;The expected behavior is that upon startup (opmnctl startall) both ESB-DT instances will startup; however after a very short period of time the OPMN will shutdown the less weighted instance and it will keep running only the higher weighted one. &lt;br /&gt;&lt;br /&gt;See metalink note: 733536.1&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-9027336011497480109?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/9027336011497480109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/11/esb-cluster-both-esbdt-instances-up.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9027336011497480109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9027336011497480109'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/11/esb-cluster-both-esbdt-instances-up.html' title='ESB cluster: both ESBDT instances up.'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-6864229133063989128</id><published>2009-11-24T14:23:00.002+01:00</published><updated>2009-11-24T14:32:13.405+01:00</updated><title type='text'>ESB-DT: org.apache.slide.webdav.WebdavServlet - ERROR - org.apache.slide.webdav.WebdavException: Internal Server Error</title><content type='html'>The error: "org.apache.slide.webdav.WebdavServlet - ERROR - org.apache.slide.webdav.WebdavException: Internal Server Error" somethings is shown in the log file of the ESB-DT (design time) by deployment of Large ESB systems. On metalink we found the error: note: 863024.1&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;09/11/24 12:59:35 24 Nov 2009 12:59:35 - org.apache.slide.webdav.WebdavServlet - ERROR - org.apache.slide.webdav.WebdavException: Internal Server Error&lt;br /&gt;09/11/24 12:59:35 org.apache.slide.webdav.WebdavException: Internal Server Error&lt;br /&gt;09/11/24 12:59:35       at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:424)&lt;br /&gt;09/11/24 12:59:35       at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:155)&lt;br /&gt;09/11/24 12:59:35       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)&lt;br /&gt;09/11/24 12:59:35       at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)&lt;br /&gt;09/11/24 12:59:35       at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)&lt;br /&gt;09/11/24 12:59:35       at java.security.AccessController.doPrivileged(Native Method)&lt;br /&gt;09/11/24 12:59:35       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)&lt;br /&gt;09/11/24 12:59:35       at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)&lt;br /&gt;09/11/24 12:59:35       at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)&lt;br /&gt;09/11/24 12:59:35       at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)&lt;br /&gt;09/11/24 12:59:35       at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)&lt;br /&gt;09/11/24 12:59:35       at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)&lt;br /&gt;09/11/24 12:59:35       at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)&lt;br /&gt;09/11/24 12:59:35       at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)&lt;br /&gt;09/11/24 12:59:35       at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)&lt;br /&gt;09/11/24 12:59:35       at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)&lt;br /&gt;09/11/24 12:59:35       at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)&lt;br /&gt;09/11/24 12:59:35       at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)&lt;br /&gt;09/11/24 12:59:35       at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)&lt;br /&gt;09/11/24 12:59:35       at java.lang.Thread.run(Thread.java:595)&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;1) In httpd.conf set timeout to 3600&lt;br /&gt;2) $ORACLE_HOME/j2ee/&lt;ESB Designtime container name, e.g. oc4j_soa, oc4j_esbdt)&gt;/config/transaction-manager.xml&lt;br /&gt;&lt;br /&gt;set transaction-timeout="3600"&lt;br /&gt;3) Restart SOA suite.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-6864229133063989128?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/6864229133063989128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/11/esb-dt-orgapacheslidewebdavwebdavservle.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6864229133063989128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6864229133063989128'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/11/esb-dt-orgapacheslidewebdavwebdavservle.html' title='ESB-DT: org.apache.slide.webdav.WebdavServlet - ERROR - org.apache.slide.webdav.WebdavException: Internal Server Error'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-7076489925392400760</id><published>2009-11-19T08:03:00.002+01:00</published><updated>2009-11-19T08:06:34.566+01:00</updated><title type='text'>An unhandled exception has been thrown in the ESB system. The exception reported is: "".</title><content type='html'>When the error An unhandled exception has been thrown in the ESB system. The exception reported is: "". occures by deployment of the ESB. It can be a problem in the source of the ESB / BPEL. &lt;br /&gt;&lt;br /&gt;In our situation the SOAP Services and the ESB were not in sync, that gave the problems. So the source of the ESB and BPEL is changed, that solved the problem.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;DeployESBSuitcase:&lt;br /&gt;log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.params.DefaultHttpParams).&lt;br /&gt;log4j:WARN Please initialize the log4j system properly.&lt;br /&gt;Deployment Attempt Response :&lt;br /&gt;&lt;deploymentSummary&gt;&lt;br /&gt;   &lt;message&gt;Entity Deployment Failed&lt;/message&gt;&lt;br /&gt;   &lt;errors&gt;&lt;br /&gt;      &lt;error code="0" severity="10"&gt;&lt;br /&gt;         &lt;description&gt;An unhandled exception has been thrown in the ESB system. The exception reported is: "".&lt;/description&gt;&lt;br /&gt;         &lt;fix&gt;&lt;/fix&gt;&lt;br /&gt;      &lt;/error&gt;&lt;br /&gt;   &lt;/errors&gt;&lt;br /&gt;&lt;/deploymentSummary&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Deployment Failed ...Unhandled Exception&lt;br /&gt;java.lang.Exception: Deployment attempt failed, please review deployment attempt response above&lt;br /&gt;        at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:112)&lt;br /&gt;        at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:159)&lt;br /&gt;        at oracle.tip.esb.client.anttasks.DeployESBSuitcaseTask.execute(DeployESBSuitcaseTask.java:510)&lt;br /&gt;        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)&lt;br /&gt;        at org.apache.tools.ant.Task.perform(Task.java:364)&lt;br /&gt;        at org.apache.tools.ant.Target.execute(Target.java:341)&lt;br /&gt;        at org.apache.tools.ant.Target.performTasks(Target.java:369)&lt;br /&gt;        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)&lt;br /&gt;        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)&lt;br /&gt;        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)&lt;br /&gt;        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)&lt;br /&gt;        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)&lt;br /&gt;        at org.apache.tools.ant.Task.perform(Task.java:364)&lt;br /&gt;        at org.apache.tools.ant.Target.execute(Target.java:341)&lt;br /&gt;        at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:108)&lt;br /&gt;        at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)&lt;br /&gt;        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)&lt;br /&gt;        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)&lt;br /&gt;        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)&lt;br /&gt;        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)&lt;br /&gt;        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)&lt;br /&gt;        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)&lt;br /&gt;        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)&lt;br /&gt;        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)&lt;br /&gt;        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)&lt;br /&gt;        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)&lt;br /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;br /&gt;        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br /&gt;        at java.lang.reflect.Method.invoke(Method.java:585)&lt;br /&gt;        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)&lt;br /&gt;        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)&lt;br /&gt;        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)&lt;br /&gt;        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-7076489925392400760?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/7076489925392400760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/11/unhandled-exception-has-been-thrown-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7076489925392400760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7076489925392400760'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/11/unhandled-exception-has-been-thrown-in.html' title='An unhandled exception has been thrown in the ESB system. The exception reported is: &quot;&quot;.'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-2625476659379733725</id><published>2009-11-11T09:14:00.003+01:00</published><updated>2010-01-27T14:37:03.183+01:00</updated><title type='text'>Identity service cannot get roles in realm "{0}". BPEL identity service fails</title><content type='html'>We had problems while invoking the service getGrantees on /integration/services/IdentityService/identity. &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Identity service cannot get roles in realm "{0}".&lt;br /&gt;Error occurs while getting roles in realm "[REALM]".&lt;br /&gt;Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;After we did a new configure on both instances in the cluster:&lt;br /&gt;$ORACLE_HOME/bpel/system/services/install/ant-tasks&lt;br /&gt; ./configure_oid.sh orcladmin [password] [port] false [realm] seedRequiredUsers oc4jadmin [password] oc4j_soa&lt;br /&gt;&lt;br /&gt;And we checked the differences between the $ORACLE_HOME/j2ee/oc4j_soa/config/system-jazn-data.xml and $ORACLE_HOME/j2ee/home/config/system-jazn-data.xml. And changed some of the lines.&lt;br /&gt;&lt;br /&gt;Another reason can be that the jazn.xml in the $ORACLE_HOME/j2ee/oc4j_soa/config/jazn.xml is not correct. This file should automaticaly be changed by changing the security provider in em, sometimes this fails. You can change the security provider to the original value and after that back to the OID in em and look in $ORACLE_HOME/j2ee/home/config/jazn.xml. The contents should be changed with the correct values for your OID.&lt;br /&gt;&lt;br /&gt;Everything worked again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-2625476659379733725?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/2625476659379733725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/11/identity-service-cannot-get-roles-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2625476659379733725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2625476659379733725'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/11/identity-service-cannot-get-roles-in.html' title='Identity service cannot get roles in realm &quot;{0}&quot;. BPEL identity service fails'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-4421935271048574779</id><published>2009-11-11T08:08:00.003+01:00</published><updated>2009-11-16T13:18:36.736+01:00</updated><title type='text'>Form-Based Authentication for J2EE application, Netpoint/Oblix/CoreId/Oracle Access Manager, logon second time does not work</title><content type='html'>A customer of mine was using form based authetication with Oracle Access Manager. When the users logged in for the first time through the login.html screen everyting was ok. But when they logged out and tried to login again the form was not working anymore. &lt;br /&gt;&lt;br /&gt;We used the logout.html code from the installation directory of the webgate. After some investigation we found out that the problem was that the registration of the webgates and access gates had different values for the cookie settings. &lt;br /&gt;&lt;br /&gt;Primary HTTP Cookie Domain   [hostname]&lt;br /&gt;Preferred HTTP Host        [virtual hostname]&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-4421935271048574779?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/4421935271048574779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/11/form-based-authentication-for-j2ee.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4421935271048574779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4421935271048574779'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/11/form-based-authentication-for-j2ee.html' title='Form-Based Authentication for J2EE application, Netpoint/Oblix/CoreId/Oracle Access Manager, logon second time does not work'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3421633640608489434</id><published>2009-10-02T12:58:00.003+02:00</published><updated>2009-11-18T10:01:32.701+01:00</updated><title type='text'>SOA 10.1.3.x:  SOAP Endpoint URI returns 404 error</title><content type='html'>When the SOAP Endpoint URI returns an 404 error a possible solution can be: metalink note:  741792.1&lt;br /&gt;&lt;br /&gt;1. Backup and edit $ORACLE_HOME/j2ee/&lt;home or oc4j_soa&gt;/config/default-web-site.xml&lt;br /&gt;2. Change the ohs-routing value from false to true:&lt;br /&gt;&lt;br /&gt;&lt;web-app application="esb-rt" name="provider-war" load-on-startup="true" root="/event"&lt;br /&gt;ohs-routing="true" /&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3421633640608489434?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3421633640608489434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/10/soa-1013x-soap-endpoint-uri-returns-404.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3421633640608489434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3421633640608489434'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/10/soa-1013x-soap-endpoint-uri-returns-404.html' title='SOA 10.1.3.x:  SOAP Endpoint URI returns 404 error'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-6325665699996196363</id><published>2009-08-14T10:15:00.004+02:00</published><updated>2009-08-14T10:19:13.776+02:00</updated><title type='text'>Apache error_log: mod_oc4j: request to OC4J [hostname]:[port] failed: Connect failed</title><content type='html'>I found out that the error below was caused by wrong configuration of the security provider of the application opm-public. When we changed jazn.xml in $ORACLE_HOME/j2ee/[oc4j_container]/config directory with the correct settings and that solved this problem.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;[Thu Aug 13 16:09:08 2009] [error] [client 10.8.192.155] [ecid: 1250172548:10.9.8.44:23073:0:7,0] mod_oc4j: Failed to find a failover oc4j process for session request for destination: application://opm-public (no island or jgroup).&lt;br /&gt;[Thu Aug 13 16:09:08 2009] [error] [client [ip_address]] [ecid: 1250172548:10.9.8.44:23073:0:7,0] mod_oc4j: request to OC4J [hostname]:[port] failed: Connect failed&lt;br /&gt;&lt;/pre&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-6325665699996196363?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/6325665699996196363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/08/apache-errorlog-modoc4j-request-to-oc4j.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6325665699996196363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6325665699996196363'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/08/apache-errorlog-modoc4j-request-to-oc4j.html' title='Apache error_log: mod_oc4j: request to OC4J [hostname]:[port] failed: Connect failed'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-4258343406592804418</id><published>2009-08-11T16:25:00.005+02:00</published><updated>2009-08-12T07:20:43.537+02:00</updated><title type='text'>Automatic BPEL deployment with ant error: A problem occured while connecting to server II</title><content type='html'>The following error can occur:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Embedded error: The following error occurred while executing this line:&lt;br /&gt;[INSTALL_DIR]/ant/bpel/common-build.xml:84: A problem occured while connecting to server "[hostname]" using port "[port]": java.security.AccessControlException: access denied (com.collaxa.security.DomainPermission HetRotterdamseHuwelijk read)&lt;br /&gt;at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)&lt;br /&gt;at java.security.AccessController.checkPermission(AccessController.java:427)&lt;br /&gt;at com.collaxa.security.OC4JSecurityService.checkAccess(OC4JSecurityService.java:16)&lt;br /&gt;at com.collaxa.security.SecurityService.checkDomainAccess(SecurityService.java:26)&lt;br /&gt;at com.collaxa.cube.fe.util.ServletUtils.getLocatorWithoutUrlRewrite(ServletUtils.java:76)&lt;br /&gt;at _deployHttpClientProcess._jspService(_deployHttpClientProcess.java:332)&lt;br /&gt;at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)&lt;br /&gt;at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)&lt;br /&gt;at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)&lt;br /&gt;at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)&lt;br /&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)&lt;br /&gt;at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)&lt;br /&gt;at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)&lt;br /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;br /&gt;at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)&lt;br /&gt;at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)&lt;br /&gt;at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)&lt;br /&gt;at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)&lt;br /&gt;at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)&lt;br /&gt;at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)&lt;br /&gt;at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)&lt;br /&gt;at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)&lt;br /&gt;at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)&lt;br /&gt;at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)&lt;br /&gt;at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)&lt;br /&gt;at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)&lt;br /&gt;at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)&lt;br /&gt;at java.lang.Thread.run(Thread.java:595)&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This can be solved by change the orion-application.xml in the deploy_services application.&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/j2ee/oc4j_soa/application-deployments/deploy_service/orion-application.xml and $ORACLE_HOME/j2ee/oc4j_soa/applications/deploy_service/META-INF/orion-application.xml&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;        &amp;#60jazn provider="XML" jaas-mode="doAsPrivileged" /&amp;#62&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Replace by:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;        &amp;#60jazn provider="LDAP" jaas-mode="doAsPrivileged" /&amp;#62&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-4258343406592804418?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/4258343406592804418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/08/automatic-bpel-deployment-with-ant_11.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4258343406592804418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4258343406592804418'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/08/automatic-bpel-deployment-with-ant_11.html' title='Automatic BPEL deployment with ant error: A problem occured while connecting to server II'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5075321364810300291</id><published>2009-08-10T14:12:00.006+02:00</published><updated>2009-08-12T07:21:06.411+02:00</updated><title type='text'>Automatic BPEL deployment with ant error: A problem occured while connecting to server</title><content type='html'>Our BPEL deployments with ant were always succesfull but after an while it was not working anymore during the deployment of an BPEL process we got the error as shown below:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;[INFO] ------------------------------------------------------------------------&lt;br /&gt;[ERROR] BUILD ERROR&lt;br /&gt;[INFO] ------------------------------------------------------------------------&lt;br /&gt;[INFO] Error executing ant tasks&lt;br /&gt;&lt;br /&gt;Embedded error: The following error occurred while executing this line:&lt;br /&gt;[INSTALL_DIR]/common-build.xml:82: A problem occured while connecting to server "[host]" using port "[port]":&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Deployment of an BPEL process by placing it in the $ORACLE_HOME/bpel/domains/[BPEL_DOMAIN]/deploy was successfull.&lt;br /&gt;&lt;br /&gt;After we enabled the verbose option I noticed which url is used to deploy the BPEL process http://hostname:port/integration/services/deploy/deployHttpClientProcess.jsp . The application used is deploy_services in the oc4j_soa container. When the url is executed in an browser an popup is shown on which you should log on. But we got an other error:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Authorization Required&lt;br /&gt;This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This error was caused by an change in the file $ORACLE_HOME/Apache/Apache/conf/mod_oc4j.conf. A while ago we put an line in this config file:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;  Oc4jUseOHSErrors on&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;After we removed &lt;span style="font-weight:bold;"&gt;Oc4jUseOHSErrors on&lt;/span&gt;. Everything worked like it supposed to.&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5075321364810300291?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5075321364810300291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/08/automatic-bpel-deployment-with-ant.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5075321364810300291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5075321364810300291'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/08/automatic-bpel-deployment-with-ant.html' title='Automatic BPEL deployment with ant error: A problem occured while connecting to server'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-6696053245623706174</id><published>2009-08-05T08:00:00.001+02:00</published><updated>2009-08-05T08:01:49.446+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>High Available Oracle Access Manager with BIG-F5</title><content type='html'>High Available Oracle Access Manager with BIG-F5&lt;br /&gt;&lt;br /&gt;http://www.f5.com/pdf/deployment-guides/f5-oracle-oam-dg.pdf&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-6696053245623706174?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/6696053245623706174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/08/high-available-oracle-access-manager.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6696053245623706174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6696053245623706174'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/08/high-available-oracle-access-manager.html' title='High Available Oracle Access Manager with BIG-F5'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-8183255314040219323</id><published>2009-07-29T16:29:00.001+02:00</published><updated>2009-07-29T16:30:49.734+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Infrastructure 10.1.2'/><title type='text'>Find the orasso password</title><content type='html'>With the following command the ORASSO database user password can be obtained:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;ldapsearch -D cn=orcladmin -w [ORCLADMIN PASSWORD] -p [LDAP_PORT] \&lt;br /&gt;           -h [LDAP_URL] -b "cn=IAS,cn=Products,cn=OracleContext" \&lt;br /&gt;           -s sub -v OrclresourceName=ORASSO | grep \&lt;br /&gt;           orclpasswordattribute&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-8183255314040219323?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/8183255314040219323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/07/find-orasso-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8183255314040219323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8183255314040219323'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/07/find-orasso-password.html' title='Find the orasso password'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-2889247143817554038</id><published>2009-07-29T16:01:00.004+02:00</published><updated>2009-07-29T16:35:50.653+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Infrastructure 10.1.2'/><title type='text'>Ldap_Search: DSA Is Unwilling To Perform</title><content type='html'>Today I wanted to make an shell script that checks if an attribute of an user in the OID had a specific value. I tried to make an ldapsearch statement but it failed with the error:&lt;br /&gt;&lt;br /&gt;DSA Is Unwilling To Perform&lt;br /&gt;ldap_search: additional info: Function Not Implemented&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I found out that it is not possible to search on an uncataloged (unindexed) attribute.&lt;br /&gt;&lt;br /&gt;This can be fixed by:&lt;br /&gt;&lt;br /&gt;Create an index on the attribute used in the search using catalog.&lt;br /&gt;&lt;br /&gt;For this example:&lt;br /&gt;$ORACLE_HOME/ldap/bin/catalog connect="[ORACLE_SID_METADATA REPOSITORY]" add=true attribute="[SEARCH ATTRIBUTE]"&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;This tool can only be executed if you know database user password for OID&lt;br /&gt;Enter OID Password ::&lt;br /&gt;&lt;br /&gt;Password of het orcladmin user should be entered now!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Restart the OID server.&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-2889247143817554038?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/2889247143817554038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/07/ldapsearch-dsa-is-unwilling-to-perform.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2889247143817554038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2889247143817554038'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/07/ldapsearch-dsa-is-unwilling-to-perform.html' title='Ldap_Search: DSA Is Unwilling To Perform'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3011183546196581975</id><published>2009-07-23T15:28:00.001+02:00</published><updated>2009-07-23T15:29:49.195+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>SOA suite clustering FAQ document (feb 2009)</title><content type='html'>http://www.oracle.com/technology/tech/soa/pdf/oracle-soa-suite-ha-faq.pdf&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3011183546196581975?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3011183546196581975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/07/soa-suite-clustering-faq-document-feb.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3011183546196581975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3011183546196581975'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/07/soa-suite-clustering-faq-document-feb.html' title='SOA suite clustering FAQ document (feb 2009)'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-1788658676290070508</id><published>2009-07-15T10:40:00.006+02:00</published><updated>2010-03-26T08:51:58.840+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>An unhandled exception has been thrown in the ESB system. The exception reported is: "java.io.IOException: Delete failed</title><content type='html'>When the following error occurs, it is possible to reset the oraesb schema in the database. The reset.sh is not recommended on a production system. First we had this problem on some development machines, we did a reset of the oraesb schema, this solved our issue. &lt;br /&gt;&lt;br /&gt;But when we had this problem on production we first tried this:&lt;br /&gt;&lt;br /&gt;Metalink note: 863024.1. The note describes another problem but it also helped us with the delete failed error.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;[deployESBProjects] Deployment Attempt Response :&lt;br /&gt;[deployESBProjects] &lt;errors&gt;&lt;br /&gt;[deployESBProjects]    &lt;error code="0" severity="10"&gt;&lt;br /&gt;[deployESBProjects]       &lt;description&gt;An unhandled exception has been thrown in the ESB system. The exception reported is: "java.io.IOException: Delete failed&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter.createIOException(ESBBaseResourceAdapter.java:630)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter.access$200(ESBBaseResourceAdapter.java:130)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter$2.delete(ESBBaseResourceAdapter.java:550)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.lifecycle.AuxiliaryFileHandler.deleteProject(AuxiliaryFileHandler.java:555)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.console.XMLConsoleManagerImpl.cleanSlideRepositoryForProject(XMLConsoleManagerImpl.java:2364)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.console.XMLConsoleManagerImpl.commit(XMLConsoleManagerImpl.java:2405)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.deploy(JDevDeploymentManager.java:226)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.configuration.deployment.DeploymentServlet.doPost(DeploymentServlet.java:120)&lt;br /&gt;[deployESBProjects]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)&lt;br /&gt;[deployESBProjects]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)&lt;br /&gt;[deployESBProjects]     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)&lt;br /&gt;[deployESBProjects]     at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)&lt;br /&gt;[deployESBProjects]     at java.security.AccessController.doPrivileged(Native Method)&lt;br /&gt;[deployESBProjects]     at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)&lt;br /&gt;[deployESBProjects]     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)&lt;br /&gt;[deployESBProjects]     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)&lt;br /&gt;[deployESBProjects]     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)&lt;br /&gt;[deployESBProjects]     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)&lt;br /&gt;[deployESBProjects]     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)&lt;br /&gt;[deployESBProjects]     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)&lt;br /&gt;[deployESBProjects]     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)&lt;br /&gt;[deployESBProjects]     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)&lt;br /&gt;[deployESBProjects]     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)&lt;br /&gt;[deployESBProjects]     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)&lt;br /&gt;[deployESBProjects]     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)&lt;br /&gt;[deployESBProjects]     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)&lt;br /&gt;[deployESBProjects]     at java.lang.Thread.run(Thread.java:595)&lt;br /&gt;[deployESBProjects] Caused by: Service org.apache.slide.store.impl.rdbms.J2EEStore@1966d52 access error : ORA-02292: integrity constraint (ORAESB.SYS_C005694) violated - child record found&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[deployESBProjects]     at org.apache.slide.macro.MacroImpl.delete(MacroImpl.java:522)&lt;br /&gt;[deployESBProjects]     at org.apache.slide.macro.MacroImpl.delete(MacroImpl.java:482)&lt;br /&gt;[deployESBProjects]     at org.apache.slide.macro.MacroImpl.delete(MacroImpl.java:463)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.server.bootstrap.slide.DeleteFolder.delete(DeleteFolder.java:76)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.server.bootstrap.slide.DeleteFolder.executeRequest(DeleteFolder.java:58)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.server.bootstrap.slide.AbstractSlideMethod.execute(AbstractSlideMethod.java:142)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.server.bootstrap.slide.SlideHandler.delete(SlideHandler.java:153)&lt;br /&gt;[deployESBProjects]     at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter$2.delete(ESBBaseResourceAdapter.java:548)&lt;br /&gt;[deployESBProjects]     ... 24 more&lt;br /&gt;[deployESBProjects] ".&lt;/description&gt;&lt;br /&gt;[deployESBProjects]       &lt;fix&gt;&lt;/fix&gt;&lt;br /&gt;[deployESBProjects]    &lt;/error&gt;&lt;br /&gt;[deployESBProjects]    &lt;message&gt;&lt;/message&gt;&lt;br /&gt;[deployESBProjects] &lt;/errors&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;Two timers need to be extended in order to make the registration successful.  It is assumed here that the HTTP server being used is the Oracle HTTP Server.&lt;br /&gt;&lt;br /&gt;(1)  At the HTTP Server that is hosting the ESB Designtime container edit the following file:&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/Apache/Apache/conf/httpd.conf&lt;br /&gt;&lt;br /&gt;(2)  Change the value of "Timeout" to a higher value, e.g. from:&lt;br /&gt;&lt;br /&gt;Timeout 300&lt;br /&gt;&lt;br /&gt;to:&lt;br /&gt;&lt;br /&gt;Timeout 3600&lt;br /&gt;&lt;br /&gt;A value of 3600 (seconds) is high enough to cover most cases, but it could be possible that a higher value may be needed.&lt;br /&gt;&lt;br /&gt;(3)  Restart the HTTP server to make the change affective.&lt;br /&gt;&lt;br /&gt;(4)  At the ESB Designtime container edit the following file:&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/j2ee/&lt;ESB Designtime container name, e.g. oc4j_soa, oc4j_esbdt)&gt;/config/transaction-manager.xml&lt;br /&gt;&lt;br /&gt;(5)  Change the value or transaction-timeout to a higher value, e.g. from:&lt;br /&gt;&lt;br /&gt;transaction-timeout="30"&lt;br /&gt; &lt;br /&gt;to:&lt;br /&gt;&lt;br /&gt;transaction-timeout="3600"&lt;br /&gt;In most cases this timeout should match that of the value set at the HTTP Server.&lt;br /&gt;&lt;br /&gt;(6)  Restart the SOA server or ESB Designtime container to make the change affective.&lt;br /&gt;&lt;br /&gt;(7)  Retry the large ESB project registration.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;If this solution does not work you can try the reset.sh.&lt;br /&gt;&lt;br /&gt;Before executing the command read the whole post!!!!! Otherwise your ESB can be corrupted.&lt;br /&gt;&lt;br /&gt;With the following command you can clean up your oraesb schema:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;cd $ORACLE_HOME/integration/esb/bin&lt;br /&gt;./reset.sh -DDB_URL=jdbc:oracle:thin:@//db_host:db_port/sid -DDB_USER=oraesb -DDB_PASSWORD=oraesb&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;WATCH OUT when using this on SOA 10.1.3.4 MLR 8&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It looks like the database schema of oraesb is corrupted after the reset.sh script. In our case the ESB deployments failed after this. I ran the sql script form the latest patch again and now everything seems fine.&lt;br /&gt;&lt;br /&gt;During deployment this error can occur:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;[deployESBProjects] Deployment Attempt Response :&lt;br /&gt;[deployESBProjects] &lt;deploymentSummary&gt;&lt;br /&gt;[deployESBProjects]    &lt;message&gt;Entity Deployment Failed&lt;/message&gt;&lt;br /&gt;[deployESBProjects]    &lt;errors&gt;&lt;br /&gt;[deployESBProjects]       &lt;error code="1001" severity="5"&gt;&lt;br /&gt;[deployESBProjects]          &lt;description&gt;Failed to create Service "ProcesServic                                                                                                                                                             e".&lt;/description&gt;&lt;br /&gt;[deployESBProjects]          &lt;fix&gt;Ensure that the (a) Repository is available. (                                                                                                                                                             b) The Connection information for the Repository is Valid. Verify the detailed c                                                                                                                                                             ause of error if available. Contact Oracle Support if error not fixable.&lt;/fix&gt;&lt;br /&gt;[deployESBProjects]       &lt;/error&gt;&lt;br /&gt;[deployESBProjects]    &lt;/errors&gt;&lt;br /&gt;[deployESBProjects] &lt;/deploymentSummary&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;There is also another problem the BPELSystem in the ESB is gone.&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-1788658676290070508?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/1788658676290070508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/07/unhandled-exception-has-been-thrown-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1788658676290070508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1788658676290070508'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/07/unhandled-exception-has-been-thrown-in.html' title='An unhandled exception has been thrown in the ESB system. The exception reported is: &quot;java.io.IOException: Delete failed'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-6004473061215977287</id><published>2009-07-06T15:00:00.003+02:00</published><updated>2009-07-06T20:11:24.797+02:00</updated><title type='text'>Howto Configuring Canon MP620 on ubuntu</title><content type='html'>Today I found a site about configuring a Canon MP620 printer on ubuntu.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://help.ubuntu.com/community/HardwareSupportComponentsPrintersCanonPrintersCanonMP620"&gt;https://help.ubuntu.com/community/HardwareSupportComponentsPrintersCanonPrintersCanonMP620&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-6004473061215977287?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/6004473061215977287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/07/great-blog-about-configuring-canon.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6004473061215977287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6004473061215977287'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/07/great-blog-about-configuring-canon.html' title='Howto Configuring Canon MP620 on ubuntu'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-6814881208029501649</id><published>2009-06-24T16:38:00.004+02:00</published><updated>2009-06-24T17:01:38.809+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application Server'/><title type='text'>Oracle Application Server 10.1.3 Associate OID with OC4J instance</title><content type='html'>In the EM console of the Oracle Application Server you can connect an OID to an OC4J instance by doing the following:&lt;br /&gt;&lt;br /&gt;Click on an oc4j instance - Click on link Administration: Under security you will find Identity Management.&lt;br /&gt;&lt;br /&gt;This text is shown:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;You can associate an installed Oracle Internet Directory with &lt;span style="font-weight:bold;"&gt;this&lt;/span&gt; OC4J instance. You can then choose to use this Oracle Internet Directory for runtime authentication and authorization for deployed applications.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I assumed that this means that you can associate multiple OID's to different OC4J instances but this is not true. When you change the OID here, it wil change the OID for all OC4J instances on this application server.&lt;br /&gt;&lt;br /&gt;When you want to user different OID's for different applications you should put this in the orion-application.xml file of the application.&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-6814881208029501649?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/6814881208029501649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/06/oracle-application-server-1013-identity.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6814881208029501649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6814881208029501649'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/06/oracle-application-server-1013-identity.html' title='Oracle Application Server 10.1.3 Associate OID with OC4J instance'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-6993253833914423136</id><published>2009-06-24T16:02:00.003+02:00</published><updated>2009-06-24T17:00:57.374+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>Login Error with error message, Form-Based Authentication for Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>When the login of Form-Based Authentication fails because the username/password combination is not correct. The default behavior is the serve the login html page. &lt;br /&gt;&lt;br /&gt;But you want to give an error on this page. This can be achieved by putting an Redirection URL with an parameter in the link like this:&lt;br /&gt;/login.jsp?LoginError=True &lt;br /&gt;&lt;br /&gt;This should be done in the policy manager:&lt;br /&gt;Default rules - Authentication Rule - Actions - Authentication Failure - Redirection URL.&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-6993253833914423136?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/6993253833914423136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/06/form-based-authentication-for.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6993253833914423136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6993253833914423136'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/06/form-based-authentication-for.html' title='Login Error with error message, Form-Based Authentication for Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-503210449618458123</id><published>2009-06-12T08:34:00.008+02:00</published><updated>2010-03-11T14:07:02.731+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle HTTP Server (OHS)'/><title type='text'>Oracle HTTP Server Version Information Not visable in Error pages</title><content type='html'>Default the users can see which Application Server is used to serve the pages, for security reasons this is not desirable. &lt;br /&gt;&lt;br /&gt;These messages can be removed by setting Signature Off in the httpd.conf instead of Signature On.&lt;br /&gt;&lt;br /&gt;Signature On:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Forbidden&lt;br /&gt;You don't have permission to access /pls/orasso on this server.&lt;br /&gt;  _____  &lt;br /&gt;&lt;br /&gt;Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at sso.someserver.com Port 443&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Signature Off&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Forbidden&lt;br /&gt;You don't have permission to access /pls/orasso on this server.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;But now the signature is still in the HTTP Headers. This can be disabled by adding the line:&lt;br /&gt;&lt;br /&gt;ServerTokens Prod&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-503210449618458123?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/503210449618458123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/06/oracle-http-server-version-information.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/503210449618458123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/503210449618458123'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/06/oracle-http-server-version-information.html' title='Oracle HTTP Server Version Information Not visable in Error pages'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-1521103485436065320</id><published>2009-06-11T15:33:00.005+02:00</published><updated>2009-06-11T18:51:15.101+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>Integrate Oracle BPEL (10.1.3.4) with OID (10.1.4.2)</title><content type='html'>When I tried to change the security provider in the AS console the following error occured in the browser:&lt;br /&gt;  &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Error&lt;br /&gt; &lt;br /&gt;An error occurred while attempting to change the Oracle Internet Directory associated with this instance. Please ensure that the OID instance is indeed up and that the connect information provided is correct before retrying.&lt;br /&gt;Error invoking method: associateOC4JWithOID on MBean: oc4j:j2eeType=Security,name=SecurityProvider,J2EEApplication=default,J2EEServer=standalone&lt;br /&gt;Error invoking method: associateOC4JWithOID on MBean: oc4j:j2eeType=Security,name=SecurityProvider,J2EEApplication=default,J2EEServer=standalone&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I ignored this error and continued with the configuration described in http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#BABIBGFF with the chapter: 2.1.3.2 Task 2: Perform Configuration Procedures.&lt;br /&gt;&lt;br /&gt;Error during executing of configure_oid.sh&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;bpel-grant-privileges:&lt;br /&gt;     [echo] Granting Server privileges to BPMSystemAdmin role...&lt;br /&gt;     [java] User [oc4jadmin] does not exist in system.&lt;br /&gt;&lt;br /&gt;BUILD FAILED&lt;br /&gt;$ORACLE_HOME/bpel/system/services/install/ant-tasks/oid-config.xml:235: Java returned: 255&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;To find the real reason for this problem you can create an new oc4j container put the logging on FINEST and try to change the security provider.&lt;br /&gt;&lt;br /&gt;In the container logging in $ORACLE_HOME/opmn/logs/default_group~[CONTAINER_NAME]~default_group~1.log the following error:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;changetype: add&lt;br /&gt;objectclass: top&lt;br /&gt;objectclass: person&lt;br /&gt;objectclass: inetorgperson&lt;br /&gt;objectclass: organizationalperson&lt;br /&gt;objectclass: orcluser&lt;br /&gt;objectclass: orcluserv2&lt;br /&gt;orclactivestartdate: 20090611000000z&lt;br /&gt;sn: oc4jadmin&lt;br /&gt;cn: oc4jadmin&lt;br /&gt;uid: oc4jadmin&lt;br /&gt;mail: oc4jadmin&lt;br /&gt;description: OC4J administrator user&lt;br /&gt;displayname: OC4J administrator&lt;br /&gt;userpassword: [PASSWORD]&lt;br /&gt; [LDAP: error code 19 - Password Policy Error :9003: GSL_PWDMINLENGTH_EXCP :Your Password must be at least 8 characters long.&lt;br /&gt;]&lt;br /&gt;        at oracle.security.jazn.util.AssociateOID.uploadDefaultOIDData(AssociateOID.java:471)&lt;br /&gt;        at oracle.security.jazn.util.AssociateOID.configure(AssociateOID.java:267)&lt;br /&gt;        at oracle.security.jazn.jmx.SecurityProvider.associateOC4JWithOID(SecurityProvider.java:694)&lt;br /&gt;        at oracle.oc4j.admin.management.mbeans.SecurityProviderManager.associateOC4JWithOID(SecurityProviderManager.java:1493)&lt;br /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;br /&gt;        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br /&gt;        at java.lang.reflect.Method.invoke(Method.java:585)&lt;br /&gt;        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)&lt;br /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;br /&gt;        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br /&gt;        at java.lang.reflect.Method.invoke(Method.java:585)&lt;br /&gt;        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)&lt;br /&gt;        at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)&lt;br /&gt;        at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)&lt;br /&gt;        at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)&lt;br /&gt;        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)&lt;br /&gt;        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)&lt;br /&gt;        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)&lt;br /&gt;        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)&lt;br /&gt;        at oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(ApplicationStateFilterMBeanServer.java:572)&lt;br /&gt;        at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:365)&lt;br /&gt;        ... 24 more&lt;br /&gt;Caused by: oracle.ldap.util.UtilException: NamingException encountered during loading of file:  $ORACLE_HOME/j2ee/home/jazn/install/oidConfigForOc4j.sbsdn: cn=oc4jadmin,cn=users,dc=test,dc=com&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Than I realised that I changed the password policy in the Oracle Internet Directory. This was the reason for the problem. My policy was that the password should be 8 characters long instead of 5.&lt;br /&gt;&lt;br /&gt;When I changed this back to the default policy everything worked ok!&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Metalink: 398855.1&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-1521103485436065320?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/1521103485436065320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/06/integrate-oracle-bpel-10134-with-oid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1521103485436065320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1521103485436065320'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/06/integrate-oracle-bpel-10134-with-oid.html' title='Integrate Oracle BPEL (10.1.3.4) with OID (10.1.4.2)'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5170568591885970368</id><published>2009-06-11T13:08:00.002+02:00</published><updated>2009-06-11T18:51:03.969+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>Get version Oracle BPEL</title><content type='html'>It is not so easy to determine the version of the Oracle BPEL application but I found an note on metalink: 419711.1&lt;br /&gt;&lt;br /&gt;In order to find the versions, we have multiple ways for some components:&lt;br /&gt;&lt;br /&gt;1. BPEL Process Manager:&lt;br /&gt;&lt;br /&gt;We can find the version of BPEL Process Manager from front-end as well as back-end:&lt;br /&gt;&lt;br /&gt;a) Finding the version from front-end:&lt;br /&gt;&lt;br /&gt;Login to BPEL Console and we find the version on the BPEL Console on the right-hand bottom. The version of BPEL Console is same as BPEL version.&lt;br /&gt;&lt;br /&gt;b) Finding the version from back-end:&lt;br /&gt;&lt;br /&gt;Execute the obversion.sh located at $ORACLE_HOME/bpel/bin directory. ORACLE_HOME is the location where the SOA Suite is installed.&lt;br /&gt;&lt;br /&gt;2. BPEL Repository:&lt;br /&gt;&lt;br /&gt;During various stages of installation or upgradation of the BPEL Process Manager or in the process of applying patches to BPEL Process Manager, the Metadata repository would also be upgraded. The version of Metadata version is 2.0.2 or 2.0.3 in 10.1.2.x versions of BPEL Process Manager. The SOA Suite 10.1.3.1.0 version of BPEL Process Manager comes with 2.0.4 version of Metadata repository.&lt;br /&gt;&lt;br /&gt;However, some patches would be run against the Metadata repository and we might need to know the versions of the Metadata repository. In such cases, we can use the following SQL to know the version:&lt;br /&gt;&lt;br /&gt;SQL&gt; conn orabpel/orabpel;&lt;br /&gt;&lt;br /&gt;SQL&gt; SELECT guid FROM version_server;&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;metalink note: 419711.1&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5170568591885970368?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5170568591885970368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/06/et-version-oracle-bpel.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5170568591885970368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5170568591885970368'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/06/et-version-oracle-bpel.html' title='Get version Oracle BPEL'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-1915813035298441230</id><published>2009-05-27T13:38:00.006+02:00</published><updated>2009-06-24T16:47:57.479+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>invalid policy configuration Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>If you made a mistake during the configuration of a policy in the policy manager and you locked yourself out of the system it is possible to undo this in the LDAP Directory. &lt;br /&gt;Use an LDAP browser/editor (for example: LDAP browser) to find the entry: &lt;br /&gt;realm&lt;br /&gt;+-o=oblix&lt;br /&gt;+---obapp=PSC&lt;br /&gt;+-----obname=OBAutoSSO_XXXXXXX (find the one you last changed, normally the last created is added at the bottom)&lt;br /&gt;&lt;br /&gt;Change the value of the attribute: obenabled from enabled to disabled. Restart the Access Manager and after that it should be possible to log in.&lt;br /&gt;  &lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-1915813035298441230?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/1915813035298441230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/netpointoblixcoreidoracle-access_27.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1915813035298441230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1915813035298441230'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/netpointoblixcoreidoracle-access_27.html' title='invalid policy configuration Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-7354148544728666979</id><published>2009-05-27T13:16:00.006+02:00</published><updated>2009-06-24T16:48:26.391+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>Unsuccessfull/incomplete product setup: Howto: restart product setup of Identity Server/Policy Manager, Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>If something goes wrong (Empty browser window, no response) during the product setup of the Identity Server/Policy Manager in the browser it is possible to restart the product setup by changing the setup.xml of the product. Set the status Value to incomplete instead of done and you can start over with the product setup.&lt;br /&gt;&lt;br /&gt;Location of setup.xml:&lt;br /&gt;WebPass: $WEBPASS_HOME/access/oblix/config&lt;br /&gt;Identity server: $IDENTITY_HOME/identity/oblix/config&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-7354148544728666979?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/7354148544728666979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/netpointoblixcoreidoracle-access.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7354148544728666979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7354148544728666979'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/netpointoblixcoreidoracle-access.html' title='Unsuccessfull/incomplete product setup: Howto: restart product setup of Identity Server/Policy Manager, Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-9025786276861018907</id><published>2009-05-19T21:41:00.009+02:00</published><updated>2009-06-11T11:26:43.008+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Portal 10.1.4'/><title type='text'>wsrp oc4j container on Oracle AS 10.1.3.4 + wsrp-samples.ear</title><content type='html'>How to install wsrp in an OC4J container on Oracle AS 10.1.3.4 and deploy wsrp-samples.ear and test if everything works in Oracle AS portal 10.1.4.&lt;br /&gt;&lt;br /&gt;Download the wsrp sources from metalink: Patch number: 7356288&lt;br /&gt;WSRP-PREDEPLOY.JAR IS DUPLICATING ENTRIES FOR THE SPRING CONTEXT LOADER&lt;br /&gt;&lt;br /&gt;Download wsrp-samples.ear application: &lt;br /&gt;http://download.oracle.com/otndocs/tech/webcenter/files/pdksoftware.zip&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;createinstance -instanceName oc4j_wsrp -groupname default&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Creating OC4J instance "oc4j_wsrp"...&lt;br /&gt;Set OC4J administrator password for "oc4j_wsrp" (password text will not be displayed as it is entered):&lt;br /&gt;Enter password:&lt;br /&gt;Confirm password:&lt;br /&gt;A new OC4J instance "oc4j_wsrp" is created in the group "default".&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Do not start the container!!!!!!&lt;br /&gt;&lt;br /&gt;Install the wsrp in the oc4j container&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;java -jar portlet-server-install-v1.jar $ORACLE_HOME/j2ee/oc4j_wsrp&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;File "$ORACLE_HOME/j2ee/oc4j_wsrp/config/global-web-application.xml" modified successfully&lt;br /&gt;File "$ORACLE_HOME/j2ee/oc4j_wsrp/config/server.xml" modified successfully&lt;br /&gt;Beginning install of libraries to "$ORACLE_HOME/j2ee/oc4j_wsrp/applib"&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/commons-logging.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/dom4j.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/jaxrpc-api.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/jaxrpc-ri-patched.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/namespace.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/ptlshare.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/relaxngDatatype.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/saaj-api.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/saaj-ri.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/wsrp-common.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/wsrp-container.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/xml.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/xmlmesg.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/xmlparserv2.jar"...&lt;br /&gt;Extracting "$ORACLE_HOME/j2ee/oc4j_wsrp/applib/xsdlib.jar"...&lt;br /&gt;Installing "$ORACLE_HOME/j2ee/home/jsp/lib/taglib/oracle-portlet-tags.jar"...&lt;br /&gt;Install Complete&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Start the oc4j container.&lt;br /&gt;&lt;br /&gt;wsrp can work with an file based preference store or with an database as preference store. In this example we will user the file based option which is default.&lt;br /&gt;&lt;br /&gt;Before we can deploy the wsrp-samples.ear we have to change the file $ORACLE_HOME/j2ee/oc4j_wsrp/config/server.xml import a jar. Under &amp;lt;shared-library name="oracle.wsrp" version="1.0"&amp;gt; add &amp;lt;import-shared-library name="oracle.ws.jaxrpc"/&amp;gt;.&lt;br /&gt;&lt;br /&gt;Now unzip the downloaded pdk pdksoftware.zip.&lt;br /&gt;&lt;br /&gt;Search for the wsrp-samples.ear (directory: pdk/portlet-container)&lt;br /&gt;&lt;br /&gt;Deploy the ear file from the command line:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;java -jar admin_client.jar deployer:oc4j:[HOSTNAME]:[OPMN_REQUEST_PORT] oc4jadmin [PASSWORD] -deploy -file wsrp-samples.ear -deploymentName sampleapp -bindAllWebApps  &lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;If everything is ok there should be a servlet:&lt;br /&gt;http://[HOSTNAME]:[PORT]/portletapp/info&lt;br /&gt;&lt;br /&gt;Now the provider can be registerd in portal with the WSDL:&lt;br /&gt;http://[HOSTNAME]:[PORT]/portletapp/portlets?WSDL&lt;br /&gt;&lt;br /&gt;If you want to make your application wsrp ready the following should be done to "infect" your ear file with the Oracle stuff:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;java -jar wsrp-predeploy.jar &lt;source EAR&gt; &lt;targeted EAR&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Refer:&lt;br /&gt;http://download.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_java_intro.htm#BHCCCFID&lt;br /&gt;&lt;br /&gt;Metalink note: 341922.1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-9025786276861018907?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/9025786276861018907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/wsrp-oc4j-container-on-oracle-as-10134.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9025786276861018907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9025786276861018907'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/wsrp-oc4j-container-on-oracle-as-10134.html' title='wsrp oc4j container on Oracle AS 10.1.3.4 + wsrp-samples.ear'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-2046237603722691746</id><published>2009-05-19T19:46:00.001+02:00</published><updated>2009-05-22T08:10:20.713+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Warning: View created with compilation errors.</title><content type='html'>During compilation of view I got the following error:&lt;br /&gt;&lt;br /&gt;Warning: View created with compilation errors.&lt;br /&gt;&lt;br /&gt;Show err gives No Errors.&lt;br /&gt;SQL&gt; SQL&gt; show err&lt;br /&gt;No errors.&lt;br /&gt;&lt;br /&gt;With the following select statement it is possible to find the error:&lt;br /&gt;&lt;br /&gt;select text from dba_errors where name = '[OBJECT_NAME]' and owner = '[OBJECT_OWNER]';&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-2046237603722691746?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/2046237603722691746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/warning-view-created-with-compilation.html#comment-form' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2046237603722691746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2046237603722691746'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/warning-view-created-with-compilation.html' title='Warning: View created with compilation errors.'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-1566726526280156571</id><published>2009-05-19T19:45:00.000+02:00</published><updated>2009-05-22T08:10:20.713+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Object id argument passed to DBMS_UTILITY.INVALIDATE is not legal</title><content type='html'>When executing the DBMS_UTILITY.COMPILE_SCHEMA procedure, the following errors are given:&lt;br /&gt;&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-20000:&lt;br /&gt;ORA-06512: at "SYS.DBMS_UTILITY", line 347&lt;br /&gt;ORA-24237: object id argument passed to DBMS_UTILITY.INVALIDATE is not legal&lt;br /&gt;ORA-06512: at line 1&lt;br /&gt;&lt;br /&gt;To check whether SYS has the required privileges, run the following query connected as SYS:&lt;br /&gt;&lt;br /&gt;SQL&gt; select username, privilege from user_sys_privs order by privilege;&lt;br /&gt;&lt;br /&gt;If SYS does not have the following privileges, then grant them to SYS directly:&lt;br /&gt;&lt;br /&gt;grant CREATE ANY DIMENSION to sys;&lt;br /&gt;grant CREATE ANY EVALUATION CONTEXT to sys;&lt;br /&gt;grant CREATE ANY INDEX to sys;&lt;br /&gt;grant CREATE ANY INDEXTYPE to sys;&lt;br /&gt;grant CREATE ANY LIBRARY to sys;&lt;br /&gt;grant CREATE ANY MATERIALIZED VIEW to sys;&lt;br /&gt;grant CREATE ANY OPERATOR to sys;&lt;br /&gt;grant CREATE ANY PROCEDURE to sys;&lt;br /&gt;grant CREATE ANY RULE to sys;&lt;br /&gt;grant CREATE ANY RULE SET to sys;&lt;br /&gt;grant CREATE ANY SYNONYM to sys;&lt;br /&gt;grant CREATE ANY TRIGGER to sys;&lt;br /&gt;grant CREATE ANY TYPE to sys;&lt;br /&gt;grant CREATE ANY VIEW to sys;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-1566726526280156571?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/1566726526280156571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/object-id-argument-passed-to.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1566726526280156571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1566726526280156571'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/object-id-argument-passed-to.html' title='Object id argument passed to DBMS_UTILITY.INVALIDATE is not legal'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5025389606172655866</id><published>2009-05-08T17:06:00.005+02:00</published><updated>2009-06-24T16:48:42.787+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>IdentityXML change password sample XML, Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>With this XML sample it is possible to change the password of an user!&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas-xmlsoap.org/soap/envelope/"&lt;br /&gt;xmlns:oblix="http://www.oblix.com"&amp;gt;&lt;br /&gt;&amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;&amp;lt;oblix:authentication xmlns:oblix="http://www.oblix.com" type="basic"&amp;gt;&lt;br /&gt;&amp;lt;oblix:login&amp;gt;orcladmin&amp;lt;/oblix:login&amp;gt;&lt;br /&gt;&amp;lt;oblix:password&amp;gt;&lt;span style="font-weight:bold;"&gt;[PASSWORD]&lt;/span&gt;&amp;lt;/oblix:password&amp;gt;&lt;br /&gt;&amp;lt;/oblix:authentication&amp;gt;&lt;br /&gt;&amp;lt;oblix:request application="userservcenter" function="modifyUser"&amp;gt; &amp;lt;oblix:params&amp;gt;&lt;br /&gt;&amp;lt;oblix:param name="uid"&amp;gt;cn=&lt;span style="font-weight:bold;"&gt;[USERNAME]&lt;/span&gt;,cn=users,dc=test,dc=com&lt;br /&gt;&amp;lt;/oblix:param&amp;gt;&lt;br /&gt;&amp;lt;oblix:param name="attrName_1"&amp;gt;userPassword&amp;lt;/oblix:param&amp;gt;&lt;br /&gt;&amp;lt;oblix:param name="attrValue_1"&amp;gt;[NEW_PASSWORD]&amp;lt;/oblix:param&amp;gt;&lt;br /&gt;&amp;lt;oblix:param name="attrValue_1_confirm"&amp;gt;[NEW_PASSWORD]&amp;lt;/oblix:param&amp;gt;&lt;br /&gt;&amp;lt;oblix:param name="attrValue_1_old"&amp;gt;[OLD_PASSWORD]&amp;lt;/oblix:param&amp;gt;&lt;br /&gt;&amp;lt;oblix:param name="attrOperation_1"&amp;gt;REPLACE&amp;lt;/oblix:param&amp;gt;&lt;br /&gt;&amp;lt;oblix:param name="noOfFields"&amp;gt;1&amp;lt;/oblix:param&amp;gt;&lt;br /&gt;&amp;lt;/oblix:params&amp;gt;&lt;br /&gt;&amp;lt;/oblix:request&amp;gt;&lt;br /&gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Refer:&lt;br /&gt;http://www.oracle.com/technology/sample_code/products/id_mgmt/accmgr/id_developer.pdf&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5025389606172655866?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5025389606172655866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/identityxml-change-password-sample-xml.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5025389606172655866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5025389606172655866'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/identityxml-change-password-sample-xml.html' title='IdentityXML change password sample XML, Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-8188658857374447160</id><published>2009-05-07T10:55:00.013+02:00</published><updated>2010-03-11T15:31:38.241+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>IdentityXML example, Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>In the project I was working on there was a question to find out how users could change their password without using the GUI of the identity server. An Oracle Sales Consultant pointed me to IdentityXML as a possible solution for this problem. Together with a colleague (JAVA consultant) of IT-eye, Ron Weverwijk we found out how this works.&lt;br /&gt;&lt;br /&gt;This blog is a simple description how IdentityXML works and we used the Oracle documentation which you can find at the end of this blog.&lt;br /&gt;&lt;br /&gt;In the documentation there is an sample JAVA program which we used:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;/**&lt;br /&gt; * This is a very simple SOAP example of how to invoke Oracle Access Manager&lt;br /&gt; * through SOAP.&lt;br /&gt; *&lt;br /&gt; * This program will make a soap request (send the request in soap.xml)&lt;br /&gt; * to the argument hostname:port/oblix/apps/corpdir/bin/corpdir.cgi&lt;br /&gt; *&lt;br /&gt; * Requirements:&lt;br /&gt; * *** ObSoapClient, a complete http client library from innovation, is&lt;br /&gt; *     required to run this test.  The software is free, and licensed under the&lt;br /&gt; *     GNU Lesser General Public License.&lt;br /&gt; *     HTTPClient is available at http://www.innovation.ch/java/HTTPClient&lt;br /&gt; *     This program has been tested with HTTPClient Version 0.3-2&lt;br /&gt; *&lt;br /&gt; * To run:&lt;br /&gt; * *** java ObSoapClient [-h hostname] [-p port] [-f inputfile] [-u oblixurl]&lt;br /&gt; *&lt;br /&gt; */&lt;br /&gt;&lt;br /&gt;import java.net.URL;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;import java.io.FileReader;&lt;br /&gt;import java.io.BufferedReader;&lt;br /&gt;import HTTPClient.CookieModule;&lt;br /&gt;import HTTPClient.HTTPConnection;&lt;br /&gt;import HTTPClient.HTTPResponse;&lt;br /&gt;import HTTPClient.ModuleException;&lt;br /&gt;import HTTPClient.NVPair;&lt;br /&gt;&lt;br /&gt;public class ObSoapClient&lt;br /&gt;{&lt;br /&gt;        static String hostname = "sunlight.oracle.com";&lt;br /&gt;        static String filename = "soap.xml";&lt;br /&gt;        static int port = 80;&lt;br /&gt;        static String oburl = "/identity/oblix/apps/userservcenter/bin/userservcenter.cgi";&lt;br /&gt;&lt;br /&gt;        public static void collectArgs(String args[])&lt;br /&gt;        {&lt;br /&gt;                for (int i = 0; i &lt; args.length; i++) {&lt;br /&gt;                        if (args[i].equals("-h") &amp;&amp; args.length &gt;= i+1)&lt;br /&gt;                                hostname = args[i+1];&lt;br /&gt;                        else if (args[i].equals("-f") &amp;&amp; args.length &gt;= i+1)&lt;br /&gt;                                filename = args[i+1];&lt;br /&gt;                        else if (args[i].equals("-p") &amp;&amp; args.length &gt;= i+1)&lt;br /&gt;                                port = Integer.parseInt(args[i+1]);&lt;br /&gt;                        else if (args[i].equals("-u") &amp;&amp; args.length &gt;= i+1)&lt;br /&gt;                                oburl = args[i+1];&lt;br /&gt;                        else if (args[i].equals("-h") || args[i].equals("-help")) {&lt;br /&gt;                                System.out.println("Usage: java ObSoapClient [-h hostname] [-p port] [-f filename] [-u oblixurl] \n");&lt;br /&gt;                        }&lt;br /&gt;                }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        /**&lt;br /&gt;   * Read from soap.xml in current directory and return as string.&lt;br /&gt;         */&lt;br /&gt;        public static String getRequestFromFile()&lt;br /&gt;        {&lt;br /&gt;                StringBuffer data = new StringBuffer();&lt;br /&gt;                try {&lt;br /&gt;                        BufferedReader reader = new BufferedReader(new FileReader(filename));&lt;br /&gt;&lt;br /&gt;                        for (String line = reader.readLine(); line != null;&lt;br /&gt;                                line = reader.readLine()) {&lt;br /&gt;                                data.append(line);&lt;br /&gt;                                data.append("\r\n");&lt;br /&gt;                        }&lt;br /&gt;                } catch (Exception e) {&lt;br /&gt;                        System.out.println(e.toString());&lt;br /&gt;                }&lt;br /&gt;                return data.toString();&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public static void main(String args[]) throws Exception&lt;br /&gt;        {&lt;br /&gt;                try {&lt;br /&gt;                        CookieModule.setCookiePolicyHandler(null);&lt;br /&gt;&lt;br /&gt;                        // initiate connection&lt;br /&gt;                        collectArgs(args);&lt;br /&gt;                        HTTPConnection con = new HTTPConnection(hostname, port);&lt;br /&gt;&lt;br /&gt;                        // collect response&lt;br /&gt;                        NVPair header[] = new NVPair[1];&lt;br /&gt;                        header[0] = new NVPair("Content-Type", "text/xml");&lt;br /&gt;                        HTTPResponse rsp =&lt;br /&gt;                                con.Post(oburl,&lt;br /&gt;                                getRequestFromFile(),&lt;br /&gt;                                header);&lt;br /&gt;&lt;br /&gt;                        // get status and act accordingly&lt;br /&gt;                        if (rsp.getStatusCode() &gt;= 300) {&lt;br /&gt;                                System.err.println("Received Error: "+rsp.getReasonLine());&lt;br /&gt;                                System.err.println(new String(rsp.getData()));&lt;br /&gt;                        } else&lt;br /&gt;                                System.out.println(new String(rsp.getData()));&lt;br /&gt;                } catch (IOException ioe) {&lt;br /&gt;                        System.err.println(ioe.toString());&lt;br /&gt;                } catch (ModuleException me) {&lt;br /&gt;                        System.err.println("Error handling request: " + me.getMessage());&lt;br /&gt;                } catch (Exception e) {&lt;br /&gt;                        System.out.println(e.toString());&lt;br /&gt;                }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;        NVPair form_data[] = new NVPair[2];&lt;br /&gt;&lt;br /&gt;        form_data[0] = new NVPair("login", "J.Smith");&lt;br /&gt;        form_data[1] = new NVPair("password", "J.Smith");&lt;br /&gt;//      form_data[2] = new NVPair("uid",&lt;br /&gt;//              "cn=John Smith,ou=Corporate,o=Company,c=US");&lt;br /&gt;//      form_data[3] = new NVPair("program", "personPage");&lt;br /&gt;//      form_data[4] = new NVPair("tab_id", "Employees");&lt;br /&gt;&lt;br /&gt;//      HTTPResponse rsp = con.Post("/oblix/apps/corpdir/bin/corpdir.cgi", form_data);&lt;br /&gt;&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This program needs a jar file http_client.jar this file can be found in a $ORACLE_HOME of an Oracle Application Server in the directory $ORACLE_HOME/j2ee/home/lib.&lt;br /&gt;&lt;br /&gt;First this program needs to be compiled (We used a Linux client)&lt;br /&gt;cd $HOME&lt;br /&gt;mkdir IdentityXML&lt;br /&gt;cd IdentityXML&lt;br /&gt;cp $ORACLE_HOME/j2ee/home/lib/http_client.jar .&lt;br /&gt;vi ObSoapClient.java &lt;br /&gt;&lt;br /&gt;Fill this file with the code example.&lt;br /&gt;&lt;br /&gt;Compile the java file:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;javac -classpath .:http_client.jar ObSoapClient.java&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now you have an ObSoapClient.class file.&lt;br /&gt;&lt;br /&gt;All you need to test if it works is an example SOAP messages which can be found in the identity server directory. In this directory are examples of messages which can be used.&lt;br /&gt;&lt;br /&gt;$IDENTITY_HOME/identity/oblix/unsupported/integsvcs&lt;br /&gt;&lt;br /&gt;For this example we will query the OID for the attribute sn of an user in the OID. &lt;br /&gt;The example used is: um_view.xml&lt;br /&gt;&lt;br /&gt;To keep it simple we chosed to use orcladmin as the user in the authentication part of the message. But if you want to use another username a workflow should be created in the identity server which gives the user the privilege to view attributes of other users.&lt;br /&gt;&lt;br /&gt;Create an file soap.xml with and fill this with:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas-xmlsoap.org/soap/envelope/"&lt;br /&gt;                   xmlns:oblix="http://www.oblix.com"&amp;gt;&lt;br /&gt;&amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;     &amp;lt;oblix:authentication xmlns:oblix="http://www.oblix.com" type="basic"&amp;gt;&lt;br /&gt;          &amp;lt;oblix:login&amp;gt;orcladmin&amp;lt;/oblix:login&amp;gt;&lt;br /&gt;          &amp;lt;oblix:password&amp;gt;[PASSWORD]&amp;lt;/oblix:password&amp;gt;&lt;br /&gt;     &amp;lt;/oblix:authentication&amp;gt;&lt;br /&gt;     &amp;lt;oblix:request function="view"&amp;gt;&lt;br /&gt;          &amp;lt;oblix:params&amp;gt;&lt;br /&gt;               &amp;lt;oblix:param name="uid"&amp;gt;cn=[USER_NAME],cn=users,dc=test,dc=com&amp;lt;/oblix:param&amp;gt;&lt;br /&gt;               &amp;lt;oblix:param name="attrName"&amp;gt;sn&amp;lt;/oblix:param&amp;gt;&lt;br /&gt;          &amp;lt;/oblix:params&amp;gt;&lt;br /&gt;     &amp;lt;/oblix:request&amp;gt;&lt;br /&gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now execute the java program:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;java -classpath http_client.jar:. ObSoapClient -f soap.xml -h [HOSTNAME] -p [HTTP_PORT] -u /identity/oblix/apps/userservcenter/bin/userservcenter.cgi&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Output of the program:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;br /&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&lt;br /&gt;&amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;&amp;lt;Oblix xmlns:oblix="http://www.oblix.com/" xmlns="http://www.oblix.com/" oblang="en-us"&amp;gt;&lt;br /&gt;&amp;lt;ObProfile&amp;gt;&lt;br /&gt;&amp;lt;ObPanel obname="defaultPanel" obpanelId="20090504T03484759854" obpanelClass="inetorgperson"&amp;gt;&lt;br /&gt;&amp;lt;ObAttribute obattrName="sn"&amp;gt;&lt;br /&gt;&amp;lt;ObDisplay obdisplayName="Last Name" obdisplayType="textS" obname="sn" obmode="view" obcanRequest="false" obrequired="false"&amp;gt;&lt;br /&gt;&amp;lt;ObTextS&amp;gt;&lt;br /&gt;&amp;lt;ObValue&amp;gt;&lt;span style="font-weight:bold;"&gt;[LASTNAME]&lt;/span&gt;&amp;lt;/ObValue&amp;gt;&lt;br /&gt;&amp;lt;/ObTextS&amp;gt;&lt;br /&gt;&amp;lt;/ObDisplay&amp;gt;&lt;br /&gt;&amp;lt;/ObAttribute&amp;gt;&lt;br /&gt;&amp;lt;/ObPanel&amp;gt;&lt;br /&gt;&amp;lt;ObHeaderPanel&amp;gt;&amp;lt;/ObHeaderPanel&amp;gt;&lt;br /&gt;&amp;lt;ObRequestInfo&amp;gt;158720928&amp;lt;/ObRequestInfo&amp;gt;&lt;br /&gt;&amp;lt;ObScripts&amp;gt;&lt;br /&gt;&amp;lt;ObScript obname="../../../lang/en-us/msgctlg.js"&amp;gt;&amp;lt;/ObScript&amp;gt;&lt;br /&gt;&amp;lt;ObScript obname="../../../lang/shared/i18n.js"&amp;gt;&amp;lt;/ObScript&amp;gt;&lt;br /&gt;&amp;lt;ObScript obname="../../../lang/shared/nsiesetup.js"&amp;gt;&amp;lt;/ObScript&amp;gt;&lt;br /&gt;&amp;lt;ObScript obname="../../../lang/shared/misc.js"&amp;gt;&amp;lt;/ObScript&amp;gt;&lt;br /&gt;&amp;lt;ObScript obname="../../../lang/shared/miscsc.js"&amp;gt;&amp;lt;/ObScript&amp;gt;&lt;br /&gt;&amp;lt;ObScript obname="../../../lang/shared/horizontalprofile.js"&amp;gt;&amp;lt;/ObScript&amp;gt;&lt;br /&gt;&amp;lt;ObScript obname="../../../lang/shared/userservcenter.js"&amp;gt;&amp;lt;/ObScript&amp;gt;&lt;br /&gt;&amp;lt;/ObScripts&amp;gt;&lt;br /&gt;&amp;lt;ObForm obname="profileForm" obmethod="post" obaction="userservcenter.cgi?tab_id=Employees&amp;amp;uid=cn%3D&lt;span style="font-weight:bold;"&gt;[USERNAME]&lt;/span&gt;%2Ccn%3Dusers%2Cdc%3Dtest%2Cdc%3Dcom%2C"&amp;gt;&lt;br /&gt;&amp;lt;ObInput obtype="hidden" obname="program" obvalue="view"&amp;gt;&amp;lt;/ObInput&amp;gt;&lt;br /&gt;&amp;lt;ObInput obtype="hidden" obname="visiblePanel"&amp;gt;&amp;lt;/ObInput&amp;gt;&lt;br /&gt;&amp;lt;/ObForm&amp;gt;&lt;br /&gt;&amp;lt;ObDisplay obdisplayName="ObTextMessage" obdisplayType="textS" obname="ObTextMessage" obmode="view" obcanRequest="false" obrequired="false"&amp;gt;&lt;br /&gt;&amp;lt;ObTextS&amp;gt;&lt;br /&gt;&amp;lt;ObTextMessage&amp;gt;&amp;lt;/ObTextMessage&amp;gt;&lt;br /&gt;&amp;lt;/ObTextS&amp;gt;&lt;br /&gt;&amp;lt;/ObDisplay&amp;gt;&lt;br /&gt;&amp;lt;ObTextMessage&amp;gt;&amp;lt;/ObTextMessage&amp;gt;&lt;br /&gt;&amp;lt;ObSelectorInfoForm&amp;gt;&lt;br /&gt;&amp;lt;ObForm obname=""&amp;gt;&amp;lt;/ObForm&amp;gt;&lt;br /&gt;&amp;lt;/ObSelectorInfoForm&amp;gt;&lt;br /&gt;&amp;lt;ObButton obaction="initiateDeactivateUser"&amp;gt;&amp;lt;/ObButton&amp;gt;&lt;br /&gt;&amp;lt;ObButton obaction="userreactivate"&amp;gt;&amp;lt;/ObButton&amp;gt;&lt;br /&gt;&amp;lt;ObButton obaction="wfTicketDelete"&amp;gt;&amp;lt;/ObButton&amp;gt;&lt;br /&gt;&amp;lt;ObButton obaction="userModify" obimageUrl="NAVmodify" obmouseOver="Modify this profile." obhref="../../userservcenter/bin/userservcenter.cgi?program=modify&amp;amp;tab_id=Employees&amp;amp;uid=cn%3D&lt;span style="font-weight:bold;"&gt;[USERNAME]&lt;/span&gt;%2Ccn%3Dusers%2Cdc%3Dtest%2Cdc%3Dcom"&amp;gt;&amp;lt;/ObButton&amp;gt;&lt;br /&gt;&amp;lt;ObStatus&amp;gt;0&amp;lt;/ObStatus&amp;gt;&lt;br /&gt;&amp;lt;/ObProfile&amp;gt;&lt;br /&gt;&amp;lt;ObStatus&amp;gt;0&amp;lt;/ObStatus&amp;gt;&lt;br /&gt;&amp;lt;/Oblix&amp;gt;&lt;br /&gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Refer:&lt;br /&gt;http://download.oracle.com/docs/cd/B28196_01/idmanage.1014/b25346/idxmlows.htm&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-8188658857374447160?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/8188658857374447160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/oracle-access-manager-coreid.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8188658857374447160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8188658857374447160'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/05/oracle-access-manager-coreid.html' title='IdentityXML example, Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-384311448631340208</id><published>2009-04-23T11:47:00.005+02:00</published><updated>2009-05-27T14:06:11.360+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle XE'/><title type='text'>Oracle XE change HTTP and FTP Port</title><content type='html'>Login on SQL*Plus with the system user:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;SQL*Plus: Release 10.2.0.1.0 - Production on Thu Apr 23 11:40:05 2009&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; conn system/[PASSWORD]&lt;br /&gt;Connected.&lt;br /&gt;SQL&amp;gt; select dbms_xdb.gethttpport as "HTTP-Port"&lt;br /&gt;            , dbms_xdb.getftpport as "FTP-Port" from dual;&lt;br /&gt;&lt;br /&gt;HTTP-Port   FTP-Port&lt;br /&gt;---------- ----------&lt;br /&gt;     8080          0&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; begin&lt;br /&gt;  2  dbms_xdb.sethttpport('8585');&lt;br /&gt;  3  end;&lt;br /&gt;  4  /&lt;br /&gt;&lt;br /&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; select dbms_xdb.gethttpport as "HTTP-Port"&lt;br /&gt;            , dbms_xdb.getftpport as "FTP-Port" from dual;&lt;br /&gt;&lt;br /&gt;HTTP-Port   FTP-Port&lt;br /&gt;---------- ----------&lt;br /&gt;     8585          0&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-384311448631340208?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/384311448631340208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/oracle-xe-change-http-and-ftp-port.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/384311448631340208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/384311448631340208'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/oracle-xe-change-http-and-ftp-port.html' title='Oracle XE change HTTP and FTP Port'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5462912694695237641</id><published>2009-04-23T10:20:00.002+02:00</published><updated>2009-05-27T09:03:03.410+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Redhat Linux'/><title type='text'>Install java SDK on linux</title><content type='html'>Download the bin file from the java website:&lt;br /&gt;http://java.sun.com/products/archive/&lt;br /&gt;&lt;br /&gt;Install the package as root:&lt;br /&gt;&lt;br /&gt;su - root&lt;br /&gt;&lt;br /&gt;Change the execute rights:&lt;br /&gt;&lt;br /&gt;chmod 700 jdk_*.bin&lt;br /&gt;&lt;br /&gt;Execute the bin:&lt;br /&gt;&lt;br /&gt;./jdk_*.bin&lt;br /&gt;&lt;br /&gt;Java will be installed in /usr/java/&lt;br /&gt;&lt;br /&gt;export JAVA_HOME=/usr/java/jdk...&lt;br /&gt;export PATH=$JAVA_HOME/bin:$PATH&lt;br /&gt;&lt;br /&gt;Now you can check if everthing is ok by:&lt;br /&gt;which java&lt;br /&gt;java -version&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5462912694695237641?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5462912694695237641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/install-java-sdk-on-linux.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5462912694695237641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5462912694695237641'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/install-java-sdk-on-linux.html' title='Install java SDK on linux'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-7691771122555720729</id><published>2009-04-22T16:37:00.002+02:00</published><updated>2009-04-22T16:41:16.379+02:00</updated><title type='text'>ORA-39165: Schema TMP was not found and ORA-31655: no data or metadata objects selected for job</title><content type='html'>These errors can occur if the user exists and owns objects but when there are no records in any of the tables.&lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;expdp system/[PASSWORD]@[ORACLE_SID] directory=[EXPORT_DIR] logfile=[LOG_FILE].log content=DATA_ONLY dumpfile=[DUMP_FILE].dmp schemas=[TMP] &lt;br /&gt;&lt;br /&gt;Export: Release 11.1.0.6.0 - Production on Wednesday, 22 April, 2009 16:26:37&lt;br /&gt;&lt;br /&gt;Copyright (c) 2003, 2007, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Connected to: Oracle Database 11g Release 11.1.0.6.0 - Production&lt;br /&gt;Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01":  system/********@[ORACLE_SID] directory=[EXPORT_DIR] logfile=[LOG_FILE].log content=&lt;span style="font-weight:bold;"&gt;DATA_ONLY&lt;/span&gt; dumpfile=[DUMP_FILE].dmp schemas=[TMP]&lt;br /&gt;Estimate in progress using BLOCKS method...&lt;br /&gt;Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA&lt;br /&gt;Total estimation using BLOCKS method: 0 KB&lt;br /&gt;ORA-39165: Schema [TMP] was not found.&lt;br /&gt;ORA-31655: no data or metadata objects selected for job&lt;br /&gt;Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" completed with 2 error(s) at 16:26:41&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;Remove the DATA_ONLY option, only the METADATA will be exported!!&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-7691771122555720729?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/7691771122555720729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/ora-39165-schema-tmp-was-not-found-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7691771122555720729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7691771122555720729'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/ora-39165-schema-tmp-was-not-found-and.html' title='ORA-39165: Schema TMP was not found and ORA-31655: no data or metadata objects selected for job'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-4780625740341624955</id><published>2009-04-20T16:00:00.005+02:00</published><updated>2009-04-20T22:13:24.559+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle RDBMS 10.2.0.4'/><title type='text'>Manual installation ultrasearch in Oracle database</title><content type='html'>Manual installation of database component ultrasearch in an Oracle database:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;set echo on&lt;br /&gt;spool ultrasearch.log&lt;br /&gt;@$ORACLE_HOME/ultrasearch/admin/wk0setup.sql [ORACLE_HOME] "" SYS [PASSWORD SYS] "as sysdba" wksys SYSAUX TEMP "" "FALSE" DATABASE "" [ORACLE_HOME]/jdbc/lib/classes12.zip [ORACLE_HOME]/jlib/orai18n.jar [ORACLE_HOME]/jdk/bin/java /appl/oracle/db_10.2.0.4.0/ctx/bin/ctxhx [DB_HOSTNAME]:[DB_PORT]:[DB_SID] [DB_HOSTNAME]:[DB_PORT]:[DB_SID] [ORACLE_HOME]&lt;br /&gt;spool off&lt;br /&gt;exit&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Check if the option is installed:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;select comp_name, version, status from dba_registry&lt;br /&gt;where COMP_ID='WK';&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-4780625740341624955?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/4780625740341624955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/manual-installation-ultrasearch-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4780625740341624955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4780625740341624955'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/manual-installation-ultrasearch-in.html' title='Manual installation ultrasearch in Oracle database'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-6775459780377701630</id><published>2009-04-20T15:36:00.002+02:00</published><updated>2009-04-20T15:38:30.340+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle RDBMS 10.2.0.4'/><title type='text'>Register database by listener</title><content type='html'>When you want to register an database to an listener you can do this like this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;sqlplus / as sysdba&lt;br /&gt;alter system register&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-6775459780377701630?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/6775459780377701630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/register-database-by-listener.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6775459780377701630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6775459780377701630'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/register-database-by-listener.html' title='Register database by listener'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3898151645582665702</id><published>2009-04-16T16:48:00.003+02:00</published><updated>2009-04-17T10:00:24.953+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Redhat Linux'/><title type='text'>Redhat Linux IP configuration eth0</title><content type='html'>Find the file ifcfg-eth0 normally in the directory /etc/sysconfig/network-scripts/&lt;br /&gt;&lt;br /&gt;If an static ip address is used it should look something like:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;DEVICE=eth0&lt;br /&gt;BOOTPROTO=none&lt;br /&gt;ONBOOT=yes&lt;br /&gt;NETWORK=10.0.1.0&lt;br /&gt;NETMASK=255.255.255.0&lt;br /&gt;IPADDR=10.0.1.27&lt;br /&gt;USERCTL=no&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;When DHCP is used it should look like:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;DEVICE=eth0&lt;br /&gt;BOOTPROTO=dhcp&lt;br /&gt;ONBOOT=yes&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;After the ifcfg-eth0 file is changed the network must be restarted this can be done with the following command:&lt;br /&gt;&lt;br /&gt;service network restart&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3898151645582665702?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3898151645582665702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/redhat-linux-ip-configuration-eth0.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3898151645582665702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3898151645582665702'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/redhat-linux-ip-configuration-eth0.html' title='Redhat Linux IP configuration eth0'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-1599573810280116775</id><published>2009-04-16T15:54:00.004+02:00</published><updated>2009-04-17T11:18:01.798+02:00</updated><title type='text'>Share host folders on Virtual Linux machine</title><content type='html'>In VMWare Workstation select the properties of the Virtual Machine and click on options. You can see an Shared Folders property. Enable this option and choose a folder on your host which you want to share. &lt;br /&gt;&lt;br /&gt;VMWare tools need to be installed for this feature.&lt;br /&gt;&lt;br /&gt;Now restart your virtual machine.&lt;br /&gt;&lt;br /&gt;When the virtual machine is started you can access the shared folder in the directory /mnt/hgfs/[NAME OF THE SHARE]&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-1599573810280116775?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/1599573810280116775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/vmware-share-host-folders-on-virtual.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1599573810280116775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1599573810280116775'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/vmware-share-host-folders-on-virtual.html' title='Share host folders on Virtual Linux machine'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5651810226767205461</id><published>2009-04-16T09:21:00.005+02:00</published><updated>2009-05-11T08:19:34.698+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VMWare'/><title type='text'>Split vmware files (vmdk) files in smaller chunks</title><content type='html'>There is an application availible that makes it possible to split up files VMware vmdk files in smaller parts (this is part of vmware workstation vmware-diskmanager.exe). There is also een gui build for this: the application can be found on:&lt;br /&gt;&lt;br /&gt;http://vmxbuilder.com/vmware-diskmanager-gui&lt;br /&gt;&lt;br /&gt;If you want to change the name of the master vmdk file than you also need to change the vmx file. (Do not forget to copy the vmx file to the directory where the split up files are placed).&lt;br /&gt;&lt;br /&gt;Change the entry:&lt;br /&gt;scsi0:0.fileName = "NEW NAME.vmdk"&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5651810226767205461?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5651810226767205461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/split-vmware-files-vmdk-files-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5651810226767205461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5651810226767205461'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/split-vmware-files-vmdk-files-in.html' title='Split vmware files (vmdk) files in smaller chunks'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-7675201421201760933</id><published>2009-04-16T09:13:00.003+02:00</published><updated>2009-04-21T07:53:17.475+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VMWare'/><title type='text'>Install VMWare tools on a linux VM</title><content type='html'>First you select the option VM &gt; Install VMWare Tools... in VMWare workstation. Than an virtual CD is mounted in your Virtual linux machine (/media/VMware_Tools). If this does not happen you should mount the cdrom manually: mount /media/cdrom. This can give an failure but this is error can be ignored.&lt;br /&gt;&lt;br /&gt;execute the rpm file:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;rpm -ivh VMwareTools-*.rpm&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;After the rpm is installed the configure perl script can be executed:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;cd /usr/bin/&lt;br /&gt;./vmware-config-tools.pl&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-7675201421201760933?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/7675201421201760933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/install-vmware-tools-on-linux-vm.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7675201421201760933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7675201421201760933'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/install-vmware-tools-on-linux-vm.html' title='Install VMWare tools on a linux VM'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-4451963258345951039</id><published>2009-04-14T20:52:00.003+02:00</published><updated>2009-04-14T21:54:56.948+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle XE'/><title type='text'>Install Oracle XE on Linux and configure database XE</title><content type='html'>Download the rpm from the Oracle Website:&lt;br /&gt;http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html&lt;br /&gt;&lt;br /&gt;Execute the RPM&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;rpm -ihv oracle-xe-univ-10.2.0.1-1.0.i386.rpm&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Configure the database&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;su - root&lt;br /&gt;cd /etc/init.d&lt;br /&gt;./oracle-xe configure&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Refer:&lt;br /&gt;http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-4451963258345951039?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/4451963258345951039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/install-oracle-xe-on-linux-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4451963258345951039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4451963258345951039'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/install-oracle-xe-on-linux-and.html' title='Install Oracle XE on Linux and configure database XE'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-1211172090312281694</id><published>2009-04-10T09:47:00.008+02:00</published><updated>2009-06-24T16:58:51.283+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>Documentation, Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>Documentation Library Oracle Access Manager:&lt;br /&gt;http://download-uk.oracle.com/docs/cd/B28196_01/index.htm&lt;br /&gt;&lt;br /&gt;Oracle® Application Server Best Practices Guide&lt;br /&gt;http://download-uk.oracle.com/docs/cd/B28196_01/core.1014/b31762/accessmgr.htm&lt;br /&gt;&lt;br /&gt;Oracle® Access Manager Access Administration Guide&lt;br /&gt;http://download-uk.oracle.com/docs/cd/B28196_01/idmanage.1014/b25990/v2config.htm#BHADBAGE&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-1211172090312281694?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/1211172090312281694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/oracle-access-manager-documentation.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1211172090312281694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1211172090312281694'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/oracle-access-manager-documentation.html' title='Documentation, Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-1283566055264404336</id><published>2009-04-09T15:28:00.020+02:00</published><updated>2009-08-11T16:49:10.622+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>Integration BPEL / OID 10.1.4 Migration of LDIF data failed. Not all the entries are successfully</title><content type='html'>In the document: http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#BABIBGFF is mentioned how the integration between BPEL and OID can be configured. But when this is done with OID version 10.1.4 some problems occur:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Migration of LDIF data failed. Not all the entries are successfully.&lt;/span&gt;&lt;br /&gt;If the script configure_oid.sh is executed like this:&lt;br /&gt;&lt;br /&gt;(Pay attention on a production system choose the option seedRequiredUsers instead of SeedAllUsers, otherwise all test users are in the OID)&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;cd $ORACLE_HOME/bpel/system/services/install/ant-tasks&lt;br /&gt;./configure_oid.sh orcladmin &amp;lt;PASSWORD&amp;gt; 389 false us seedRequiredUsers oc4jadmin &amp;lt;PASSWORD&amp;gt; oc4j_soa&lt;br /&gt;Buildfile: oid-config.xml&lt;br /&gt;&lt;br /&gt;config-oid:&lt;br /&gt;     [echo] Configuring OID...&lt;br /&gt;    [mkdir] Created dir: $ORACLE_HOME/ldap/install&lt;br /&gt;     [java] Install Configuration&lt;br /&gt;     [java] Install Type: ConfigureOID&lt;br /&gt;     [java] Oracle Home: $ORACLE_HOME&lt;br /&gt;     [java] JDK Home: $ORACLE_HOME/jdk&lt;br /&gt;     [java] Proxy Required: false&lt;br /&gt;     [java] Database Vendor: oracle&lt;br /&gt;     [java] OID Host: ${oid.host}&lt;br /&gt;     [java] OID Port: 389&lt;br /&gt;     [java] OID Realm: us&lt;br /&gt;     [java] OID Seed: seedRequiredUsers&lt;br /&gt;     [java] Admin User: orcladmin&lt;br /&gt;&lt;br /&gt;     [java] ***************************************************************&lt;br /&gt;     [java] Trying to obtain OID specific details from configuration files.&lt;br /&gt;     [java] Warning: You would encounter problems if you have not associated your instance with an OID.&lt;br /&gt;     [java] ***************************************************************&lt;br /&gt;     [java] OID Host is: ldap.test.nl&lt;br /&gt;     [java] OID Port is: 389&lt;br /&gt;     [java] Seeding users/roles in OID realm : us...&lt;br /&gt;     [java] Buildfile: bpminstall.xml&lt;br /&gt;&lt;br /&gt;     [java] seed-oid:&lt;br /&gt;&lt;br /&gt;     [java] init:&lt;br /&gt;&lt;br /&gt;     [java] seed-oid:&lt;br /&gt;     [java] Seeding system users/roles into OID ...&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;     [java] Migration of LDIF data failed. Not all the entries are successfully &lt;/span&gt;migrated&lt;br /&gt;     [java] Seeding demo users/roles into OID ...&lt;br /&gt;     [java] Migration of LDIF data failed. Not all the entries are successfully migrated&lt;br /&gt;&lt;br /&gt;     [java] BUILD SUCCESSFUL&lt;br /&gt;     [java] Total time: 5 seconds&lt;br /&gt;     [java] Exit: 0&lt;br /&gt;     [java] Configuring BPEL identity service configuration file ...&lt;br /&gt;     [java] Adding jaas-mode attribute to hw_services orion-application.xml&lt;br /&gt;     [java] Adding jaas-mode attribute to orabpel orion-application.xml&lt;br /&gt;&lt;br /&gt;bpel-grant-privileges:&lt;br /&gt;     [echo] Granting Server privileges to BPMSystemAdmin role...&lt;br /&gt;     [echo] Granting Domain privileges to BPMDefaultDomainAdmin role...&lt;br /&gt;&lt;br /&gt;all:&lt;br /&gt;&lt;br /&gt;BUILD SUCCESSFUL&lt;br /&gt;Total time: 11 seconds&lt;br /&gt;Done&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;After some investigation I noticed that the ldif script that is inserted in the OID is in the directory: $ORACLE_HOME/bpel/system/services/config/ldap.&lt;br /&gt;&lt;br /&gt;Then I tried to insert the users with the ldapadd commando an error occured:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;ldapadd -h ldap.test.nl -p 389 -D cn=orcladmin -w &amp;lt;PASSWORD&amp;gt; -f system-oid_xxx.ldif&lt;br /&gt;adding new entry cn=bpeladmin,cn=users, dc=us,dc=test,dc=nl&lt;br /&gt;ldap_add: Constraint violation&lt;br /&gt;ldap_add: additional info: Password Policy Error :9004: GSL_PWDNUMERIC_EXCP :Your Password must contain at least 1 numeric characters.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The conclusion is that there is een password policy in the OID, when this policy is changed the ldapadd works like a charm.&lt;br /&gt;&lt;br /&gt;Change the policy in the OID:&lt;br /&gt;start oidadmin &gt; login with orcladmin &gt; Password Policy Management &gt; cn=pwdPolicies, cn=Common, cn=Product, cn=OracleContext &gt; Password Policy for Realm dc=us,dc=test,dc=nl &gt; tab Password Syntax&lt;br /&gt;&lt;br /&gt;Change Number of Numeric Characters: 0&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1DZkSxdocDo/Sd4htisPxhI/AAAAAAAAAIw/twk_00kkjnA/s1600-h/oid1.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 267px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/Sd4htisPxhI/AAAAAAAAAIw/twk_00kkjnA/s400/oid1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5322728875888723474" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;or you can change all passwords in the *.ldif file. But then the ant script is not working only because the ldif file is generated during the ant script.&lt;br /&gt;&lt;br /&gt;The ldapadd command is working after the change in de oid and also when the passwords are changed: &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;ldapadd -h ldap.test.nl -p 389 -D cn=orcladmin -w &amp;lt;PASSWORD&amp;gt; -f system-oid_xxxx.ldif&lt;br /&gt;adding new entry cn=bpeladmin,cn=users, dc=us,dc=test,dc=nl&lt;br /&gt;adding new entry cn=default,cn=users, dc=us,dc=test,dc=nl&lt;br /&gt;adding new entry cn=guest,cn=users, dc=us,dc=test,dc=nl&lt;br /&gt;modifying entry cn=BPMSystemAdmin,cn=Groups, dc=us,dc=test,dc=nl&lt;br /&gt;modifying entry cn=BPMDefaultDomainAdmin,cn=Groups, dc=us,dc=test,dc=nl&lt;br /&gt;modifying entry cn=BPMWorkflowAdmin,cn=Groups, dc=us,dc=test,dc=nl&lt;br /&gt;modifying entry cn=BPMWorkflowReassign,cn=Groups, dc=us,dc=test,dc=nl&lt;br /&gt;modifying entry cn=BPMWorkflowSuspend,cn=Groups, dc=us,dc=test,dc=nl&lt;br /&gt;modifying entry cn=BPMWorkflowViewHistory,cn=Groups, dc=us,dc=test,dc=nl&lt;br /&gt;modifying entry cn=rule-administrators,cn=Groups, dc=us,dc=test,dc=nl&lt;br /&gt;modifying entry cn=BPMAnalyst,cn=Groups, dc=us,dc=test,dc=nl&lt;br /&gt;modifying entry cn=BPMPublic,cn=Groups, dc=us,dc=test,dc=nl&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now also the configure_oid.sh works like it supposed to. But when you use this script you must change all passwords because default the passwords are CHANGE_ME. The passwords are defined in the file: $ORACLE_HOME/bpel/system/services/config/ldap/system-oid.sbs. &lt;br /&gt;&lt;br /&gt;You can verifiy everything is working fine by invoking the BPEL identity service:&lt;br /&gt;http://&amp;lt;hostname&amp;gt;:&amp;lt;port&amp;gt;/integration/services/IdentityService/identity?operation=lookupUser&lt;br /&gt;&lt;br /&gt;If the execution of this request results in this error:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Identity Service cannot find user. Error occurs while getting user "[USER]" in realm "jazn.com" Verify that user "[USER]" exits in realm "jazn.com". Contact oracle support if error is not fixable.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Adjust the file $ORACLE_HOME/j2ee/oc4j_soa/config/jazn.xml.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Line : provider="XML" location="./system-jazn-data.xml" default-realm="jazn.com" &lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Line : &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;provider="LDAP" location="ldap://test.nl:389" default-realm="us"&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Change the $ORACLE_HOME/j2ee/oc4j_soa/config/jazn.xml the same as $ORACLE_HOME/j2ee/home/config/jazn.xml&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;There is another problem in the integration of BPEL and OID.&lt;/span&gt; &lt;br /&gt;Hint : LOGON TO THE BPEL ADMIN CONSOLE FAILS - INSUFFICIENT PRIVILEGES / NO DOMAIN&lt;br /&gt;&lt;br /&gt;There are two OC4J homes in the environment ($ORACLE_HOME/j2ee/home and $ORACLE_HOME/j2ee/oc4j_soa).&lt;br /&gt;OC4J instance is associated with OID through EM.&lt;br /&gt;&lt;br /&gt;This modifies the $ORACLE_HOME/j2ee/home/config/jazn.xml. However, it does not modify the $ORACLE_HOME/j2ee/oc4j_soa/config/jazn.xml file correctly.&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/j2ee/oc4j_soa/config/jazn.xml &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Line : provider="XML" location="./system-jazn-data.xml" default-realm="jazn.com" &lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Line : &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;provider="LDAP" location="ldap://test.nl:389" default-realm="us"&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Change the $ORACLE_HOME/j2ee/oc4j_soa/config/jazn.xml the same as $ORACLE_HOME/j2ee/home/config/jazn.xml&lt;br /&gt;&lt;br /&gt;Refers: &lt;br /&gt;http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#BABIBGFF&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-1283566055264404336?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/1283566055264404336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/integration-bpel-oid-1014-migration-of.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1283566055264404336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/1283566055264404336'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/integration-bpel-oid-1014-migration-of.html' title='Integration BPEL / OID 10.1.4 Migration of LDIF data failed. Not all the entries are successfully'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_1DZkSxdocDo/Sd4htisPxhI/AAAAAAAAAIw/twk_00kkjnA/s72-c/oid1.png' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5328127634171401955</id><published>2009-04-09T12:29:00.005+02:00</published><updated>2009-04-14T21:57:33.011+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application Server'/><title type='text'>Oracle HTTP Server on port under 1024 on Linux</title><content type='html'>Execute the following commands as the root user&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;cd $ORACLE_HOME/Apache/Apache/bin/&lt;br /&gt;&lt;br /&gt;chown root .apachectl&lt;br /&gt;chmod 6750 .apachectl&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Pay attention to the dots in front of the apachectl!!!!!!!!!!!!!!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5328127634171401955?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5328127634171401955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/oracle-http-server-on-port-under-1024.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5328127634171401955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5328127634171401955'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/oracle-http-server-on-port-under-1024.html' title='Oracle HTTP Server on port under 1024 on Linux'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3277410775711558651</id><published>2009-04-07T20:01:00.005+02:00</published><updated>2009-06-24T16:57:44.368+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>"Address already in use: make_sock: could not bind to address 127.0.0.1 port 7200", Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>When in the error log of the HTTP_Server ($ORACLE_HOME/Apache/Apache/logs/error_log.xxxxx) this error occures:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;[Thu Mar 12 16:16:18 2009] [crit] (98)Address already in use: make_sock: could not bind to address 127.0.0.1 port 7200&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Some processes of the HTTP_Server are still running and need to be killed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3277410775711558651?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3277410775711558651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/oracle-access-manager-address-already.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3277410775711558651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3277410775711558651'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/oracle-access-manager-address-already.html' title='&quot;Address already in use: make_sock: could not bind to address 127.0.0.1 port 7200&quot;, Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3709568470776427921</id><published>2009-04-07T19:54:00.005+02:00</published><updated>2009-06-24T16:58:18.671+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>"*** glibc detected *** realloc(): invalid size: 0x081a61f8 ***", Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>After the installation of the Access Server component of Oracle Access Manager the HTTP_Server needs to be restarted.&lt;br /&gt;&lt;br /&gt;It is possible that the following error occures:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;[Mon Feb 16 14:42:44 2009] [warn] pid file $ORACLE_HOME/Apache/Apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?&lt;br /&gt;*** glibc detected *** realloc(): invalid size: 0x081a61f8 ***&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This can be solved by changing the httpd.conf file:&lt;br /&gt;exclude two modules:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;#LoadModule perl_module libexec/libperl.so&lt;br /&gt;#LoadModule php4_module libexec/libphp4.so&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3709568470776427921?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3709568470776427921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/oracle-access-manager-glibc-detected.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3709568470776427921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3709568470776427921'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/oracle-access-manager-glibc-detected.html' title='&quot;*** glibc detected *** realloc(): invalid size: 0x081a61f8 ***&quot;, Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5560335129068854697</id><published>2009-04-07T19:44:00.003+02:00</published><updated>2009-04-07T20:04:44.279+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>Invalid Credentials Error OAM After Applying 10.1.4.3 Patchset to OID</title><content type='html'>After applying patchset 10.1.4.3 to the OID, Login to Oracle Access Manager (OAM) access server/identity server/ policy manager fails with invalid credentials.&lt;br /&gt;&lt;br /&gt;Applying OID 10.1.4.3 patchset modifies the OID attribute orclinmemfiltprocess. The new value is not correct and causes the described problem.&lt;br /&gt;&lt;br /&gt;Execute the following query in the OID&lt;br /&gt;&lt;br /&gt;For OID 10.1.4.3&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ORACLE_HOME/bin/ldapmodify –h &amp;lt;OID_HOST&amp;gt; -p &amp;lt;OID_PORT&amp;gt; –D cn=orcladmin –w &amp;lt;PASSWORD&amp;gt; -v &amp;lt;EOF &lt;br /&gt;dn: cn=dsaconfig,cn=configsets,cn=oracle internet directory &lt;br /&gt;changetype: modify &lt;br /&gt;replace: orclinmemfiltprocess &lt;br /&gt;orclinmemfiltprocess:(|(!(obuseraccountcontrol=*))(obuseraccountcontrol=activated)) &lt;br /&gt;orclinmemfiltprocess:(|(obuseraccountcontrol=activated)(!(obuseraccountcontrol=*))) &lt;br /&gt;orclinmemfiltprocess:(obapp=groupservcenter)(!(obdynamicparticipantsset=*)) &lt;br /&gt;orclinmemfiltprocess:(objectclass=oblixworkflowinstance) &lt;br /&gt;orclinmemfiltprocess:(objectclass=inetorgperson) &lt;br /&gt;orclinmemfiltprocess:(objectclass=oblixorgperson) &lt;br /&gt;orclinmemfiltprocess:(objectclass=oblixworkflowstepinstance) &lt;br /&gt;EOF&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Refers: metalink note: 558040.1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5560335129068854697?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5560335129068854697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/invalid-credentials-error-oam-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5560335129068854697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5560335129068854697'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/invalid-credentials-error-oam-after.html' title='Invalid Credentials Error OAM After Applying 10.1.4.3 Patchset to OID'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-2421923066360188457</id><published>2009-04-07T19:33:00.004+02:00</published><updated>2009-04-07T20:09:14.081+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>Migration has failed. Please try to manually run the migration program by invoking</title><content type='html'>Error during text based Installation of the Dutch Language Pack for Identity server on RedHat Linux&lt;br /&gt;&lt;br /&gt;./Oracle_Access_Manager10_1_4_0_1_NL_linux_LP_Identity_System&lt;br /&gt;&lt;br /&gt;Migrating language...&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Migration has failed. Please try to manually run the migration program by&lt;br /&gt;invoking&lt;br /&gt;$ORACLE_ACCESS_MANAGER/identity/oblix/tools/migration_tools/start_obmigratenp&lt;br /&gt;-c LP -f ERROR: could not read property fromMigrationVersion for bean&lt;br /&gt;dsInfoInputbecause the following error occurred:&lt;br /&gt;java.lang.NullPointerExceptionERROR: could not read property&lt;br /&gt;fromFirstMinorVersion for bean dsInfoInputbecause the following error occurred:&lt;br /&gt;java.lang.NullPointerException -t 1014 -s "ERROR: could not read property&lt;br /&gt;destination for bean backupOblixDirBeanbecause the following error occurred:&lt;br /&gt;java.lang.NullPointerException" -d "/appl/oracle/ident_10.1.4/identity" -i&lt;br /&gt;"$ORACLE_ACCESS_MANAGER/identity".&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Made an SR by Oracle Support and the solution to this problem is starting the installation with the -gui option.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-2421923066360188457?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/2421923066360188457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/migration-has-failed-please-try-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2421923066360188457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2421923066360188457'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/migration-has-failed-please-try-to.html' title='Migration has failed. Please try to manually run the migration program by invoking'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3987477893703223977</id><published>2009-04-06T20:11:00.005+02:00</published><updated>2009-06-24T16:58:01.320+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>Form-Based Authentication Single Sign On for Oracle SOA suite 10.1.3.x ESB console, Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1. Configure ESB console with OAM&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;see my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application)&lt;br /&gt;&lt;br /&gt;All the files that need to be changed are located in $ORACLE_HOME/j2ee/oc4j_soa/* &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.1 system-jazn-config.xml&lt;/span&gt;&lt;br /&gt;Change the system-jazn-config.xml see Chapter 3.5 of my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application&lt;br /&gt;&lt;br /&gt;The application name should be: esb&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.2 orion-application.xml&lt;/span&gt;&lt;br /&gt;Change the orion-application.xml files in both directories: (applications and application-deployments) see Chapter 3.3 of my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application.&lt;br /&gt;&lt;br /&gt;Replace this code: &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;jazn provider="XML" location="../../config/system-jazn-data.xml" default-realm="jazn.com" jaas-mode="doAsPrivileged" /&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;By this code:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;jazn provider="XML" default-realm="jazn.com" jaas-mode="doAsPrivileged"&amp;gt;&lt;br /&gt;   &amp;lt;jazn-web-app auth-method="COREIDSSO"/&amp;gt;&lt;br /&gt;&amp;lt;/jazn&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.3 web.xml&lt;/span&gt;&lt;br /&gt;Change the web.xml see Chapter 3.1 of my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application.&lt;br /&gt;&lt;br /&gt;Location:&lt;br /&gt;/appl/oracle/soa_10.1.3/j2ee/oc4j_soa/applications/esb-dt/esb_console/WEB-INF&lt;br /&gt;&lt;br /&gt;In the web.xml the following code must be replaced:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;    &amp;lt;login-config&amp;gt;&lt;br /&gt;                &amp;lt;auth-method&amp;gt;FORM&amp;lt;/auth-method&amp;gt;&lt;br /&gt;                &amp;lt;form-login-config&amp;gt;&lt;br /&gt;                        &amp;lt;form-login-page&amp;gt;/login.jsp&amp;lt;/form-login-page&amp;gt;&lt;br /&gt;                        &amp;lt;form-error-page&amp;gt;/login_error.jsp&amp;lt;/form-error-page&amp;gt;&lt;br /&gt;                &amp;lt;/form-login-config&amp;gt;&lt;br /&gt;  &amp;lt;/login-config&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Replace by:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;    &amp;lt;login-config&amp;gt;&lt;br /&gt;        &amp;lt;realm-name&amp;gt;ascontrol&amp;lt;/realm-name&amp;gt;&lt;br /&gt;    &amp;lt;/login-config&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.4 opmn.xml&lt;/span&gt;&lt;br /&gt;Change the opmn.xml see Chapter 2.1 of my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.5 Policy Domain&lt;/span&gt;&lt;br /&gt;Configure a policy domain for /em see Chapter 3.4 of my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application.&lt;br /&gt;&lt;br /&gt;The only difference is that /esb needs to be protected instead of: /callerInfo/callerInfoB&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3987477893703223977?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3987477893703223977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/coreidoracle-access-manager-form-based_06.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3987477893703223977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3987477893703223977'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/coreidoracle-access-manager-form-based_06.html' title='Form-Based Authentication Single Sign On for Oracle SOA suite 10.1.3.x ESB console, Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-4048923315811832714</id><published>2009-04-06T10:24:00.023+02:00</published><updated>2009-06-24T16:59:49.384+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>Form-Based Authentication Single Sign On for Oracle SOA suite 10.1.3.x asconsole, Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>I will explain how SSO / OAM / Oracle SOA suite 10.1.3 asconsole can be configured.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1. Configure asconsole with OAM /em&lt;/span&gt;&lt;br /&gt;First I will configure the asconsole, this is very easy. Before you can start configuring you need to create the user and groups in the OID this can be achieved with a trick. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.1 Add User and Groups in the OID&lt;/span&gt;&lt;br /&gt;Log in on the asconsole of the SOA suite with the oc4jadmin user:&lt;br /&gt;&lt;br /&gt;http://hostname:port/em&lt;br /&gt;Click on the home container &gt; tab Administration &gt; Identity Management&lt;br /&gt;&lt;br /&gt;Fill in the OID settings of your OID, then automaticly the users and groups are added to the OID.&lt;br /&gt;&lt;br /&gt;After this it is easy (see my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application)&lt;br /&gt;&lt;br /&gt;All the files that need to be changed are located in the directory: $ORACLE_HOME/j2ee/home/*&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.2 system-jazn-config.xml&lt;/span&gt;&lt;br /&gt;Change the system-jazn-config.xml see Chapter 3.5 of my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application&lt;br /&gt;&lt;br /&gt;The application name should be: asconsole&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.3 orion-application.xml&lt;/span&gt;&lt;br /&gt;Change the orion-application.xml files in both directories: (applications and application-deployments) see Chapter 3.3 of my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application.&lt;br /&gt;&lt;br /&gt;Replace this code: &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;    &amp;lt;!-- %BEGINGOVERNSSO%&lt;br /&gt;&lt;br /&gt;    &amp;lt;jazn provider="XML"&amp;gt;&lt;br /&gt;        &amp;lt;jazn-web-app auth-method="CUSTOM_AUTH"/&amp;gt;&lt;br /&gt;    &amp;lt;/jazn&amp;gt;&lt;br /&gt;&lt;br /&gt;    %ENDGOVERNSSO% --&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;By the following code:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;jazn provider="XML" default-realm="jazn.com" jaas-mode="doAsPrivileged"&amp;gt;&lt;br /&gt;   &amp;lt;jazn-web-app auth-method="COREIDSSO"/&amp;gt;&lt;br /&gt;&amp;lt;/jazn&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.3 web.xml&lt;/span&gt;&lt;br /&gt;Change the web.xml see Chapter 3.1 of my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application.&lt;br /&gt;&lt;br /&gt;In the web.xml the following code must be replaced:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;  &amp;lt;login-config&amp;gt;&lt;br /&gt;    &amp;lt;auth-method&amp;gt;FORM&amp;lt;/auth-method&amp;gt;&lt;br /&gt;    &amp;lt;realm-name&amp;gt;ascontrol&amp;lt;/realm-name&amp;gt;&lt;br /&gt;    &amp;lt;form-login-config&amp;gt;&lt;br /&gt;      &amp;lt;form-login-page&amp;gt;/console/logon&amp;lt;/form-login-page&amp;gt;&lt;br /&gt;      &amp;lt;form-error-page&amp;gt;/logon_failed.html&amp;lt;/form-error-page&amp;gt;&lt;br /&gt;    &amp;lt;/form-login-config&amp;gt;&lt;br /&gt;  &amp;lt;/login-config&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Replace by:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;    &amp;lt;login-config&amp;gt;&lt;br /&gt;        &amp;lt;realm-name&amp;gt;ascontrol&amp;lt;/realm-name&amp;gt;&lt;br /&gt;        &amp;lt;auth-method&amp;gt;BASIC&amp;lt;/auth-method&amp;gt;&lt;br /&gt;    &amp;lt;/login-config&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.4 opmn.xml&lt;/span&gt;&lt;br /&gt;Change the opmn.xml see Chapter 2.1 of my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.5 Policy Domain&lt;/span&gt;&lt;br /&gt;Configure a policy domain for /em see Chapter 3.4 of my post CoreId/Oracle Access Manager Form-Based Authentication for J2EE application.&lt;br /&gt;&lt;br /&gt;The only difference is that /em needs to be protected instead of: /callerInfo/callerInfoB&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-4048923315811832714?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/4048923315811832714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/coreidoracle-access-manager-form-based.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4048923315811832714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4048923315811832714'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/coreidoracle-access-manager-form-based.html' title='Form-Based Authentication Single Sign On for Oracle SOA suite 10.1.3.x asconsole, Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5002060301155622932</id><published>2009-04-03T15:15:00.002+02:00</published><updated>2009-04-06T20:19:41.893+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>Invoking ESB Service From BPEL Fails With Error "exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException"</title><content type='html'>When the ESB service is called in an BPEL process and the next error occurs (Oracle ESB 10.1.3.x):&lt;br /&gt;&lt;br /&gt;Invoking ESB Service From BPEL Fails With Error "exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException"&lt;br /&gt;&lt;br /&gt;Metalink note: 427452.1&lt;br /&gt;&lt;br /&gt;There are two options to resolve this issue: &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Option 1: Configure the virtualhost and port number for a particular ESB system where services got registered. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Click the ESB system then configure Virtual host and Port number, &lt;br /&gt;   Set Virtual host to ESB Runtime Server's hostname &lt;br /&gt;   Set Port to ESB Runtime Server's http listening port &lt;br /&gt;2. Apply the change &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Option 2: Use ESB bindings to invoke ESB services. &lt;/span&gt;&lt;br /&gt;1. Login to ESB console, and click the Routing Service which BPEL is attempting to invoke. &lt;br /&gt;2. Go to "Definition" tab, and uncheck "Can be invoked from an external service" &lt;br /&gt;3. Click apply. &lt;br /&gt;4. Go to BPEL Console and clear the WSDL Cache.&lt;br /&gt;5. Restart SOA suite&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5002060301155622932?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5002060301155622932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/invoking-esb-service-from-bpel-fails.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5002060301155622932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5002060301155622932'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/04/invoking-esb-service-from-bpel-fails.html' title='Invoking ESB Service From BPEL Fails With Error &quot;exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException&quot;'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-6958688735998460706</id><published>2009-03-27T15:50:00.005+01:00</published><updated>2009-04-06T20:20:30.905+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Redhat Linux'/><title type='text'>RedHat linux monitor network traffic from and to an host</title><content type='html'>Interessed in what is sent over the network to an host from an progam use tcpdump:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;/usr/sbin/tcpdump src host IP_ADDRESS_HOST or dst host IP_ADDRESS_HOST&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;IP_ADDRESS_HOST is the address of the host to which the requests are sent.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-6958688735998460706?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/6958688735998460706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/redhat-linux-monitor-network-traffic.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6958688735998460706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6958688735998460706'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/redhat-linux-monitor-network-traffic.html' title='RedHat linux monitor network traffic from and to an host'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-20372821678662661</id><published>2009-03-25T14:04:00.099+01:00</published><updated>2009-06-24T16:58:35.902+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>Form-Based Authentication for J2EE application, Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>This blog describes the steps which are needed to configure OAM/CoreId 10.1.4.2 with a sample J2EE application with Form-Based Authentication on Oracle Application Server 10.1.3 (Oracle HTTP Server 1.x)&lt;br /&gt;&lt;br /&gt;Download the sample application callerInfo from the Oracle Website http://www.oracle.com/technology/sample_code/tech/java/codesnippet/security/jaznldap/JAZNLDAP.zip.&lt;br /&gt;&lt;br /&gt;Install Oracle Access Manager components.&lt;br /&gt;&lt;br /&gt;Install an Oracle Application Server for example 10.1.3.1 (Oracle HTTP Server 1.x/Apache 1.3.x)&lt;br /&gt;&lt;br /&gt;Install WebGate 10.1.4.2 BP03 (THIS IS VERY IMPORTANT, there are some important bug fixes in BP03 WebGate see metalink note: 736372.1 for version / patchsets)&lt;br /&gt;&lt;br /&gt;Install AccessGate 10.1.4.2 BP06 (THIS IS VERY IMPORTANT, there are some important bug fixes in BP06 AccessGate see metalink note: 736372.1 for version / patchsets)&lt;br /&gt;&lt;br /&gt;Create an OC4J container and deploy the callerInfo.ear file.&lt;br /&gt;&lt;br /&gt;Create users en groups in the OID:&lt;br /&gt;http://www.oracle.com/technology/sample_code/tech/java/codesnippet/security/jaznldap/UsingDAS.html&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1. Configure Oracle Access Manager&lt;/span&gt;&lt;br /&gt;1. Configure Oracle Access Manager Form-Based Authentication&lt;br /&gt;2. Configure Oracle Access Manager Basic Authentication&lt;br /&gt;3. Configure the Resource Type&lt;br /&gt;4. Protect the Action URL&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.1 Configure Oracle Access Manager Form-Based Authentication&lt;/span&gt;&lt;br /&gt;For Single Sign-On functionality, a form-based authentication scheme must protect the resources.&lt;br /&gt;&lt;br /&gt;1.1.1 Create a Login Form&lt;br /&gt;The login form can be a very simple HTML page with an FORM in the page&lt;br /&gt;- The action of the form can be an bogus link (in this example /oam/access/test.html) but this must be the same as in the authentication scheme which is created later on.&lt;br /&gt;- The userid and password can be chosen freely but these will also be used in the authentication sheme.&lt;br /&gt;&lt;br /&gt;login1.html&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;center&amp;gt;&lt;br /&gt;&amp;lt;h1&amp;gt;User Login&amp;lt;/h1&amp;gt;&lt;br /&gt;&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;form name="myForm" action="&lt;span style="font-weight:bold;"&gt;/oam/access/test.html&lt;/span&gt;" method="post"&amp;gt;&lt;br /&gt;Username: &amp;lt;input type="text" name="&lt;span style="font-weight:bold;"&gt;userid&lt;/span&gt;" width="20"&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;Password: &amp;lt;input type="password" name="&lt;span style="font-weight:bold;"&gt;password&lt;/span&gt;" width="20"&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;input type="submit" value="OK"&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This login1.html file can be placed in $ORACLE_HOME/Apache/Apache/htdocs/public.&lt;br /&gt;&lt;br /&gt;1.1.2 Define Form-Based Authentication in Policy Manager&lt;br /&gt;&lt;br /&gt;Go to the Access Manager GUI: http://hostname:port/access/oblix and click the Access System Console link, login with the administrator account.&lt;br /&gt;&lt;br /&gt;Access System Console &gt; Access System Configuration &gt; Authentication Management&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/ScpO2BQerQI/AAAAAAAAAFw/9qp7vK8pqTQ/s1600-h/oam1.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 150px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/ScpO2BQerQI/AAAAAAAAAFw/9qp7vK8pqTQ/s400/oam1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317149000021748994" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click button Add to create an Form Based Authentication.&lt;br /&gt;&lt;br /&gt;Fill in the entries like this: &lt;br /&gt;(pay attention: &lt;br /&gt;&lt;br /&gt;Name:                  COREidSSOform (choose freely)&lt;br /&gt;Description:           COREid SSO Form Based (choose freely)&lt;br /&gt;Level:                 1 &lt;br /&gt;Challenge Method:      Form &lt;br /&gt;Challenge Parameter:   form: &lt;span style="font-weight:bold;"&gt;/public/login1.html&lt;/span&gt; (see the location in step 1.1.1)&lt;br /&gt;                       creds: &lt;span style="font-weight:bold;"&gt;userid password&lt;/span&gt; (use the same variable names as in the login1.html in step 1.1.1)&lt;br /&gt;                       action: &lt;span style="font-weight:bold;"&gt;/oam/access/test.html&lt;/span&gt; (use the same action as in the login1.html in step 1.1.1)&lt;br /&gt;                       passthrough: No &lt;br /&gt;SSL Required:          No &lt;br /&gt;Challenge Redirect Enabled: Yes&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_1DZkSxdocDo/ScpTmsHd7XI/AAAAAAAAAGA/ghRBllkyaYI/s1600-h/oam3.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 202px;" src="http://4.bp.blogspot.com/_1DZkSxdocDo/ScpTmsHd7XI/AAAAAAAAAGA/ghRBllkyaYI/s400/oam3.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317154234206907762" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1.1.3 Configure the credential_mapping Plug-In for Form-Based Authentication&lt;br /&gt;&lt;br /&gt;Now you have to configure the credential_mapping plugin_in for form-based authentication.&lt;br /&gt;&lt;br /&gt;Click on tab plugin and click the button add.&lt;br /&gt;&lt;br /&gt;First configure the credential_mapping (this is important, if password is the first plugin it will not work) select the plugin in the drop down box.&lt;br /&gt;&lt;br /&gt;For Plugin Parameters:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;obMappingBase="cn=users,dc=us,dc=oracle,dc=com",obMappingFilter="(&amp;(&amp;&lt;br /&gt;(objectclass=inetorgperson)(uid=%&lt;span style="font-weight:bold;"&gt;userid&lt;/span&gt;%))(|(!&lt;br /&gt;(obuseraccountcontrol=*)) (obuseraccountcontrol=ACTIVATED)))"&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The value for uid must match the variable specified for user name in the login1.html form and in the creds part of the Form Based Authentication.&lt;br /&gt;&lt;br /&gt;This also corresponds to the value of the &lt;span style="font-weight:bold;"&gt;coreid.name.attribute&lt;/span&gt; option in the Oracle Access Manager login module configuration in OC4J.&lt;br /&gt;&lt;br /&gt;1.1.4 Configure the validate_password Plug-In for Form-Based Authentication&lt;br /&gt;&lt;br /&gt;Now configure the validate_password plug-in select validate_password in the drop down box.&lt;br /&gt;&lt;br /&gt;The Plugin Parameters:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;obCredentialPassword="&lt;span style="font-weight:bold;"&gt;password&lt;/span&gt;"&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The value for obCredentialPassword must match the variable specified for password in the login1.html form and in the creds part of the Form Based Authentication.&lt;br /&gt;&lt;br /&gt;This also corresponds to the value of the &lt;span style="font-weight:bold;"&gt;coreid.password.attribute&lt;/span&gt; option in the Oracle Access Manager login module configuration.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/ScpS4K-ywEI/AAAAAAAAAF4/apxFU-pF-jg/s1600-h/oam2.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 150px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/ScpS4K-ywEI/AAAAAAAAAF4/apxFU-pF-jg/s400/oam2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317153435038171202" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1.1.5 Create Host Identifier&lt;br /&gt;Access System Configuration &gt; Host Identifiers&lt;br /&gt;&lt;br /&gt;Click Add&lt;br /&gt;&lt;br /&gt;Name:                  &lt;span style="font-weight:bold;"&gt;Hostname&lt;/span&gt;&lt;br /&gt;Description:           (Choose freely)&lt;br /&gt;Hostname variations:   hostname:port&lt;br /&gt;                       ip address:port&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1DZkSxdocDo/Sct54VTrQwI/AAAAAAAAAGw/qzE5hr_V5jY/s1600-h/oam12.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 161px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/Sct54VTrQwI/AAAAAAAAAGw/qzE5hr_V5jY/s400/oam12.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317477793740309250" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.2 Configure Oracle Access Manager Basic Authentication&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You must configure the Oracle Access Manager basic authentication scheme, which must not be password protected (only credential_mapping plug-in). This scheme will protect two resources&lt;br /&gt;- A URL assouciated with resource type (myresourcetype). The Oracle Access Manager &lt;br /&gt;  login module will use this URL to communicate to the Access Server through the &lt;br /&gt;  Access Manager SDK.&lt;br /&gt;- The Action URL in the login1.html (&lt;span style="font-weight:bold;"&gt;/oam/access/test.html&lt;/span&gt;) page. This is so submitted form requests can be &lt;br /&gt;  intercepted by WebGate in order to enforce rules for submitted credentials.&lt;br /&gt;&lt;br /&gt;However the application itself must be protected by form-based authentication (steps 1.1.1 and 1.1.2)&lt;br /&gt;            &lt;br /&gt;1.2.1 Define Basic Authentication in Policy Manager&lt;br /&gt;Go to the Access Manager GUI: http://hostname:port/access/oblix and click the Access System Console link, login with the administrator account.&lt;br /&gt;&lt;br /&gt;Access System Console &gt; Access System Configuration &gt; Authentication Management&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/ScpO2BQerQI/AAAAAAAAAFw/9qp7vK8pqTQ/s1600-h/oam1.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 150px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/ScpO2BQerQI/AAAAAAAAAFw/9qp7vK8pqTQ/s400/oam1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317149000021748994" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click button Add to create Basic Authentication.&lt;br /&gt;&lt;br /&gt;Fill in the entries like this: &lt;br /&gt;(pay attention: &lt;br /&gt;&lt;br /&gt;Name:                  COREidSSONoPwd (choose freely)&lt;br /&gt;Description:           Authentication without Password (choose freely)&lt;br /&gt;Level:                 1 &lt;br /&gt;Challenge Method:      Basic &lt;br /&gt;Challenge Parameter:   realm:NetPoint Basic Over LDAP&lt;br /&gt;SSL Required:          No &lt;br /&gt;Challenge Redirect&lt;br /&gt;Enabled:               Yes&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/SctayemIsdI/AAAAAAAAAGI/mEf0kuSnTbk/s1600-h/oam4.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 224px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SctayemIsdI/AAAAAAAAAGI/mEf0kuSnTbk/s400/oam4.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317443608293978578" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1.2.2 Configure the credential_mapping Plug-In for Basic Authentication&lt;br /&gt;Now you have to configure the credential_mapping plugin_in for form-based authentication.&lt;br /&gt;&lt;br /&gt;Click on tab plugin and click the button add.&lt;br /&gt;&lt;br /&gt;First configure the credential_mapping (this is important, if password is the first plugin it will not work) select the plugin in the drop down box.&lt;br /&gt;&lt;br /&gt;For Plugin Parameters:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;obMappingBase="cn=users,dc=us,dc=oracle,dc=com",obMappingFilter="(&amp;(&amp;&lt;br /&gt;(objectclass=inetorgperson)(uid=%&lt;span style="font-weight:bold;"&gt;userid&lt;/span&gt;%))(|(!&lt;br /&gt;(obuseraccountcontrol=*)) (obuseraccountcontrol=ACTIVATED)))"&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The value for uid must match the variable specified for user name in the login1.html form and in the creds part of the Form Based Authentication.&lt;br /&gt;&lt;br /&gt;This also corresponds to the value of the &lt;span style="font-weight:bold;"&gt;coreid.name.attribute&lt;/span&gt; option in the Oracle Access Manager login module configuration.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_1DZkSxdocDo/SctbZ0ZzRJI/AAAAAAAAAGQ/1LQkoPktI0Q/s1600-h/oam5.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 183px;" src="http://4.bp.blogspot.com/_1DZkSxdocDo/SctbZ0ZzRJI/AAAAAAAAAGQ/1LQkoPktI0Q/s400/oam5.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317444284162720914" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.3 Configure the Resource Type&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In Oracle Access Manager, a resource type describes the kind of resource to be protected, including its associated operations. Operations associated with a resource are tied to its type. You must configure an Oracle Access Manager resource type for your resource, and then protect your resource type, action URL, and application.&lt;br /&gt;&lt;br /&gt;The Oracle Access Manager login module will need information for the resource type, as will be noted. OC4J uses the resource type to retrieve user information based on the Oracle Access Manager ObSSOCookie or the user name, using APIs of the Access Manager SDK.&lt;br /&gt;&lt;br /&gt;1.3.1 Configure the Name and Operation of the Resource Type&lt;br /&gt;&lt;br /&gt;Access System Console &gt; Access System Configuration &gt; Common Information Configuration &gt; Resource Type Definitions&lt;br /&gt;&lt;br /&gt;On the page that lists all resource types, choose to add a new resource type.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/SctgDZz8cGI/AAAAAAAAAGY/gKHYFIq8qQg/s1600-h/oam6.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 190px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SctgDZz8cGI/AAAAAAAAAGY/gKHYFIq8qQg/s400/oam6.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317449396625633378" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Make entries such as the following to define a new resource type:&lt;br /&gt;&lt;br /&gt;Resource Name:        myresourcetype (choose freely)&lt;br /&gt;Display Name:         myresourcetype (choose freely)&lt;br /&gt;Resource Matching:    Case Insensitive &lt;br /&gt;Resource Operation:   MYRESOURCEOPERATRION (choose freely)&lt;br /&gt;&lt;br /&gt;You can choose any names for the resource type and resource operation, but you must use the same names for the &lt;span style="font-weight:bold;"&gt;coreid.resource.type&lt;/span&gt; and &lt;span style="font-weight:bold;"&gt;coreid.resource.operation&lt;/span&gt; option values in the Oracle Access Manager login module configuration.&lt;br /&gt;&lt;br /&gt;1.3.2 Configure and Protect the URL of the Configured Resource Type&lt;br /&gt;&lt;br /&gt;After authentication, OC4J requires access to the user's roles in order to check for authorization. To enable this, you must set up an Oracle Access Manager "return action" that allows Oracle Access Manager to return the appropriate roles to OC4J for the user after successful authentication.&lt;br /&gt;&lt;br /&gt;To set up the return action in Oracle Access Manager, navigate as follows:&lt;br /&gt;&lt;br /&gt;Policy Manager &gt; Create Policy Domain&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_1DZkSxdocDo/Sct296vgd4I/AAAAAAAAAGg/OGp5HkPqEh0/s1600-h/oam11.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 117px;" src="http://1.bp.blogspot.com/_1DZkSxdocDo/Sct296vgd4I/AAAAAAAAAGg/OGp5HkPqEh0/s400/oam11.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317474591153616770" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Policy Manager &gt; My Policy Domains &gt; &lt;span style="font-weight:bold;"&gt;myresourcetype&lt;/span&gt; &gt; tab Resources&lt;br /&gt;&lt;br /&gt;Create Resource for myresource type &lt;br /&gt;&lt;br /&gt;Click button Add&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1DZkSxdocDo/Sct32GiINVI/AAAAAAAAAGo/n_8755fu0LA/s1600-h/oam9.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 98px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/Sct32GiINVI/AAAAAAAAAGo/n_8755fu0LA/s400/oam9.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317475556391400786" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Resource Type:      myresourcetype (step 3.1)&lt;br /&gt;Host Identifiers:   &lt;span style="font-weight:bold;"&gt;hostname&lt;/span&gt; (step 1.5)&lt;br /&gt;URL Prefix:         &lt;span style="font-weight:bold;"&gt;/myresourceurl&lt;/span&gt; (choose freely)&lt;br /&gt;Description:        (choose freely)&lt;br /&gt;Button Save&lt;br /&gt;&lt;br /&gt;The URL prefix must start with a "/" and is the designated URL of the resource type. This must match the value of the &lt;span style="font-weight:bold;"&gt;coreid.resource.name&lt;/span&gt; option in the Oracle Access Manager login module configuration.&lt;br /&gt;&lt;br /&gt;1.3.3 Configure the Return Action Attributes&lt;br /&gt;&lt;br /&gt;After authentication, OC4J requires access to the user's roles in order to check for authorization. To enable this, you must set up an Oracle Access Manager "return action" that allows Oracle Access Manager to return the appropriate roles to OC4J for the user after successful authentication.&lt;br /&gt;&lt;br /&gt;To set up the return action in Oracle Access Manager, navigate as follows:&lt;br /&gt;&lt;br /&gt;Policy Manager &gt; My Policy Domains &gt; &lt;span style="font-weight:bold;"&gt;MyResourceType&lt;/span&gt; &gt; Authorization Rules tab &lt;br /&gt;&lt;br /&gt;Click button Add&lt;br /&gt;&lt;br /&gt;Name:                      MyResourceType (choose freely)&lt;br /&gt;Description          (choose freely)&lt;br /&gt;Enabled          Yes&lt;br /&gt;Allow takes precedence     No&lt;br /&gt;&lt;br /&gt;Click button Save&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_1DZkSxdocDo/SczMap-zCrI/AAAAAAAAAHo/nxAgRvOmpxU/s1600-h/oam17.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 134px;" src="http://4.bp.blogspot.com/_1DZkSxdocDo/SczMap-zCrI/AAAAAAAAAHo/nxAgRvOmpxU/s400/oam17.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317850018335623858" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Under the Authorization Success tab section, add the following entries (continuing the preceding example using myresourcetype):&lt;br /&gt;&lt;br /&gt;Return Type:      &lt;span style="font-weight:bold;"&gt;myresourcetype&lt;/span&gt;&lt;br /&gt;Return Name:      &lt;span style="font-weight:bold;"&gt;myresourcetype&lt;/span&gt;&lt;br /&gt;Return Attribute: ObMyGroups&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_1DZkSxdocDo/Scy2Qm5rkcI/AAAAAAAAAHI/u-KoRkK-dA8/s1600-h/oam13.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 150px;" src="http://4.bp.blogspot.com/_1DZkSxdocDo/Scy2Qm5rkcI/AAAAAAAAAHI/u-KoRkK-dA8/s400/oam13.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317825656454353346" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1.4 Protect the Action URL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create Resource for http type action url (&lt;span style="font-weight:bold;"&gt;/oam/access/test.html&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;Policy Manager &gt; My Policy Domains &gt; &lt;span style="font-weight:bold;"&gt;myresourcetype&lt;/span&gt; &gt; tab Resources&lt;br /&gt;&lt;br /&gt;Create Resource for myresource type &lt;br /&gt;&lt;br /&gt;Click button Add&lt;br /&gt;&lt;br /&gt;Resource Type        http&lt;br /&gt;Host Identifiers  &lt;span style="font-weight:bold;"&gt;hostname&lt;/span&gt; (step 1.5)&lt;br /&gt;URL Prefix       &lt;span style="font-weight:bold;"&gt;/oam/access/test.html&lt;/span&gt; action URL in login1.html &lt;br /&gt;Description             (choose freely)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/Scy1pv6-uEI/AAAAAAAAAHA/wWcSszcCHJs/s1600-h/oam10.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 104px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/Scy1pv6-uEI/AAAAAAAAAHA/wWcSszcCHJs/s400/oam10.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317824988860823618" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;IMPORTANT:&lt;br /&gt;Do not forget to enable the policy:&lt;br /&gt;My Policy Domains &gt; MyResourceType &gt; General&lt;br /&gt;&lt;br /&gt;Click modify&lt;br /&gt;Set Enable to Yes and click save.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/SczSPXrz-6I/AAAAAAAAAHw/H6pohOqyp28/s1600-h/oam18.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 166px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SczSPXrz-6I/AAAAAAAAAHw/H6pohOqyp28/s400/oam18.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317856421515361186" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Overview:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1DZkSxdocDo/Scy1WB6rPLI/AAAAAAAAAG4/KLm-7V_DRkY/s1600-h/oam8.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 117px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/Scy1WB6rPLI/AAAAAAAAAG4/KLm-7V_DRkY/s400/oam8.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317824650094001330" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. Configure OC4J with the Access Manager SDK&lt;/span&gt;&lt;br /&gt;After that the SDK is installed the SDK needs be registered against the Access Server and the already installed WebGate. Pay attention the order of configuring is important. First the Access Server then the WebGate. &lt;br /&gt;&lt;br /&gt;Configure SDK against Access Server:&lt;br /&gt;&lt;br /&gt;Go to the directory &lt;br /&gt;cd SDK_HOME/AccessServerSDK/oblix/tools/configureAccessGate&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;./configureAccessGate -i /SDK_HOME/AccessServerSDK/ -t AccessGate -w NAME_WEBGATE -m open -S -P PASSWORD -h ACCESS_SERVER_HOSTNAME -p ACCESS_SERVER_PORT -a ACCESS_SERVER_NAME&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Preparing to connect to Access Server.  Please wait.&lt;br /&gt;AccessGate installed Successfully.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Configure SDK against WebGate:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;./configureAccessGate -i /SDK_HOME/AccessServerSDK/ -t AccessGate -w SDK_NAME -m open -S -P PASSWORD -h HOSTNAME_WEBGATE -p ACCESS_SERVER_PORT -a ACCESS_SERVER_NAME&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Preparing to connect to Access Server.  Please wait.&lt;br /&gt;&lt;br /&gt;AccessGate installed Successfully.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2.1 Configure the Access Manager SDK to Each OC4J Instance&lt;/span&gt;&lt;br /&gt;You will need Oracle Access Manager SDK, one installation for each OC4J instance, on the same system as OC4J. The Access Manager SDK is required by OC4J at runtime to communicate with Access Server. OC4J must be given the Access Manager SDK location during startup (through the java.library.path property), so that it can initialize the SDK. Note this initialization occurs only if at least one application is using Oracle Access Manager as the security provider.&lt;br /&gt;&lt;br /&gt;2.1.1 Copy jobaccess &lt;br /&gt;Copy the Oracle Access Manager file jobaccess.jar from the Access Manager SDK to the OC4J path. You will find this file in the SDK_HOME/AccessServerSDK/oblix/lib directory. Create the directory ORACLE_HOME/j2ee/home/lib/ext (if it does not already exist) and copy the jobaccess.jar to that directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2.2 Configure the Access Manager SDK Library Path for Each OC4J Instance&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Configuring opmn.xml for Oracle Access Manager&lt;br /&gt;&lt;br /&gt;Where OC4J is managed by OPMN, add settings to opmn.xml for Oracle HTTP Server and OC4J, as follows, when you use Oracle Access Manager:&lt;br /&gt;&lt;br /&gt;1. Set the LD_ASSUME_KERNEL environment variable to the value "2.4.19".&lt;br /&gt;2. Set the LD_LIBRARY_PATH environment variable to point to the AccessServerSDK library path.&lt;br /&gt;3. Add the AccessServerSDK library path to java.library.path as a start parameter.&lt;br /&gt;&lt;br /&gt;Then restart the OC4J instances.&lt;br /&gt;&lt;br /&gt;Following is an opmn.xml example for the OC4J home instance. Repeat these settings for the OC4J_SOA instance and any other OC4J instances as appropriate:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;ias-component id="OC4J"&amp;gt;&lt;br /&gt;   &amp;lt;process-type id="oc4j_callerinfo" module-id="OC4J" status="enabled"&amp;gt;&lt;br /&gt;      &amp;lt;environment&amp;gt;&lt;br /&gt;         &amp;lt;variable id="LD_ASSUME_KERNEL" value="2.4.19"/&amp;gt;&lt;br /&gt;         &amp;lt;variable id="LD_LIBRARY_PATH"&lt;br /&gt;                value="/SDK_HOME/AccessServerSDK/oblix/lib" append="true"/&amp;gt;&lt;br /&gt;      &amp;lt;/environment&amp;gt;&lt;br /&gt;      &amp;lt;module-data&amp;gt;&lt;br /&gt;         &amp;lt;category id="start-parameters"&amp;gt;&lt;br /&gt;            &amp;lt;data id="java-options" value="-server ...&lt;br /&gt;                  -Djava.library.path=/SDK_HOME/AccessServerSDK/oblix/lib&lt;br /&gt;                  ... /&amp;gt;&lt;br /&gt;         &amp;lt;/category&amp;gt;&lt;br /&gt;         ...&lt;br /&gt;      &amp;lt;/module-data&amp;gt;&lt;br /&gt;      ...&lt;br /&gt;   &amp;lt;/process-type&amp;gt;&lt;br /&gt;   ...&lt;br /&gt;&amp;lt;/ias-component&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3. Configure the CallerInfo Application&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3.1 Protect the Application URL's in web.xml&lt;/span&gt;&lt;br /&gt;The first step in protecting your application is to protect appropriate URLs or URL prefixes through settings in the web.xml file, using standard J2EE features.&lt;br /&gt;&lt;br /&gt;These are the same URLs that you will you protect through Oracle Access Manager.&lt;br /&gt;&lt;br /&gt;And add the following code:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;    &amp;lt;login-config&amp;gt;&lt;br /&gt;        &amp;lt;auth-method&amp;gt;BASIC&amp;lt;/auth-method&amp;gt;&lt;br /&gt;    &amp;lt;/login-config&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3.2 Settings for Application Deployment&lt;/span&gt;&lt;br /&gt;In Oracle Application Server 10.1.3.x implementations, Application Server Control does not yet support Oracle Access Manager as a security provider. When you deploy your application using the Application Server Control Console, choose the file-based provider. This will be overridden through the configuration steps documented in this blog.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3.3 Configure Oracle Access Manager SSO in orion-application.xml&lt;/span&gt;&lt;br /&gt;To use Oracle Access Manager Single Sign-On as the authentication method for Web applications, set the auth-method attribute to "COREIDSSO" in the &lt;jazn-web-app&gt; element in the OC4J orion-application.xml files ($ORACLE_HOME/j2ee/CONTAINER_NAME/applications and in $ORACLE_HOME/j2ee/CONTAINER_NAME/application-deployments). You can do this as either a pre-deployment step (packaged in the EAR file) or a post-deployment step.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;jazn provider="XML" default-realm="jazn.com" jaas-mode="doAsPrivileged"&amp;gt;&lt;br /&gt;   &amp;lt;jazn-web-app auth-method="COREIDSSO"/&amp;gt;&lt;br /&gt;&amp;lt;/jazn&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You also need to add the mapping between de application role and the OID group:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;!-- mapping for realm "jazn.com" --&amp;gt;&lt;br /&gt;&amp;lt;security-role-mapping name="sr_manager"&amp;gt;&lt;br /&gt;     &amp;lt;group name="managers" /&amp;gt;&lt;br /&gt;&amp;lt;/security-role-mapping&amp;gt;&lt;br /&gt;&amp;lt;security-role-mapping name="sr_developer"&amp;gt;&lt;br /&gt;    &amp;lt;group name="developers" /&amp;gt;&lt;br /&gt;&amp;lt;/security-role-mapping&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3.4 Protect the Application URL's in Oracle Access Manager&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Policy Manager &gt; Create Policy Domain &lt;br /&gt;Name       : callerInfoB&lt;br /&gt;Description: callerInfoB&lt;br /&gt;&lt;br /&gt;Click button save&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/SczUFFm8gYI/AAAAAAAAAH4/zd9lpnZ6yWc/s1600-h/oam19.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 143px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SczUFFm8gYI/AAAAAAAAAH4/zd9lpnZ6yWc/s400/oam19.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317858443887673730" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tab Resources&lt;br /&gt;&lt;br /&gt;Resource Type         http&lt;br /&gt;Host Identifiers  &lt;span style="font-weight:bold;"&gt;hostname&lt;/span&gt;&lt;br /&gt;URL Prefix       /callerInfo/callerInfoB&lt;br /&gt;Description       caller info B (choose freely) &lt;br /&gt;&lt;br /&gt;Click button Save&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/SczUmHPY8nI/AAAAAAAAAIA/pfGIUMShZh4/s1600-h/oam20.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 128px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SczUmHPY8nI/AAAAAAAAAIA/pfGIUMShZh4/s400/oam20.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317859011261428338" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tab Authorisation Rules &gt; SubTab General&lt;br /&gt;&lt;br /&gt;Name                Everyone (choose freely)&lt;br /&gt;Description       Everyone (choose freely)&lt;br /&gt;Enabled       Yes&lt;br /&gt;Allow takes precedence  No&lt;br /&gt;&lt;br /&gt;Click Save&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_1DZkSxdocDo/SczV9OjSrUI/AAAAAAAAAII/hczB_K-2JlA/s1600-h/oam21.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 189px;" src="http://1.bp.blogspot.com/_1DZkSxdocDo/SczV9OjSrUI/AAAAAAAAAII/hczB_K-2JlA/s400/oam21.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317860507872570690" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tab Authorisation Rules &gt; SubTab Allow Access&lt;br /&gt;&lt;br /&gt;Role                    Any one&lt;br /&gt;Click Save&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1DZkSxdocDo/SczV_8rA2vI/AAAAAAAAAIQ/iyJAmamXTfE/s1600-h/oam22.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 149px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/SczV_8rA2vI/AAAAAAAAAIQ/iyJAmamXTfE/s400/oam22.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317860554612726514" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tab Default Rules &gt; SubTab Authentication Rule &gt; SubSubTab General&lt;br /&gt;&lt;br /&gt;Name:                   Form Login&lt;br /&gt;Description:            Form Login&lt;br /&gt;Authentication Scheme:  COREidSSOform&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1DZkSxdocDo/SczXElWlYPI/AAAAAAAAAIY/uPoOmcPDO3g/s1600-h/oam23.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 196px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/SczXElWlYPI/AAAAAAAAAIY/uPoOmcPDO3g/s400/oam23.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317861733763997938" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tab Default Rules &gt; SubTab Authorization Expression &gt; SubSubTab Expression&lt;br /&gt;&lt;br /&gt;Select Authorization Rule:     Everyone &lt;br /&gt;Click button Add &gt; Click button Save&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1DZkSxdocDo/SczXqvCp8qI/AAAAAAAAAIg/ZMKUn9HfJsA/s1600-h/oam24.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 359px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/SczXqvCp8qI/AAAAAAAAAIg/ZMKUn9HfJsA/s400/oam24.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317862389199794850" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;IMPORTANT:&lt;br /&gt;Do not forget to enable the policy:&lt;br /&gt;My Policy Domains &gt; CallerInfoB &gt; General&lt;br /&gt;&lt;br /&gt;Click modify&lt;br /&gt;Set Enable to Yes and click save.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_1DZkSxdocDo/SczYbds0-bI/AAAAAAAAAIo/H1WtXBaSzXU/s1600-h/oam25.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 169px;" src="http://4.bp.blogspot.com/_1DZkSxdocDo/SczYbds0-bI/AAAAAAAAAIo/H1WtXBaSzXU/s400/oam25.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317863226358430130" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3.5 Configure the Oracle Access Manager Login Module&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For a Web application, the OC4J implementation to support Oracle Access Manager requires the login module CoreIDLoginModule, supplied by Oracle. The following template shows the general form of the configuration, in the system-jazn-data.xml file.&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/j2ee/CONTAINER_NAME/config/system-jazn-data.xml&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;application&amp;gt;&lt;br /&gt;  &amp;lt;name&amp;gt;callerinfo&amp;lt;/name&amp;gt;&lt;br /&gt;    &amp;lt;login-modules&amp;gt;&lt;br /&gt;      &amp;lt;login-module&amp;gt;&lt;br /&gt;         &amp;lt;class&amp;gt;oracle.security.jazn.login.module.coreid.CoreIDLoginModule&amp;lt;/class&amp;gt;&lt;br /&gt;           &amp;lt;control-flag&amp;gt;required&amp;lt;/control-flag&amp;gt;&lt;br /&gt;             &amp;lt;options&amp;gt;&lt;br /&gt;               &amp;lt;option&amp;gt;&lt;br /&gt;                 &amp;lt;name&amp;gt;coreid.password.attribute&amp;lt;/name&amp;gt;&lt;br /&gt;                 &amp;lt;value&amp;gt;&lt;span style="font-weight:bold;"&gt;password&lt;/span&gt;&amp;lt;/value&amp;gt;&lt;br /&gt;               &amp;lt;/option&amp;gt;&lt;br /&gt;               &amp;lt;option&amp;gt;&lt;br /&gt;                 &amp;lt;name&amp;gt;coreid.name.attribute&amp;lt;/name&amp;gt;&lt;br /&gt;                 &amp;lt;value&amp;gt;&lt;span style="font-weight:bold;"&gt;userid&lt;/span&gt;&amp;lt;/value&amp;gt;&lt;br /&gt;               &amp;lt;/option&amp;gt;&lt;br /&gt;               &amp;lt;option&amp;gt;&lt;br /&gt;                 &amp;lt;name&amp;gt;addAllRoles&amp;lt;/name&amp;gt;&lt;br /&gt;                 &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;br /&gt;               &amp;lt;/option&amp;gt;&lt;br /&gt;               &amp;lt;option&amp;gt;&lt;br /&gt;                 &amp;lt;name&amp;gt;coreid.resource.operation&amp;lt;/name&amp;gt;&lt;br /&gt;                 &amp;lt;value&amp;gt;&lt;span style="font-weight:bold;"&gt;MYRESOURCEOPERATION&lt;/span&gt;&amp;lt;/value&amp;gt;&lt;br /&gt;               &amp;lt;/option&amp;gt;&lt;br /&gt;               &amp;lt;option&amp;gt;&lt;br /&gt;                 &amp;lt;name&amp;gt;coreid.resource.type&amp;lt;/name&amp;gt;&lt;br /&gt;                 &amp;lt;value&amp;gt;&lt;span style="font-weight:bold;"&gt;myresourcetype&lt;/span&gt;&amp;lt;/value&amp;gt;&lt;br /&gt;               &amp;lt;/option&amp;gt;&lt;br /&gt;               &amp;lt;option&amp;gt;&lt;br /&gt;                 &amp;lt;name&amp;gt;coreid.resource.name&amp;lt;/name&amp;gt;&lt;br /&gt;                 &amp;lt;value&amp;gt;&lt;span style="font-weight:bold;"&gt;/myresourceurl&lt;/span&gt;&amp;lt;/value&amp;gt;&lt;br /&gt;               &amp;lt;/option&amp;gt;&lt;br /&gt;               &amp;lt;/options&amp;gt;&lt;br /&gt;            &amp;lt;/login-module&amp;gt;&lt;br /&gt;        &amp;lt;/login-modules&amp;gt;&lt;br /&gt;    &amp;lt;/application&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3.6 Test the application&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;WebGate will intercept this request and will check the authentication scheme for this URL. The configuration shown earlier in this chapter will result in the user being prompted with the login.html login form from "Create a Login Form". Then the following sequence will take place:&lt;br /&gt;&lt;br /&gt;1. WebGate will capture the user name and password from the login form and communicate to Access Server.&lt;br /&gt;2. Access Server will communicate to Oracle Internet Directory (or other LDAP repository that you use).&lt;br /&gt;3. After the user is authenticated, the Oracle Access Manager SSO token will be returned to WebGate.&lt;br /&gt;4. WebGate will set the ObSSOCookie and pass the cookie and other HTTP headers to mod_oc4j, which will route the request to the appropriate OC4J instance.&lt;br /&gt;5. OC4J will take the cookie and validate it, or retrieve roles for the user associated with this cookie from Access Server using the Access Manager SDK configured on OC4J.&lt;br /&gt;&lt;br /&gt;http://hostname:port/callerInfo&lt;br /&gt;&lt;br /&gt;Application:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1DZkSxdocDo/SczI8ukFFEI/AAAAAAAAAHQ/mIQebi0IYX8/s1600-h/oam14.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 124px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/SczI8ukFFEI/AAAAAAAAAHQ/mIQebi0IYX8/s400/oam14.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317846205634778178" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click on the link for managers: callerInfoB&lt;br /&gt;&lt;br /&gt;Login screen (login1.html):&lt;br /&gt;&lt;br /&gt;Login as manager/password&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/SczJFiFWlTI/AAAAAAAAAHY/09cITknCUsc/s1600-h/oam15.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 152px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SczJFiFWlTI/AAAAAAAAAHY/09cITknCUsc/s400/oam15.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317846356903499058" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Application shows roles:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_1DZkSxdocDo/SczJJHvdDKI/AAAAAAAAAHg/Kmz-XiPmlY4/s1600-h/oam16.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 116px;" src="http://4.bp.blogspot.com/_1DZkSxdocDo/SczJJHvdDKI/AAAAAAAAAHg/Kmz-XiPmlY4/s400/oam16.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317846418551803042" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Refers:&lt;br /&gt;http://download.oracle.com/docs/cd/B31017_01/web.1013/b28957/coreid.htm#BJEBJCCF&lt;br /&gt;&lt;br /&gt;Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-20372821678662661?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/20372821678662661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/coreidoracle-access-manager-form-based.html#comment-form' title='19 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/20372821678662661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/20372821678662661'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/coreidoracle-access-manager-form-based.html' title='Form-Based Authentication for J2EE application, Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_1DZkSxdocDo/ScpO2BQerQI/AAAAAAAAAFw/9qp7vK8pqTQ/s72-c/oam1.png' height='72' width='72'/><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-2243673804258156844</id><published>2009-03-23T15:08:00.005+01:00</published><updated>2009-06-24T16:59:12.497+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Access Manager'/><title type='text'>WebGate version and patches, Netpoint/Oblix/CoreId/Oracle Access Manager</title><content type='html'>It is possible to retrieve the version and patches for Oracle Access Manager components: &lt;br /&gt;&lt;br /&gt;For Access Server:&lt;br /&gt;Login on the web interface:&lt;br /&gt;http://hostname:portnumber/access/oblix&lt;br /&gt;&lt;br /&gt;Click on Access System Console link, log in with an administrator user, click on the about link in the upper right corner and then on the button View System Info.&lt;br /&gt;&lt;br /&gt;For WebGate&lt;br /&gt;Look in the directory $ACCESS_INSTALL_DIR/access/oblix/config there is an file npXX_wg.txt. In this file there is an Release entry with the patch number.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-2243673804258156844?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/2243673804258156844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/oam-access-server-webgate-version-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2243673804258156844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2243673804258156844'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/oam-access-server-webgate-version-and.html' title='WebGate version and patches, Netpoint/Oblix/CoreId/Oracle Access Manager'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3297017962759304357</id><published>2009-03-23T14:52:00.004+01:00</published><updated>2009-04-06T20:21:29.935+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Infrastructure 10.1.2'/><title type='text'>Command line deployment war file on Oracle Application Server 10.1.2</title><content type='html'>It is possible to deploy an war or ear file from the command line with an Oracle Application server 10.1.2.&lt;br /&gt;&lt;br /&gt;Deploy war file:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ORACLE_HOME/dcm/bin/dcmctl deployApplication -f filename.war -a "application name" -co oc4j_container -rc /contextroot&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Deploy ear file:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ORACLE_HOME/dcm/bin/dcmctl deployApplication -f filename.ear -a "application name" -co oc4j_container&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The application will not be visible in the em console. An restart of the em console solves the problem.&lt;br /&gt;&lt;br /&gt;emctl stop iasconsole&lt;br /&gt;emctl start iasconsole&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3297017962759304357?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3297017962759304357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/command-line-deployment-war-file-on.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3297017962759304357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3297017962759304357'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/command-line-deployment-war-file-on.html' title='Command line deployment war file on Oracle Application Server 10.1.2'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3222752302561544800</id><published>2009-03-20T17:04:00.006+01:00</published><updated>2009-05-27T09:02:13.041+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle HTTP Server (OHS)'/><title type='text'>ErrorDocument not working for Oracle HTTP Server with OC4J</title><content type='html'>When an application is deployed in an OC4J container sometimes ugly error messages are thrown in the browser (401 Unauthorised). Normally these messages can be formatted in $ORACLE_HOME/Apache/Apache/conf/httpd.conf with the ErrorDocument feature. But there is a bug in Oracle HTTP Server. This can be solved by adding the following line in $ORACLE_HOME/Apache/Apache/conf/mod_oc4j.conf&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;IfModule mod_oc4j.c&amp;gt;&lt;br /&gt;  Oc4jUseOHSErrors on&lt;br /&gt;&amp;lt;/IfModule&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And in httpd.conf:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;ErrorDocument 401 "You are not authorised to view this page.&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Metalink note: 560358.1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3222752302561544800?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3222752302561544800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/errordocument-not-working-for-oracle.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3222752302561544800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3222752302561544800'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/errordocument-not-working-for-oracle.html' title='ErrorDocument not working for Oracle HTTP Server with OC4J'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-9046004794877933912</id><published>2009-03-19T16:56:00.002+01:00</published><updated>2009-03-19T17:06:43.700+01:00</updated><title type='text'>Display cookie in an Browser session</title><content type='html'>It is possible to view the cookie in an browser. &lt;br /&gt;&lt;br /&gt;Type in the Address field: &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;javascript:alert(document.cookie)&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-9046004794877933912?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/9046004794877933912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/display-cookie-in-browser-session.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9046004794877933912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/9046004794877933912'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/display-cookie-in-browser-session.html' title='Display cookie in an Browser session'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-710430287762217618</id><published>2009-03-19T10:01:00.004+01:00</published><updated>2009-05-27T09:03:40.185+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle HTTP Server (OHS)'/><title type='text'>Obtain OHS version for Oracle Application Server</title><content type='html'>Metalink Note 260449.1 describes how to obtain the OHS version of an Oracle Application Server.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ORACLE_BASE/oraInventory/Components/oracle.apache.apache/directory-with-version&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-710430287762217618?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/710430287762217618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/obtain-ohs-version-for-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/710430287762217618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/710430287762217618'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/obtain-ohs-version-for-oracle.html' title='Obtain OHS version for Oracle Application Server'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-4821808508039009572</id><published>2009-03-11T18:15:00.003+01:00</published><updated>2009-04-06T20:21:29.936+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Infrastructure 10.1.2'/><title type='text'>bulkdelete OID entry with child leaves</title><content type='html'>There is a script bulkdelete which can be used in the Oracle Application Server Infrastructure $ORACLE_HOME/ldap/bin&lt;br /&gt;&lt;br /&gt;execute:&lt;br /&gt;&lt;br /&gt;bulkdelete connect=ORACLE_SID basedn="search base"&lt;br /&gt;&lt;br /&gt;Search base is de entry which must be delete.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-4821808508039009572?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/4821808508039009572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/bulkdelete-oid-entry-with-child-leaves.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4821808508039009572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/4821808508039009572'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/03/bulkdelete-oid-entry-with-child-leaves.html' title='bulkdelete OID entry with child leaves'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3993464690169176895</id><published>2009-02-17T12:06:00.005+01:00</published><updated>2009-04-06T20:19:41.894+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>OWSM manual installation</title><content type='html'>Create Database user orawsm:&lt;br /&gt;$INSTALL_DIR/install/soa_schemas/irca/sql/owsm&lt;br /&gt;&lt;br /&gt;sqlplus / as sysdba&lt;br /&gt;@createuser.sql  &lt;br /&gt;@loaddata.sql&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/owsm/bin/coresv.properties &lt;br /&gt;&lt;br /&gt;cd $ORACLE_HOME/owsm/bin&lt;br /&gt;wsmadmin.sh dataloadConfigure&lt;br /&gt;wsmadmin.sh dataload&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/owsm/bin/wsmadmin.sh deploy coreman&lt;br /&gt;$ORACLE_HOME/owsm/bin/wsmadmin.sh deploy gateway&lt;br /&gt;$ORACLE_HOME/owsm/bin/wsmadmin.sh deploy policymanager&lt;br /&gt;$ORACLE_HOME/owsm/bin/wsmadmin.sh deploy control&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3993464690169176895?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3993464690169176895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/02/owsm-manual-installation.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3993464690169176895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3993464690169176895'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/02/owsm-manual-installation.html' title='OWSM manual installation'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-8693486975657315778</id><published>2009-02-04T09:40:00.005+01:00</published><updated>2009-04-06T20:21:29.936+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Infrastructure 10.1.2'/><title type='text'>SSO Server Inactivity Timeout Configuration</title><content type='html'>SSO Server Inactivity Timeout Configuration can be achieved by running an sql script in the metadata repository:&lt;br /&gt;&lt;br /&gt;Go to the directory:&lt;br /&gt;$ORACLE_HOME/sso/admin/plsql/sso&lt;br /&gt;&lt;br /&gt;Open an SQL*Plus session as the orasso user (password can be found in oidadmin)&lt;br /&gt;sqlplus orasso&lt;br /&gt;&lt;br /&gt;Execute the sql script:&lt;br /&gt;@ssogito.sql&lt;br /&gt;&lt;br /&gt;Enter an domain for the cookie&lt;br /&gt;Enter an inactivity_period&lt;br /&gt;&lt;br /&gt;&lt;pre code&gt;&lt;br /&gt;SQL&gt; @ssogito.sql&lt;br /&gt;=============================================&lt;br /&gt;SSO Server Inactivity Timeout Configuration&lt;br /&gt;=============================================&lt;br /&gt;Timeout          : ENABLED&lt;br /&gt;Cookie name      : OSSO_USER_CTX&lt;br /&gt;Cookie domain    :&lt;br /&gt;Inactivity period: xx minutes&lt;br /&gt;Encryption key   : xxxxxxxxxxxxxxxxxx&lt;br /&gt;Note: timeout cookie domain will be defaulted&lt;br /&gt;to the SSO Server hostname&lt;br /&gt;-------------------------------------------&lt;br /&gt;To disable timeout set inactivity period&lt;br /&gt;to 0, (zero)&lt;br /&gt;Press return key twice if you do not want&lt;br /&gt;to change timeout configuration.&lt;br /&gt;&lt;br /&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;br /&gt;Enter value for timeout_cookie_domain: .xxxx.xx&lt;br /&gt;Enter value for inactivity_period: xx&lt;br /&gt;Timeout                  : ENABLED&lt;br /&gt;New timeout cookie domain: .xxxx.xx&lt;br /&gt;New inactivity period    : xx minutes&lt;br /&gt;&lt;br /&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;br /&gt;No errors.&lt;br /&gt;&lt;/pre code&gt;&lt;br /&gt;&lt;br /&gt;Restart HTTP_SERVER en OC4J_SECURITY &lt;br /&gt;&lt;pre code&gt;&lt;br /&gt;opmnctl restartproc process-type=HTTP_Server&lt;br /&gt;opmnctl restartproc process-type=OC4J_SECURITY&lt;br /&gt;&lt;/pre code&gt;&lt;br /&gt;&lt;br /&gt;In the portal the mod_osso.conf has to be changed:&lt;br /&gt;OssoIdleTimeout off change to OsseIdleTimeout on.&lt;br /&gt;&lt;br /&gt;Restart HTTP_SERVER&lt;br /&gt;&lt;pre code&gt;&lt;br /&gt;opmnctl restartproc process-type=HTTP_Server&lt;br /&gt;&lt;/pre code&gt;&lt;br /&gt;&lt;br /&gt;-&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-8693486975657315778?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/8693486975657315778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/02/sso-server-inactivity-timeout.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8693486975657315778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8693486975657315778'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/02/sso-server-inactivity-timeout.html' title='SSO Server Inactivity Timeout Configuration'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5818212489308115961</id><published>2009-02-04T09:13:00.004+01:00</published><updated>2009-02-04T09:38:36.750+01:00</updated><title type='text'>Import private key and certificate in Java keystore</title><content type='html'>It is not possible to import an existing private key for which an certificate is already made. But with the description on this website http://www.agentbob.info/agentbob/79-AB.html it is possible to do this.&lt;br /&gt;&lt;br /&gt;An summary of the contents:&lt;br /&gt;&lt;br /&gt;Convert key and certificate to PEM with openssl&lt;br /&gt;&lt;pre code&gt;&lt;br /&gt;openssl pkcs8 -topk8 -nocrypt -in key.pem -inform PEM -out key.der -outform DER&lt;br /&gt;openssl x509 -in cert.pem -inform PEM -out cert.der -outform DER&lt;br /&gt;&lt;/pre code&gt;&lt;br /&gt;&lt;br /&gt;With an java program ImportKey it is possible to create an new keystore with the private key in it. (java 1.5):&lt;br /&gt;&lt;br /&gt;Set the classpath to the directory where ImportKey is placed.&lt;br /&gt;&lt;br /&gt;&lt;pre code&gt;&lt;br /&gt;java ImportKey key.der cert.der&lt;br /&gt;Using keystore-file : /home/user/keystore.ImportKey&lt;br /&gt;One certificate, no chain.&lt;br /&gt;Key and certificate stored.&lt;br /&gt;Alias:importkey  Password:importkey&lt;br /&gt;&lt;/pre code&gt;&lt;br /&gt;&lt;br /&gt;This program creates an keystore named: /home/user/keystore.ImportKey. Now everything can be changed using the keytool:&lt;br /&gt;&lt;br /&gt;1. Rename keystore: with an mv or an cp&lt;br /&gt;2. Change password keystore: &lt;br /&gt;&lt;pre code&gt;&lt;br /&gt;keytool -keystore &lt;KEYSTORE_FILE_NAME&gt; –storepasswd &lt;br /&gt;Enter keystore password:  &lt;OUD STORE PASSWORD&gt;&lt;br /&gt;New keystore password: &lt;NEW STORE PASSWORD&gt;&lt;br /&gt;Re-enter new keystore password: &lt;NEW STORE PASSWORD&gt;&lt;br /&gt;&lt;/pre code&gt;&lt;br /&gt;&lt;br /&gt;3. Change password certificate: &lt;br /&gt;&lt;pre code&gt;&lt;br /&gt;keytool -keypasswd -keypass importkey -new &lt;NEW PASSWORD&gt; -alias importkey -keystore &lt;KEYSTORE_FILE_NAME&gt;&lt;br /&gt;&lt;/pre code&gt;&lt;br /&gt;&lt;br /&gt;4. Change alias importkey&lt;br /&gt;&lt;pre code&gt;&lt;br /&gt;keytool -keystore &lt;KEYSTORE_FILE_NAME&gt; -keyclone -alias importkey -dest &lt;NEW ALIAS&gt;&lt;br /&gt;Enter keystore password:  &lt;KEYSTORE PASSWORD&gt;&lt;br /&gt;Enter key password for &lt;NEW ALIAS&gt;&lt;br /&gt;        (RETURN if same as for &lt;importkey&gt;)&lt;NEW CERTIFICATE PASSWORD&gt;&lt;br /&gt;&lt;/pre code&gt;&lt;br /&gt;&lt;br /&gt;5. Delete old alias:&lt;br /&gt;&lt;pre code&gt;&lt;br /&gt;keytool -keystore &lt;KEYSTORE_FILE_NAME&gt; -delete -alias importkey&lt;br /&gt;&lt;/pre code&gt;&lt;br /&gt;&lt;br /&gt;Java code ImportKey program:&lt;br /&gt;&lt;pre code&gt;&lt;br /&gt;&lt;br /&gt;import java.security.*;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;import java.io.InputStream;&lt;br /&gt;import java.io.FileInputStream;&lt;br /&gt;import java.io.DataInputStream;&lt;br /&gt;import java.io.ByteArrayInputStream;&lt;br /&gt;import java.io.FileOutputStream;&lt;br /&gt;import java.security.spec.*;&lt;br /&gt;import java.security.cert.Certificate;&lt;br /&gt;import java.security.cert.CertificateFactory;&lt;br /&gt;import java.util.Collection;&lt;br /&gt;import java.util.Iterator;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt; * ImportKey.java&lt;br /&gt; *&lt;br /&gt; * &lt;p&gt;This class imports a key and a certificate into a keystore&lt;br /&gt; * (&lt;code&gt;$home/keystore.ImportKey&lt;/code&gt;). If the keystore is&lt;br /&gt; * already present, it is simply deleted. Both the key and the&lt;br /&gt; * certificate file must be in &lt;code&gt;DER&lt;/code&gt;-format. The key must be&lt;br /&gt; * encoded with &lt;code&gt;PKCS#8&lt;/code&gt;-format. The certificate must be&lt;br /&gt; * encoded in &lt;code&gt;X.509&lt;/code&gt;-format.&lt;/p&gt;&lt;br /&gt; *&lt;br /&gt; * &lt;p&gt;Key format:&lt;/p&gt;&lt;br /&gt; * &lt;p&gt;&lt;code&gt;openssl pkcs8 -topk8 -nocrypt -in YOUR.KEY -out YOUR.KEY.der&lt;br /&gt; * -outform der&lt;/code&gt;&lt;/p&gt;&lt;br /&gt; * &lt;p&gt;Format of the certificate:&lt;/p&gt;&lt;br /&gt; * &lt;p&gt;&lt;code&gt;openssl x509 -in YOUR.CERT -out YOUR.CERT.der -outform&lt;br /&gt; * der&lt;/code&gt;&lt;/p&gt;&lt;br /&gt; * &lt;p&gt;Import key and certificate:&lt;/p&gt;&lt;br /&gt; * &lt;p&gt;&lt;code&gt;java comu.ImportKey YOUR.KEY.der YOUR.CERT.der&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt; *&lt;br /&gt; * &lt;p&gt;&lt;em&gt;Caution:&lt;/em&gt; the old &lt;code&gt;keystore.ImportKey&lt;/code&gt;-file is&lt;br /&gt; * deleted and replaced with a keystore only containing &lt;code&gt;YOUR.KEY&lt;/code&gt;&lt;br /&gt; * and &lt;code&gt;YOUR.CERT&lt;/code&gt;. The keystore and the key has no password; &lt;br /&gt; * they can be set by the &lt;code&gt;keytool -keypasswd&lt;/code&gt;-command for setting&lt;br /&gt; * the key password, and the &lt;code&gt;keytool -storepasswd&lt;/code&gt;-command to set&lt;br /&gt; * the keystore password.&lt;br /&gt; * &lt;p&gt;The key and the certificate is stored under the alias&lt;br /&gt; * &lt;code&gt;importkey&lt;/code&gt;; to change this, use &lt;code&gt;keytool -keyclone&lt;/code&gt;.&lt;br /&gt; *&lt;br /&gt; * Created: Fri Apr 13 18:15:07 2001&lt;br /&gt; * Updated: Fri Apr 19 11:03:00 2002&lt;br /&gt; *&lt;br /&gt; * @author Joachim Karrer, Jens Carlberg&lt;br /&gt; * @version 1.1&lt;br /&gt; **/&lt;br /&gt;public class ImportKey  {&lt;br /&gt;    &lt;br /&gt;    /**&lt;br /&gt;     * &lt;p&gt;Creates an InputStream from a file, and fills it with the complete&lt;br /&gt;     * file. Thus, available() on the returned InputStream will return the&lt;br /&gt;     * full number of bytes the file contains&lt;/p&gt;&lt;br /&gt;     * @param fname The filename&lt;br /&gt;     * @return The filled InputStream&lt;br /&gt;     * @exception IOException, if the Streams couldn't be created.&lt;br /&gt;     **/&lt;br /&gt;    private static InputStream fullStream ( String fname ) throws IOException {&lt;br /&gt;        FileInputStream fis = new FileInputStream(fname);&lt;br /&gt;        DataInputStream dis = new DataInputStream(fis);&lt;br /&gt;        byte[] bytes = new byte[dis.available()];&lt;br /&gt;        dis.readFully(bytes);&lt;br /&gt;        ByteArrayInputStream bais = new ByteArrayInputStream(bytes);&lt;br /&gt;        return bais;&lt;br /&gt;    }&lt;br /&gt;        &lt;br /&gt;    /**&lt;br /&gt;     * &lt;p&gt;Takes two file names for a key and the certificate for the key, &lt;br /&gt;     * and imports those into a keystore. Optionally it takes an alias&lt;br /&gt;     * for the key.&lt;br /&gt;     * &lt;p&gt;The first argument is the filename for the key. The key should be&lt;br /&gt;     * in PKCS8-format.&lt;br /&gt;     * &lt;p&gt;The second argument is the filename for the certificate for the key.&lt;br /&gt;     * &lt;p&gt;If a third argument is given it is used as the alias. If missing,&lt;br /&gt;     * the key is imported with the alias importkey&lt;br /&gt;     * &lt;p&gt;The name of the keystore file can be controlled by setting&lt;br /&gt;     * the keystore property (java -Dkeystore=mykeystore). If no name&lt;br /&gt;     * is given, the file is named &lt;code&gt;keystore.ImportKey&lt;/code&gt;&lt;br /&gt;     * and placed in your home directory.&lt;br /&gt;     * @param args [0] Name of the key file, [1] Name of the certificate file&lt;br /&gt;     * [2] Alias for the key.&lt;br /&gt;     **/&lt;br /&gt;    public static void main ( String args[]) {&lt;br /&gt;        &lt;br /&gt;        // change this if you want another password by default&lt;br /&gt;        String keypass = "importkey";&lt;br /&gt;        &lt;br /&gt;        // change this if you want another alias by default&lt;br /&gt;        String defaultalias = "importkey";&lt;br /&gt;&lt;br /&gt;        // change this if you want another keystorefile by default&lt;br /&gt;        String keystorename = System.getProperty("keystore");&lt;br /&gt;&lt;br /&gt;        if (keystorename == null)&lt;br /&gt;            keystorename = System.getProperty("user.home")+&lt;br /&gt;                System.getProperty("file.separator")+&lt;br /&gt;                "keystore.ImportKey"; // especially this ;-)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        // parsing command line input&lt;br /&gt;        String keyfile = "";&lt;br /&gt;        String certfile = "";&lt;br /&gt;        if (args.length &lt; 2 || args.length&gt;3) {&lt;br /&gt;            System.out.println("Usage: java comu.ImportKey keyfile certfile [alias]");&lt;br /&gt;            System.exit(0);&lt;br /&gt;        } else {&lt;br /&gt;            keyfile = args[0];&lt;br /&gt;            certfile = args[1];&lt;br /&gt;            if (args.length&gt;2)&lt;br /&gt;                defaultalias = args[2];&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        try {&lt;br /&gt;            // initializing and clearing keystore &lt;br /&gt;            KeyStore ks = KeyStore.getInstance("JKS", "SUN");&lt;br /&gt;            ks.load( null , keypass.toCharArray());&lt;br /&gt;            System.out.println("Using keystore-file : "+keystorename);&lt;br /&gt;            ks.store(new FileOutputStream ( keystorename  ),&lt;br /&gt;                    keypass.toCharArray());&lt;br /&gt;            ks.load(new FileInputStream ( keystorename ),&lt;br /&gt;                    keypass.toCharArray());&lt;br /&gt;&lt;br /&gt;            // loading Key&lt;br /&gt;            InputStream fl = fullStream (keyfile);&lt;br /&gt;            byte[] key = new byte[fl.available()];&lt;br /&gt;            KeyFactory kf = KeyFactory.getInstance("RSA");&lt;br /&gt;            fl.read ( key, 0, fl.available() );&lt;br /&gt;            fl.close();&lt;br /&gt;            PKCS8EncodedKeySpec keysp = new PKCS8EncodedKeySpec ( key );&lt;br /&gt;            PrivateKey ff = kf.generatePrivate (keysp);&lt;br /&gt;&lt;br /&gt;            // loading CertificateChain&lt;br /&gt;            CertificateFactory cf = CertificateFactory.getInstance("X.509");&lt;br /&gt;            InputStream certstream = fullStream (certfile);&lt;br /&gt;&lt;br /&gt;            Collection c = cf.generateCertificates(certstream) ;&lt;br /&gt;            Certificate[] certs = new Certificate[c.toArray().length];&lt;br /&gt;&lt;br /&gt;            if (c.size() == 1) {&lt;br /&gt;                certstream = fullStream (certfile);&lt;br /&gt;                System.out.println("One certificate, no chain.");&lt;br /&gt;                Certificate cert = cf.generateCertificate(certstream) ;&lt;br /&gt;                certs[0] = cert;&lt;br /&gt;            } else {&lt;br /&gt;                System.out.println("Certificate chain length: "+c.size());&lt;br /&gt;                certs = (Certificate[])c.toArray();&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            // storing keystore&lt;br /&gt;            ks.setKeyEntry(defaultalias, ff, &lt;br /&gt;                           keypass.toCharArray(),&lt;br /&gt;                           certs );&lt;br /&gt;            System.out.println ("Key and certificate stored.");&lt;br /&gt;            System.out.println ("Alias:"+defaultalias+"  Password:"+keypass);&lt;br /&gt;            ks.store(new FileOutputStream ( keystorename ),&lt;br /&gt;                     keypass.toCharArray());&lt;br /&gt;        } catch (Exception ex) {&lt;br /&gt;            ex.printStackTrace();&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;}// KeyStore&lt;br /&gt;&lt;/pre code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5818212489308115961?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5818212489308115961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/02/import-private-key-and-certificate-in.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5818212489308115961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5818212489308115961'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2009/02/import-private-key-and-certificate-in.html' title='Import private key and certificate in Java keystore'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5344457538311852847</id><published>2008-11-21T15:23:00.008+01:00</published><updated>2008-11-25T17:21:57.692+01:00</updated><title type='text'>Create OC4J Groups and Containers from command line.</title><content type='html'>Create OC4J Groups and Containers from command line.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;$ORACLE_HOME/bin/createinstance –instanceName oc4j_foo -groupName foo_group&lt;br&gt;$ORACLE_HOME/bin/createinstance –instanceName BLUE –groupName COLORS&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Script:&lt;br /&gt;Create OC4J containers / OC4J Groups:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;if [ $# != 3 ];&lt;br /&gt;then&lt;br /&gt;  echo "Start op: $0 &lt;environment&gt; &lt;OC4J container&gt; &lt;OC4J group&gt;"&lt;br /&gt;  echo "If there is no group create the container for the default group."&lt;br /&gt;  exit 1&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;export ENV=${1}&lt;br /&gt;export OC4J_CONTAINER=${2}&lt;br /&gt;export OC4J_GROUP=${3}&lt;br /&gt;&lt;br /&gt;. ~/${ENV}&lt;br /&gt;$ORACLE_HOME/bin/createinstance -instanceName ${OC4J_CONTAINER} -groupName ${OC4J_GROUP}&lt;br /&gt;&lt;br /&gt;opmnctl startproc process-type=${OC4J_CONTAINER}&lt;br /&gt;&lt;br /&gt;exit 0&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Links:&lt;br /&gt;http://www.oracle.com/technology/tech/java/oc4j/1013/whitepapers/OC4J-FAQ-MGT-10131.pdf&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5344457538311852847?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5344457538311852847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/create-oc4j-groups-and-containers-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5344457538311852847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5344457538311852847'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/create-oc4j-groups-and-containers-from.html' title='Create OC4J Groups and Containers from command line.'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3390577439515800890</id><published>2008-11-21T15:17:00.003+01:00</published><updated>2009-04-06T20:19:41.895+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>Change oc4jadmin password</title><content type='html'>Change the password for the oc4jadmin user:&lt;br /&gt;&lt;br /&gt;The j2ee/home/jazn.jar utility can be used to change the password for the oc4jadmin user from the command line.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;cd j2ee/home&lt;br /&gt;java –jar jazn.jar –setpassword jazn.com oc4jadmin &lt;old_pwd&gt; &lt;new_pwd&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The password change can be immediately verified using jazn.jar&lt;br /&gt;&lt;pre&gt;&lt;code&gt;java -jar jazn.jar -checkpasswd jazn.com oc4jadmin -pw &lt;old_pwd&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Unsuccessful verification of user/password pair.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;java -jar jazn.jar -checkpasswd jazn.com oc4jadmin -pw &lt;new_pwd&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Successful verification of user/password pair.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3390577439515800890?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3390577439515800890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/change-oc4jadmin-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3390577439515800890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3390577439515800890'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/change-oc4jadmin-password.html' title='Change oc4jadmin password'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-7336900917370330048</id><published>2008-11-21T14:54:00.012+01:00</published><updated>2009-04-06T20:21:29.936+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Infrastructure 10.1.2'/><title type='text'>Shell scripts with admin.jar</title><content type='html'>&lt;strong&gt;I created an check uri shell script to test if the URI is correct:&lt;/strong&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;if [ $# != 2 ];&lt;br /&gt;then&lt;br /&gt;  echo "Start: $0 &lt;uri&gt; &lt;oc4jadmin password&gt;"&lt;br /&gt;  echo "Single instance: (deployer:oc4j:opmn://HOSTNAME:OPMN_REQUEST_PORT/OC4J_CONTAINER)"&lt;br /&gt;  echo "Cluster: (deployer:cluster:opmn://HOSTNAME:OPMN_REQUEST_PORT/OC4J_CONTAINER)"&lt;br /&gt;  exit 1&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;export URI=${1}&lt;br /&gt;export PASSWORD=${2}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;echo " ... checking the URI ..."&lt;br /&gt;$JAVA_HOME/bin/java -Djava.util.logging.config.file=logging.properties -jar  $ORACLE_HOME/j2ee/home/admin_client.jar ${URI} oc4jadmin ${PASSWORD} -validateURI&lt;br /&gt;exit 0&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Add Shared Libraries:&lt;/strong&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;if [ $# != 6 ];&lt;br /&gt;then&lt;br /&gt;  echo "Start op: $0 &lt;environment&gt; &lt;uri&gt; &lt;oc4jadmin password&gt; &lt;library name&gt; &lt;library version&gt; &lt;library sources&gt;"&lt;br /&gt;  echo "Example: "&lt;br /&gt;  echo "Single instance uri    : deployer:oc4j:opmn://HOSTNAME:PORT/CONTAINER_NAME"&lt;br /&gt;  echo "Cluster uri            : deployer:cluster:opmn://HOSTNAME:PORT/CONTAINER_NAME"&lt;br /&gt;  echo "Library sources        : 'path/source1.jar path/source2.jar'"&lt;br /&gt;  exit 1&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;export ENV=${1}&lt;br /&gt;export URI=${2}&lt;br /&gt;export PASSWORD=${3}&lt;br /&gt;export LIBRARY_NAME=${4}&lt;br /&gt;export LIBRARY_VERSION=${5}&lt;br /&gt;export LIBRARY_SOURCE=${6}&lt;br /&gt;&lt;br /&gt;. ~/${ENV}&lt;br /&gt;&lt;br /&gt;check_uri ${ENV} ${URI} ${PASSWORD}&lt;br /&gt;if [ $? == 0 ];&lt;br /&gt;then&lt;br /&gt;  $JAVA_HOME/bin/java -Djava.util.logging.config.file=logging.properties -jar $ORACLE_HOME/j2ee/home/admin_client.jar ${URI} oc4jadmin ${PASSWORD} -publishSharedLibrary -name ${LIBRARY_NAME} -version ${LIBRARY_VERSION} -installCodeSources ${LIBRARY_SOURCE}&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;exit 0&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Script to create datasources/connection pools:&lt;/strong&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;if [ $# != 8 ];&lt;br /&gt;then&lt;br /&gt;  echo "Start op: $0 &lt;environment&gt; &lt;uri&gt; &lt;oc4jadmin password&gt; &lt;name connectionpool&gt; &lt;name datasource&gt; &lt;db connect string&gt; &lt;db user&gt; &lt;db user password&gt;"&lt;br /&gt;  echo "Example: "&lt;br /&gt;  echo "Single instance uri    : deployer:oc4j:opmn://HOSTNAME:PORT/CONTAINER_NAME"&lt;br /&gt;  echo "Cluster uri            : deployer:cluster:opmn://HOSTNAME:PORT/CONTAINER_NAME"&lt;br /&gt;  echo "Database connect string: DATABASE_HOSTNAME:PORT:ORACLE_SID"&lt;br /&gt;  exit 1&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;export ENV=${1}&lt;br /&gt;export URI=${2}&lt;br /&gt;export PASSWORD=${3}&lt;br /&gt;export CONNECTION_POOL=${4}&lt;br /&gt;export DATASOURCE=${5}&lt;br /&gt;export DB=${6}&lt;br /&gt;export DB_USER=${7}&lt;br /&gt;export DB_PASSWORD=${8}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;. ~/${ENV}&lt;br /&gt;&lt;br /&gt;check_uri ${ENV} ${URI} ${PASSWORD}&lt;br /&gt;if [ $? == 0 ];&lt;br /&gt;then&lt;br /&gt;  echo " ...create connection pool ${CONNECTION_POOL} ..."&lt;br /&gt;  $JAVA_HOME/bin/java -Djava.util.logging.config.file=logging.properties -jar $ORACLE_HOME/j2ee/home/admin_client.jar ${URI} oc4jadmin ${PASSWORD}  -addDataSourceConnectionPool -name ${CONNECTION_POOL} -factoryClass oracle.jdbc.pool.OracleDataSource -dbUser ${DB_USER} -dbPassword ${DB_PASSWORD} -url jdbc:oracle:thin:@${DB}&lt;br /&gt;&lt;br /&gt;  echo " ...create managed data source ${DATASOURCE} ..."&lt;br /&gt;  $JAVA_HOME/bin/java -Djava.util.logging.config.file=logging.properties -jar $ORACLE_HOME/j2ee/home/admin_client.jar ${URI} oc4jadmin ${PASSWORD}  -addManagedDataSource -name ${DATASOURCE} -jndiLocation jdbc/${CONNECTION_POOL} -connectionPoolName ${CONNECTION_POOL}&lt;br /&gt;&lt;br /&gt;  echo " ... Test managed data source ${DATASOURCE} ..."&lt;br /&gt;  $JAVA_HOME/bin/java -Djava.util.logging.config.file=logging.properties -jar $ORACLE_HOME/j2ee/home/admin_client.jar ${URI} oc4jadmin ${PASSWORD}  -testDataSourceConnectionPool -name ${CONNECTION_POOL} -sqlStatement "select * from dual"&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;exit 0&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-7336900917370330048?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/7336900917370330048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/shell-scripts-with-adminjar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7336900917370330048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7336900917370330048'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/shell-scripts-with-adminjar.html' title='Shell scripts with admin.jar'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-6734845414101604690</id><published>2008-11-20T14:38:00.002+01:00</published><updated>2009-04-06T20:21:29.937+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Infrastructure 10.1.2'/><title type='text'>Check if OID is accessible from database</title><content type='html'>With this SQL script it is possible to check if the OID is accessible from the database server:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;set serverout on&lt;br /&gt;DECLARE&lt;br /&gt;retval PLS_INTEGER;&lt;br /&gt;my_session DBMS_LDAP.session;&lt;br /&gt;BEGIN&lt;br /&gt;my_session := DBMS_LDAP.init('HOSTNAME','PORT');&lt;br /&gt;retval := DBMS_LDAP.open_ssl(my_session, null, null, 1);&lt;br /&gt;dbms_output.put_line('open_ssl returns: '|| to_char(retval));&lt;br /&gt;retval := DBMS_LDAP.simple_bind_s(my_session,'cn=orcladmin','');&lt;br /&gt;dbms_output.put_line('simple_bind_s returns: '|| to_char(retval));&lt;br /&gt;retval := DBMS_LDAP.unbind_s(my_session);&lt;br /&gt;dbms_output.put_line('unbind_s returns: '|| to_char(retval));&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-6734845414101604690?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/6734845414101604690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/check-if-oid-is-accessible-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6734845414101604690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/6734845414101604690'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/check-if-oid-is-accessible-from.html' title='Check if OID is accessible from database'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5495826072730666039</id><published>2008-11-18T09:30:00.005+01:00</published><updated>2009-04-06T20:21:29.937+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Infrastructure 10.1.2'/><title type='text'>Unlock account orcladmin</title><content type='html'>Unlock the orcladmin account when it is locked:&lt;br /&gt;LDAP: ERROR CODE 49 - PASSWORD POLICY ERROR :9000: GSL_PWDEXPIRED_EXCP &lt;br /&gt;&lt;pre&gt;&lt;code&gt;cd $ORACLE_HOME/bin&lt;br&gt;./oidpasswd connect={METADATAREPOSITORY SID} unlock_su_acct=true&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;OID DB user password:&lt;br /&gt;OID super user account unlocked successfully.&lt;br /&gt;&lt;br /&gt;This unlocks the OID Super User account, cn=orcladmin ONLY. Do not confuse this account&lt;br&gt;with the default realm administrator "cn=orcladmin,cn=users,dc=xxxxx,dc=yyyyy". They are &lt;br&gt;two separate accounts. After resetting the orcladmin super user account, you will still &lt;br&gt;not be able to login to SSO using the orcladmin account until you perform the next step.&lt;br&gt; &lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5495826072730666039?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5495826072730666039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/unlock-account-orcladmin.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5495826072730666039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5495826072730666039'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/unlock-account-orcladmin.html' title='Unlock account orcladmin'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-2254919612099862613</id><published>2008-11-17T10:13:00.007+01:00</published><updated>2008-11-17T10:25:13.079+01:00</updated><title type='text'>Shell script to clean up log files Oracle Application Server</title><content type='html'>This is an example of a shell script to clean up log files in an Oracle Application Server. Use at your own risk :)&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;#################################################################&lt;br /&gt;# Author   : Arjan Goos                                         #&lt;br /&gt;# Date     : 03-06-2008                                         #&lt;br /&gt;#                                                               #&lt;br /&gt;# Purpose  : Clean log files Oracle Application Server          #&lt;br /&gt;#                                                               #&lt;br /&gt;# History  :                                                    #&lt;br /&gt;# --------------------------------------------------------------#&lt;br /&gt;# Date         |Author      |Description                        #&lt;br /&gt;# --------------------------------------------------------------#&lt;br /&gt;# 03-06-2008   |Arjan Goos  |Creation                           #&lt;br /&gt;#                                                               #&lt;br /&gt;#################################################################&lt;br /&gt;SCRIPT=`basename $0`&lt;br /&gt;SCRIPT_PATH="/oracle/scripts/as/clean_log"&lt;br /&gt;HOST_NAME=`hostname`&lt;br /&gt;&lt;br /&gt;DATE=`date "+%d-%m-%y"`&lt;br /&gt;STATUS_FILE=$SCRIPT_PATH/log/status-$&amp;#123;SCRIPT&amp;#125;_$&amp;#123;HOST_NAME&amp;#125;_$&amp;#123;DATE&amp;#125;.txt&lt;br /&gt;&lt;br /&gt;MAILADRES="test@test.nl"&lt;br /&gt;DU_TOTAL=0&lt;br /&gt;&lt;br /&gt;mail_logfile()&lt;br /&gt;&amp;#123;&lt;br /&gt; mail -s "Clean log files $HOST_NAME - Oracle home: $ORACLE_HOME - ( $DATE )" $MAILADRES &amp;#60; $STATUS_FILE&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;disk_usages_dir()&lt;br /&gt;&amp;#123;&lt;br /&gt;  DUH=`du -hc | grep -i total | awk -F"total" '&amp;#123; print $1 &amp;#125;'`&lt;br /&gt;  DIR=`pwd`&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;disk_usages_home()&lt;br /&gt;&amp;#123;&lt;br /&gt;  DU_HOME=`du -c | grep -i total | awk -F"total" '&amp;#123; print $1 &amp;#125;'`&lt;br /&gt;  DU_HOME=`expr $DU_HOME / 1024`&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;clean_apache()&lt;br /&gt;&amp;#123;&lt;br /&gt;  echo "            Start Clean Up Apache logging"                   &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo ""                                                            &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  cd $ORACLE_HOME/Apache/Apache/logs&lt;br /&gt;  disk_usages_dir&lt;br /&gt;  echo "                Disk Usages in $DIR before $SCRIPT: $DUH."   &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  FILE="*_log.*"&lt;br /&gt;  echo "                These log files are removed:"                &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  for LOG_FILE in `find ./ -name "$FILE" -mtime +"$TIME" -print 2&gt;&amp;1`&lt;br /&gt;  do&lt;br /&gt;    echo "                $LOG_FILE"                                 &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    rm $LOG_FILE&lt;br /&gt;  done&lt;br /&gt;  disk_usages_dir&lt;br /&gt;  echo "                Disk Usages in $DIR after $SCRIPT:  $DUH."   &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo ""                                                            &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo "            Ready Clean Up Apache logging"                   &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo ""                                                            &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;clean_application_server_control()&lt;br /&gt;&amp;#123;&lt;br /&gt;  echo "            Start Clean Up Application Server Control"       &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo ""                                                            &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  cd $ORACLE_HOME/opmn/logs                                          &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  disk_usages_dir&lt;br /&gt;  echo "                Disk Usages in $DIR before $SCRIPT: $DUH."   &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  # Rotate log files&lt;br /&gt;  FILE="*.log*"&lt;br /&gt;  rotate_files&lt;br /&gt;  # Delete old rotated log files&lt;br /&gt;  delete_files&lt;br /&gt;  disk_usages_dir&lt;br /&gt;  echo "                Disk Usages in $DIR after $SCRIPT:  $DUH."   &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo ""                                                            &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo "            Ready Clean Up Application Server Control"       &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo ""                                                            &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;clean_oc4j_instances()&lt;br /&gt;&amp;#123;&lt;br /&gt;  echo "            Start Clean Up OC4J Instances"                   &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo ""                                                            &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  cd $ORACLE_HOME/j2ee                                               &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  # Get all oc4j_instances from the opmn.xml&lt;br /&gt;  for OC4J_INSTANCE in `grep -i module-id=\"OC4J\" $ORACLE_HOME/opmn/conf/opmn.xml | awk -F'&amp;#60;process-type id=' '&amp;#123; print $2 &amp;#125;' | awk -F" " '&amp;#123; print $1 &amp;#125;' | sed 's/\"//g'`&lt;br /&gt;  do&lt;br /&gt;    echo "              Start OC4J_CONTAINER: $OC4J_INSTANCE."       &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    cd $OC4J_INSTANCE/log&lt;br /&gt;    disk_usages_dir&lt;br /&gt;    echo "                Disk Usages in $DIR before $SCRIPT: $DUH." &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    # Rotate log files&lt;br /&gt;    FILE="*.log"&lt;br /&gt;    rotate_files&lt;br /&gt;    # Delete old rotated log files&lt;br /&gt;    delete_files&lt;br /&gt;    disk_usages_dir&lt;br /&gt;    echo "                Disk Usages in $DIR after $SCRIPT:  $DUH." &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    cd - &gt; /dev/null&lt;br /&gt;    echo "              Ready OC4J_CONTAINER: $OC4J_INSTANCE."       &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo ""                                                          &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  done&lt;br /&gt;  echo ""                                                            &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo "            Ready Clean Up OC4J Instances"                   &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo ""                                                            &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;clean_webcache()&lt;br /&gt;&amp;#123;&lt;br /&gt;  if [ -d $ORACLE_HOME/webcache/log ];&lt;br /&gt;  then&lt;br /&gt;    echo "          Start Clean Up WebCache"                         &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo ""                                                          &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    cd $ORACLE_HOME/webcache/log                                     &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    disk_usages_dir&lt;br /&gt;    echo "              Disk Usages in $DIR before $SCRIPT: $DUH."   &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    # Rotate log files&lt;br /&gt;    FILE="*_log"&lt;br /&gt;    rotate_files&lt;br /&gt;    # Delete old rotated log files&lt;br /&gt;    delete_files&lt;br /&gt;    disk_usages_dir&lt;br /&gt;    echo "              Disk Usages in $DIR after $SCRIPT:  $DUH."   &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo ""                                                          &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo "          Ready Clean Up WebCache"                         &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo ""                                                          &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  fi&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;rotate_files()&lt;br /&gt;&amp;#123;&lt;br /&gt;  #This function rotates the log files when the file is bigger than $ROTATE_SIZE&lt;br /&gt;  echo "                These files are rotated: " &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  for LOG_FILE in `find ./ -name "$FILE" -size +"$ROTATE_SIZE" -print | grep -v "archive" 2&gt;&amp;1`&lt;br /&gt;  do&lt;br /&gt;    #echo "cp $LOG_FILE $LOG_FILE.archive.$DATE"&lt;br /&gt;    echo "                $LOG_FILE to $LOG_FILE.archive.$DATE"      &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    cp $LOG_FILE $LOG_FILE.archive.$DATE&lt;br /&gt;    cp /dev/null $LOG_FILE&lt;br /&gt;  done&lt;br /&gt;  echo ""                                                            &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;delete_files()&lt;br /&gt;&amp;#123;&lt;br /&gt;  #This function removes the rotated log files when the file is older than $TIME&lt;br /&gt;  FILE="*.archive.*"&lt;br /&gt;  echo "                These archive files are removed:"            &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  for LOG_FILE in `find ./ -name "$FILE" -mtime +"$TIME" -print 2&gt;&amp;1`&lt;br /&gt;  do&lt;br /&gt;    echo "                   $LOG_FILE"                              &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    rm $LOG_FILE&lt;br /&gt;  done&lt;br /&gt;  echo "" &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;find_large_log_files()&lt;br /&gt;&amp;#123;&lt;br /&gt;  cd $ORACLE_HOME&lt;br /&gt;  echo ""                                                                                                                         &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo "             Overview big remaining log files (manual action required):"                                                  &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo ""&lt;br /&gt;  echo "             These *.log files are in the $ORACLE_HOME with a size larger than $ROTATE_SIZE and older than $TIME day(s)." &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  find ./ -name "*log*" -size +"2048k" -mtime +"$TIME" -exec ls -lh &amp;#123;&amp;#125; \; | awk '&amp;#123; print "             " $9 "  size: " $5 &amp;#125;'      &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  echo ""                                                                                                                         &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;&amp;#125;&lt;br /&gt;cd $SCRIPT_PATH&lt;br /&gt;#MAIN&lt;br /&gt;if [ $# != 1 ];&lt;br /&gt;then&lt;br /&gt;  echo "Start op: $0 &amp;#60;files older than DATE&gt;"&lt;br /&gt;  exit 1&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;#ORACLE_HOME=$1&lt;br /&gt;TIME=$1&lt;br /&gt;#Files bigger than 2 Mb are rotated&lt;br /&gt;ROTATE_SIZE="2048k"&lt;br /&gt;#ROTATE_SIZE="10k"&lt;br /&gt;&lt;br /&gt;clear&lt;br /&gt;echo "Start of the $SCRIPT on `date`: $HOST_NAME."       &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;echo ""                                                  &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;&lt;br /&gt;for ORACLE_HOME in `cat /etc/oratab | grep -v "^#" | grep -v "^agent" | awk -F":" '&amp;#123; print $2 &amp;#125;'`&lt;br /&gt;do&lt;br /&gt;  if [ -n $&amp;#123;ORACLE_HOME&amp;#125; ];&lt;br /&gt;  then&lt;br /&gt;    echo "    Start Oracle Home: $ORACLE_HOME."          &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    cd $ORACLE_HOME&lt;br /&gt;    disk_usages_home&lt;br /&gt;    echo ""                                              &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    ### MAIN PROG&lt;br /&gt;    ### Apache log&lt;br /&gt;    clean_apache&lt;br /&gt;    ### Application Server Control logs&lt;br /&gt;    clean_application_server_control&lt;br /&gt;    ### OC4J instances&lt;br /&gt;    clean_oc4j_instances&lt;br /&gt;    ### Webcache&lt;br /&gt;    clean_webcache&lt;br /&gt;    #TO_DO&lt;br /&gt;    #application specific logging&lt;br /&gt;    find_large_log_files&lt;br /&gt;    echo ""                                              &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo "        Total Disk Usage $ORACLE_HOME before $SCRIPT    : $DU_HOME MB."  &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    DU_HOME_START=$DU_HOME&lt;br /&gt;    disk_usages_home&lt;br /&gt;    DU_HOME_STOP=$DU_HOME&lt;br /&gt;    echo "        Total Disk Usage $ORACLE_HOME after $SCRIPT     : $DU_HOME MB."  &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo ""                                             &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo "        Total Cleared Disk Space $ORACLE_HOME by $SCRIPT:    `expr $DU_HOME_START - $DU_HOME_STOP` MB." &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo ""                                             &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo "    Ready Oracle Home: $ORACLE_HOME."         &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo ""                                             &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;    echo ""                                             &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;  fi&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;echo ""                                                 &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;echo "Ready of the $SCRIPT on `date`"                   &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;echo ""                                                 &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;echo ""                                                 &amp;gt;&amp;gt; $STATUS_FILE&lt;br /&gt;mail_logfile&lt;br /&gt;exit 0&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-2254919612099862613?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/2254919612099862613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/shell-script-to-clean-up-log-files.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2254919612099862613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/2254919612099862613'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/shell-script-to-clean-up-log-files.html' title='Shell script to clean up log files Oracle Application Server'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3889082407666528938</id><published>2008-11-17T08:58:00.004+01:00</published><updated>2009-04-06T20:19:41.896+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>Error in BPELAdmin and BPELConsole</title><content type='html'>An error occures when you try to access the BPELAdmin or BPELConsole: &lt;br /&gt;http://HOSTNAME:PORT/BPELConsole/default/index.jsp and &lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_1DZkSxdocDo/SSElvwi4uoI/AAAAAAAAADU/w7RRiLRxzg8/s1600-h/bpelconsoleerror.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 272px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SSElvwi4uoI/AAAAAAAAADU/w7RRiLRxzg8/s400/bpelconsoleerror.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5269534541415496322" /&gt;&lt;/a&gt;&lt;br /&gt;Error:&lt;br /&gt;[java.lang.NoSuchMethodException]&lt;br /&gt;com.collaxa.cube.ejb.impl.FinderBean.tryLookupInstanceByReferenceId(java.lang.String, com.oracle.bpel.client.auth.DomainAuth)&lt;br /&gt;http://HOSTNAME:PORT/BPELAdmin/domains.jsp&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_1DZkSxdocDo/SSEl3KRKLWI/AAAAAAAAADc/9kwZhVB1scc/s1600-h/bpeladminerror.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 161px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/SSEl3KRKLWI/AAAAAAAAADc/9kwZhVB1scc/s400/bpeladminerror.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5269534668579548514" /&gt;&lt;/a&gt;&lt;br /&gt;Error:&lt;br /&gt;com.collaxa.cube.ejb.impl.FinderBean.tryLookupInstanceByReferenceId&lt;br /&gt;&lt;br /&gt;On Oracle Metalink this error is solved: note: 471035.1&lt;br /&gt;There has been a problem with the orabpel.ear file in some environments. The issue&lt;br /&gt;can be verified by checking the size of the orabpel.ear files in the the following locations&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/bpel/system/services/lib&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/j2ee/oc4j_soa/applications &lt;br /&gt;&lt;br /&gt;If only one of them is of size 2530260 bytes, then you have hit upon the cause for this issue in your environment.&lt;br /&gt;&lt;br /&gt;Solution&lt;br /&gt;Copy the orabpel.ear from $ORACLE_HOME/bpel/system/services/lib (the one that is of size 2530260 bytes) to the location&lt;br /&gt;$ORACLE_HOME/j2ee/oc4j_soa/applications (to replace the one that is not 2530260 bytes) and restart.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3889082407666528938?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3889082407666528938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/error-in-bpeladmin-and-bpelconsole.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3889082407666528938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3889082407666528938'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/error-in-bpeladmin-and-bpelconsole.html' title='Error in BPELAdmin and BPELConsole'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_1DZkSxdocDo/SSElvwi4uoI/AAAAAAAAADU/w7RRiLRxzg8/s72-c/bpelconsoleerror.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-149115751453250294</id><published>2008-11-17T08:19:00.005+01:00</published><updated>2008-11-17T08:50:12.077+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>Designtime cache has not been initialized</title><content type='html'>This is a generic error in the ESB Control GUI.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_1DZkSxdocDo/SSEb7DVVZNI/AAAAAAAAADM/yLNbFn1WPiw/s1600-h/designtime1.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 300px; height: 176px;" src="http://1.bp.blogspot.com/_1DZkSxdocDo/SSEb7DVVZNI/AAAAAAAAADM/yLNbFn1WPiw/s400/designtime1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5269523740321211602" /&gt;&lt;/a&gt;&lt;br /&gt;More information about this error can be found in the logging of the OC4J container in which the esb-dt application is deployed (default: $ORACLE_HOME/opmn/logs/default_group~oc4j_soa~default_group~1.log) or in the log.xml of the application esb-dt (default: $ORACLE_HOME/j2ee/oc4j_soa/log/oc4j_soa_default_group_1/oc4j/log.xml).&lt;br /&gt;&lt;br /&gt;Reason 1:&lt;br /&gt;The connection to the database can not be made:&lt;br /&gt;Warning: Unable to set up connection factory for a resource adapter in esb-rt: Error creating a ResourceAdapter implementation class. Error creating a JavaBean of class 'oracle.tip.esb.server.bootstrap.RuntimeResourceAdapter: javax.resource.spi.ResourceAdapterInternalException: java.lang.RuntimeException: failed to get ESB_HOME: java.lang.NullPointerException&lt;br /&gt;&lt;br /&gt;Check your datasources in the Application Server Control&lt;br /&gt;&lt;br /&gt;Reason 2:&lt;br /&gt;The dehydration store tables are not filled with the correct data. If an virtual hostname is used check if the hostname is accessible on the correct port number. &lt;br /&gt;There are several checks which can be executed:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;ping hostname&lt;br&gt;telnet hostname port&lt;br&gt;nslookup ip address&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;There are two tables which must be checked: ORAESB.ESB_PARAMETERS and ORAESB.WF_AGENTS. I created an sql query that can be used:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;set feedback off;&lt;br /&gt;set heading off;&lt;br /&gt;set pages 0;&lt;br /&gt;set linesize 500;&lt;br /&gt;select 'param_name: '||param_name, 'param_value: '||param_value from esb_parameter;&lt;br /&gt;select 'queue_name: '||queue_name, 'name: '||name, 'tcf_jndi: '||tcf_jndi from wf_agents;&lt;br /&gt;exit;&lt;/pre&gt;&lt;/code&gt;This should be the output:&lt;pre&gt;&lt;code&gt;param_name: PROP_NAME_MONITOR_TOPIC_JNDI&lt;br /&gt;param_value: ESBTopics/Topics/ESB_MONITOR&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_ERROR_XATCF_JNDI&lt;br /&gt;param_value: OracleOJMS/XATCF&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_ERROR_RETRY_JNDI&lt;br /&gt;param_value: ESBTopics/Topics/ESB_ERROR_RETRY&lt;br /&gt;&lt;br /&gt;param_name: DT_OC4J_HTTP_PORT&lt;br /&gt;param_value: &lt;strong&gt;VIRTUAL PORT NUMBER&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_CONTROL_TCF_JNDI&lt;br /&gt;param_value: OracleOJMS/XATCF&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_DEFERRED_TOPIC_JNDI&lt;br /&gt;param_value: ESBTopics/Topics/ESB_JAVA_DEFERRED&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_MONITOR_TCF_JNDI&lt;br /&gt;param_value: OracleOJMS/TCF&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_ERROR_TOPIC_JNDI&lt;br /&gt;param_value: ESBTopics/Topics/ESB_ERROR&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_INITIAL_CONTEXT_FACTORY&lt;br /&gt;param_value: com.evermind.server.rmi.RMIInitialContextFactory&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_ERROR_TCF_JNDI&lt;br /&gt;param_value: OracleOJMS/TCF&lt;br /&gt;&lt;br /&gt;param_name: ACT_ID_RANGE&lt;br /&gt;param_value: 400&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_CONTROL_TOPIC_JNDI&lt;br /&gt;param_value: ESBTopics/Topics/ESB_CONTROL&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_DEFERRED_TCF_JNDI&lt;br /&gt;param_value: OracleOJMS/TCF&lt;br /&gt;&lt;br /&gt;param_name: DT_OC4J_HOST&lt;br /&gt;param_value: &lt;strong&gt;VIRTUAL HOSTNAME&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_DEFERRED_XATCF_JNDI&lt;br /&gt;param_value: OracleOJMS/XATCF&lt;br /&gt;&lt;br /&gt;param_name: PROP_NAME_ERROR_RETRY_TCF_JNDI&lt;br /&gt;param_value: OracleOJMS/XATCF&lt;br /&gt;&lt;br /&gt;SQL&gt; queue_name: ESBTopics/Topics/ESB_JAVA_DEFERRED&lt;br /&gt;name: ESBTopics/Topics/ESB_JAVA_DEFERRED&lt;br /&gt;tcf_jndi: OracleOJMS/XATCF&lt;br /&gt;&lt;br /&gt;queue_name: ESBTopics/Topics/ESB_JAVA_DEFERRED&lt;br /&gt;name: ESBTopics/Topics/ESB_JAVA_DEFERRED&lt;br /&gt;tcf_jndi: OracleOJMS/XATCF&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Reason 3:&lt;br /&gt;Apache.commons.logging must be removed from the orion-application.xml&lt;br /&gt;&lt;br /&gt;In the file: $ORACLE_HOME/j2ee/oc4j_soa/application-deployments/esb-dt/orion-application.xml and in the file $ORACLE_HOME/j2ee/oc4j_soa/applications/esb-dt/META-INF/orion-application.xml a line must be added:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;remove-inherited name="apache.commons.logging"&amp;#47;&amp;gt;&lt;/pre&gt;&lt;/code&gt; After this change the container must be restarted. &lt;pre&gt;&lt;code&gt;opmnctl restartproc process-type=oc4j_soa&lt;/pre&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-149115751453250294?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/149115751453250294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/designtime-cache-has-not-been.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/149115751453250294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/149115751453250294'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/designtime-cache-has-not-been.html' title='Designtime cache has not been initialized'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_1DZkSxdocDo/SSEb7DVVZNI/AAAAAAAAADM/yLNbFn1WPiw/s72-c/designtime1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-7604375315127244634</id><published>2008-11-17T08:09:00.003+01:00</published><updated>2008-11-17T08:18:38.832+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>Rename system0 ESB system</title><content type='html'>When you create an ESB system in the GUI ESB Controle this system has the default name system0. This can be changed by clicking on this name.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_1DZkSxdocDo/SSEawZ2QRTI/AAAAAAAAADE/sqFzTQ8LnSo/s1600-h/esb_system0.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 75px;" src="http://1.bp.blogspot.com/_1DZkSxdocDo/SSEawZ2QRTI/AAAAAAAAADE/sqFzTQ8LnSo/s400/esb_system0.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5269522457874679090" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-7604375315127244634?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/7604375315127244634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/rename-system0-esb-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7604375315127244634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/7604375315127244634'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/rename-system0-esb-system.html' title='Rename system0 ESB system'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_1DZkSxdocDo/SSEawZ2QRTI/AAAAAAAAADE/sqFzTQ8LnSo/s72-c/esb_system0.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-5887071731252610162</id><published>2008-11-14T13:05:00.019+01:00</published><updated>2009-03-20T10:35:49.251+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Portal 10.1.4'/><title type='text'>Export/Import Portal</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Export Existing Portal Page Groups:&lt;/span&gt;&lt;br /&gt;First an export must be prepared in GUI of Portal, click on one of the login links to login with the portal user:&lt;br /&gt;http://{HOSTNAME}:{PORT}/portal/page/portal&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/SR1u5kNBEvI/AAAAAAAAAB8/bURQrwvUuOY/s1600-h/portal1.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 253px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SR1u5kNBEvI/AAAAAAAAAB8/bURQrwvUuOY/s400/portal1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268489074343219954" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the link navigator:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_1DZkSxdocDo/SR1u_SOXqpI/AAAAAAAAACE/GJfnh1v5gRU/s1600-h/portal2.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 270px; height: 83px;" src="http://4.bp.blogspot.com/_1DZkSxdocDo/SR1u_SOXqpI/AAAAAAAAACE/GJfnh1v5gRU/s400/portal2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268489172596271762" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the link export of every page group you want to export. In my case Export_portal_test&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_1DZkSxdocDo/SR1vC4sFg-I/AAAAAAAAACM/pvxM6C9YfBU/s1600-h/portal3.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 54px;" src="http://4.bp.blogspot.com/_1DZkSxdocDo/SR1vC4sFg-I/AAAAAAAAACM/pvxM6C9YfBU/s400/portal3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268489234461066210" /&gt;&lt;/a&gt;&lt;br /&gt;If this is the first page group you want to export you can make a new export set, if this is not the first page group you can add the page group to an existing page group.&lt;br /&gt;Click on the next button:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/SR1vGDkrMjI/AAAAAAAAACU/vgy6Q7rGId4/s1600-h/portal4.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 164px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SR1vGDkrMjI/AAAAAAAAACU/vgy6Q7rGId4/s400/portal4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268489288922378802" /&gt;&lt;/a&gt;&lt;br /&gt;Choose if you want to export extern objects, if you want this, select the objects and click the button Add to transportset.&lt;br /&gt;When this is the only page group you want to export you can click the button Export Now. If you want to export more page groups you can save the export set for later use (button Save For Later).&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1DZkSxdocDo/SR1vJteAsVI/AAAAAAAAACc/x4uIR4PPGIA/s1600-h/portal5.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 258px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/SR1vJteAsVI/AAAAAAAAACc/x4uIR4PPGIA/s400/portal5.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268489351708324178" /&gt;&lt;/a&gt;&lt;br /&gt;Now you see a screen with a link to the log file of the process making the export ready. This export fills a couple of tables with information about your page groups. An script is generated that can be used to make a database export of these tables.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_1DZkSxdocDo/SR1vNMutCYI/AAAAAAAAACk/9llqt6gSJVo/s1600-h/portal6.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 144px;" src="http://1.bp.blogspot.com/_1DZkSxdocDo/SR1vNMutCYI/AAAAAAAAACk/9llqt6gSJVo/s400/portal6.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268489411639445890" /&gt;&lt;/a&gt;&lt;br /&gt;Copy the contents of this script to file on a linux server and make this file executable &lt;pre&gt;&lt;code&gt;chmod 700 exp_portal.sh&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Now we can make an export of the portal tables which contain the page group export information. The Oracle SID is the database which hosts the portal metadata repository. First set the environment variables of the database:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;. oraenv&lt;br&gt;ORACLE_SID = [oracle] ? [type the ORACLE SID]&lt;br&gt;./exp_portal.sh -mode export -s portal -p xxxxxxx -c $ORACLE_SID -d portal_dump.dmp&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;The portal password can be found in the OID. This script creates an database dump file: portal_dump.dmp. This file can be imported in another portal metadata repository database.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Import Portal Page Groups:&lt;/span&gt;&lt;br /&gt;Copy the export script (created by portal) and the dump file which is created during execution of the export script to the database server which hosts the portal metadata repository where the page group should be imported to.&lt;br /&gt;&lt;br /&gt;Execute the script to import the database dump in the other metadata repository like this: &lt;pre&gt;&lt;code&gt;. oraenv&lt;br&gt;ORACLE_SID = [oracle] ? [type the ORACLE SID]&lt;br&gt;./exp_portal.sh -mode import -s portal -p xxxxxx -pu portal -pp yyyyy -company none -c $ORACLE_SID -d portal_dump.dmp&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;The first password (xxxxxx) is for the portal user in the database, the second password (yyyyy)is from the portal user this password is given during installation of the Portal Application Server (same as orcladmin). &lt;br /&gt;&lt;br /&gt;Now we can process the page group export in the portal. Log in on the portal builder click on one of the login links to login with the portal user:&lt;br /&gt;http://{HOSTNAME}:{PORT}/portal/page/portal&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/SR1u5kNBEvI/AAAAAAAAAB8/bURQrwvUuOY/s1600-h/portal1.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 253px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SR1u5kNBEvI/AAAAAAAAAB8/bURQrwvUuOY/s400/portal1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268489074343219954" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the tab Administer:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_1DZkSxdocDo/SR13PXV4itI/AAAAAAAAACs/77w2Fxd2GbM/s1600-h/portal7.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 277px; height: 94px;" src="http://1.bp.blogspot.com/_1DZkSxdocDo/SR13PXV4itI/AAAAAAAAACs/77w2Fxd2GbM/s400/portal7.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268498244940892882" /&gt;&lt;/a&gt;&lt;br /&gt;Now you can Browse Transport Sets in the portlet: Export/Import Transport Set there is a small button next to the import button:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/SR134FbnzqI/AAAAAAAAAC0/Sx99k8ip2sM/s1600-h/portal8.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 250px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SR134FbnzqI/AAAAAAAAAC0/Sx99k8ip2sM/s400/portal8.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268498944507760290" /&gt;&lt;/a&gt;&lt;br /&gt;Select the transport set you want to import and click on the button Import.&lt;br /&gt;&lt;br /&gt;It is also possible to do it with a shell script: $ORACLE_HOME/portal/admin/plsql/wwu/opeasst.csh&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For more information:&lt;br /&gt;http://download-uk.oracle.com/docs/cd/B10464_05/portal.904/b13675/cg_imex.htm#i1022009&lt;br /&gt;&lt;br /&gt;metalink note: 306785.1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-5887071731252610162?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/5887071731252610162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/exportimport-portal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5887071731252610162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/5887071731252610162'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/exportimport-portal.html' title='Export/Import Portal'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_1DZkSxdocDo/SR1u5kNBEvI/AAAAAAAAAB8/bURQrwvUuOY/s72-c/portal1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-618055670748299354</id><published>2008-11-14T12:10:00.009+01:00</published><updated>2008-11-14T14:23:13.738+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>Change default password bpeladmin: Oracle BPELAdmin (10.1.3.3)</title><content type='html'>Go to the Application Server Enterprise manager and login with oc4jadmin user. Click on  the container where the orabpel application is deployed in my case oc4j_soa:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1DZkSxdocDo/SR1jUesWvbI/AAAAAAAAAA8/BZOTs_xM3-s/s1600-h/bpeladmin1.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 249px;" src="http://3.bp.blogspot.com/_1DZkSxdocDo/SR1jUesWvbI/AAAAAAAAAA8/BZOTs_xM3-s/s400/bpeladmin1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268476342580985266" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the Administration link:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_1DZkSxdocDo/SR1lXfUcE2I/AAAAAAAAABE/gxgbWh_EqQ4/s1600-h/bpeladmin2.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 102px;" src="http://1.bp.blogspot.com/_1DZkSxdocDo/SR1lXfUcE2I/AAAAAAAAABE/gxgbWh_EqQ4/s400/bpeladmin2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268478593311970146" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the “Go To” icon behind Security Providers:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1DZkSxdocDo/SR1mYZz9vvI/AAAAAAAAABc/9l_xAvRSjj8/s1600-h/bpeladmin3.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 23px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/SR1mYZz9vvI/AAAAAAAAABc/9l_xAvRSjj8/s400/bpeladmin3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268479708525084402" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the button Instance Level Security:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1DZkSxdocDo/SR1lw56_R7I/AAAAAAAAABM/Bc2ufJhAj1c/s1600-h/bpeladmin4.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 40px;" src="http://2.bp.blogspot.com/_1DZkSxdocDo/SR1lw56_R7I/AAAAAAAAABM/Bc2ufJhAj1c/s400/bpeladmin4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268479029949712306" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the link Realms and on the link under users:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_1DZkSxdocDo/SR1mw-WSZiI/AAAAAAAAABk/LSg1z48obIs/s1600-h/bpeladmin5.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 118px;" src="http://1.bp.blogspot.com/_1DZkSxdocDo/SR1mw-WSZiI/AAAAAAAAABk/LSg1z48obIs/s400/bpeladmin5.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268480130649581090" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the link bpeladmin:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_1DZkSxdocDo/SR1nTc83P3I/AAAAAAAAABs/PXllhUGU6ag/s1600-h/bpeladmin6.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 11px;" src="http://4.bp.blogspot.com/_1DZkSxdocDo/SR1nTc83P3I/AAAAAAAAABs/PXllhUGU6ag/s400/bpeladmin6.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268480722979995506" /&gt;&lt;/a&gt;&lt;br /&gt;Change the passwords and click on the Apply button:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_1DZkSxdocDo/SR1ngCZRs5I/AAAAAAAAAB0/IPxwCgjpTP0/s1600-h/bpeladmin7.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 152px;" src="http://1.bp.blogspot.com/_1DZkSxdocDo/SR1ngCZRs5I/AAAAAAAAAB0/IPxwCgjpTP0/s400/bpeladmin7.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5268480939189711762" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-618055670748299354?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/618055670748299354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/change-default-password-bpeladmin.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/618055670748299354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/618055670748299354'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/change-default-password-bpeladmin.html' title='Change default password bpeladmin: Oracle BPELAdmin (10.1.3.3)'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_1DZkSxdocDo/SR1jUesWvbI/AAAAAAAAAA8/BZOTs_xM3-s/s72-c/bpeladmin1.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-8263949872017686968</id><published>2008-11-14T11:20:00.010+01:00</published><updated>2008-11-14T14:23:39.053+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SOA 10.1.3.3'/><title type='text'>Change default password admin OWSM: Oracle Web Service Manager (10.1.3.3):</title><content type='html'>There is no GUI availible to change passwords of the Oracle Web Service Manager&lt;br /&gt;Change the file manageUserGroups.properties first make a copy:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;cd $ORACLE_HOME/owsm/bin&lt;br&gt;cp manageUserGroups.properties manageUserGroups.properties.org&lt;br&gt;vi manageUserGroups.properties&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Contents of the file:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;#============== Recommendation =======================&lt;br /&gt;#Since all passwords property values, db_password, user_password&lt;br /&gt;#are in clear text, for security reason, we recommend those values&lt;br /&gt;#be deleted right after the use of command-line user/group management&lt;br /&gt;#tool (manageusergroups.xml) and not be kept in this file.&lt;br /&gt;&lt;br /&gt;#============== Provide your Database Connection Properties below&lt;br /&gt;# Sample DB Connection Values&lt;br /&gt;#db_url=jdbc:oracle:thin:@//{HOSTNAME_DATABASE}:{PORT}/{ORACLE_SID}&lt;br /&gt;#db_driver=oracle.jdbc.driver.OracleDriver&lt;br /&gt;#db_user=ORAWSM&lt;br /&gt;#db_password=xxxxxxxxxxxxxxxxxxxxxxxx&lt;br /&gt;&lt;br /&gt;db_url=jdbc:oracle:thin:@//{HOSTNAME_DATABASE}:{PORT}/{ORACLE_SID}&lt;br /&gt;db_driver=oracle.jdbc.driver.OracleDriver&lt;br /&gt;db_user=ORAWSM&lt;br /&gt;db_password=xxxxxxxxxxxxxxxxxxxxxxxx&lt;br /&gt;&lt;br /&gt;#============== User Parameters&lt;br /&gt;# Sample User Values&lt;br /&gt;#user_id=ctang&lt;br /&gt;#user_name=Administrator&lt;br /&gt;#user_password=mypasswrod&lt;br /&gt;#user_email=admin@admin.com&lt;br /&gt;&lt;br /&gt;#user_id=&lt;br /&gt;#user_name=&lt;br /&gt;#user_password=&lt;br /&gt;#user_email=&lt;br /&gt;&lt;br /&gt;user_id=admin&lt;br /&gt;user_name=admin user&lt;br /&gt;user_password=&lt;b&gt;{PASSWORD}&lt;/b&gt;&lt;br /&gt;user_email=wsmadmin@xxxx.xxx&lt;br /&gt;&lt;br /&gt;group_id=su1-grp&lt;br /&gt;group_desc=super user group&lt;br /&gt;&lt;br /&gt;#============== Group Parameters&lt;br /&gt;# Sample Group Values&lt;br /&gt;#group_id=IT-INFR&lt;br /&gt;#group_desc=IT Infrastructure&lt;br /&gt;&lt;br /&gt;#group_id=&lt;br /&gt;#group_desc=&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Change the {PASSWORD} value with the new password.&lt;br&gt;&lt;br /&gt;Remove the old admin user and the group to which the user belongs&lt;br&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;cd $ORACLE_HOME/owsm/bin&lt;br&gt;./wsmadmin.sh manageUserGroups deleteUserGroup&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;build&gt;&lt;br /&gt;Buildfile: $ORACLE_HOME/owsm/bin/../scripts/manageusergroups.xml&lt;br /&gt;set-classpath-oracle:&lt;br /&gt;     [echo] Setting Oracle Classpath&lt;br /&gt;&lt;br /&gt;manage-del-user-group:&lt;br /&gt;     [java] SUCCESS : Mapping between user "admin" and Group "su1-grp" successfully deleted from database.&lt;br /&gt;&lt;br /&gt;BUILD SUCCESSFUL&lt;br /&gt;Total time: 1 second&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Delete the user:&lt;br&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;./wsmadmin.sh manageUserGroups deleteUser&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Output:&lt;br&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;Buildfile: $ORACLE_HOME/owsm/bin/../scripts/manageusergroups.xml&lt;br /&gt;&lt;br /&gt;set-classpath-oracle:&lt;br /&gt;     [echo] Setting Oracle Classpath&lt;br /&gt;&lt;br /&gt;manage-del-user:&lt;br /&gt;     [java] SUCCESS : User "admin" successfully deleted from database.&lt;br /&gt;&lt;br /&gt;BUILD SUCCESSFUL&lt;br /&gt;Total time: 1 second&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Create new user:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;cd $ORACLE_HOME/owsm/bin&lt;br&gt;./wsmadmin.sh manageUserGroups addUser&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Buildfile: $ORACLE_HOME/owsm/bin/../scripts/manageusergroups.xml&lt;br /&gt;&lt;br /&gt;set-classpath-oracle:&lt;br /&gt;     [echo] Setting Oracle Classpath&lt;br /&gt;&lt;br /&gt;manage-add-user:&lt;br /&gt;     [java] SUCCESS : User "admin" successfully added into database.&lt;br /&gt;&lt;br /&gt;BUILD SUCCESSFUL&lt;br /&gt;Total time: 1 second&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Create an usergroup and add the admin user to this group.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;./wsmadmin.sh manageUserGroups addUserGroup&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Buildfile: $ORACLE_HOME/owsm/bin/../scripts/manageusergroups.xml&lt;br /&gt;&lt;br /&gt;set-classpath-oracle:&lt;br /&gt;     [echo] Setting Oracle Classpath&lt;br /&gt;&lt;br /&gt;manage-add-user-group:&lt;br /&gt;     [java] SUCCESS : Mapping between user "admin" and group "su1-grp" successfully added into the database.&lt;br /&gt;&lt;br /&gt;BUILD SUCCESSFUL&lt;br /&gt;Total time: 1 second&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;For more information Metalink note: 428513.1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-8263949872017686968?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/8263949872017686968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/oracle-web-service-manager-10133-change.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8263949872017686968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/8263949872017686968'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/oracle-web-service-manager-10133-change.html' title='Change default password admin OWSM: Oracle Web Service Manager (10.1.3.3):'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2447545383063131991.post-3524773920283070376</id><published>2008-11-14T09:43:00.007+01:00</published><updated>2008-11-14T14:24:05.931+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle RDBMS 10.2.0.4'/><title type='text'>Change Database Name and ID</title><content type='html'>Changing the DBID and Database Name is possible since version 9.2.0.&lt;br /&gt;&lt;br /&gt;The following steps describe how to change the DBID of a database. Optionally, you can change the database name as well.&lt;br /&gt;1. Ensure that you have a recoverable whole database backup.&lt;br /&gt;2. Ensure that the target database is mounted but not open, and that it was shut down consistently prior to mounting. &lt;br /&gt;For example:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;SHUTDOWN IMMEDIATE;&lt;br&gt;STARTUP MOUNT;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;3. Invoke the DBNEWID utility on the command line, specifying a valid user with the SYSDBA privilege. &lt;br /&gt;For example:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;nid TARGET=SYS/oracle@test_db&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;To change the database name in addition to the DBID, specify the DBNAME parameter. This example changes the name to test_db2:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;nid TARGET=SYS/oracle@test DBNAME=test_db2&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;The DBNEWID utility performs validations in the headers of the datafiles and control files before attempting I/O to the files. If validation is successful, then DBNEWID prompts you to confirm the operation (unless you specify a log file, in which case it does not prompt), changes the DBID for each datafile (including offline normal and read-only datafiles), and then exits. The database is left mounted but is not yet usable. &lt;br /&gt;For example:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;DBNEWID: Release 9.2.0.1.0&lt;br&gt;(c) Copyright 2002 Oracle Corporation.  All rights reserved.&lt;br&gt;Connected to database TEST_DB (DBID=3942195360)&lt;br&gt;Control Files in database:&lt;br&gt;/oracle/dbs/cf1.f&lt;br&gt;/oracle/dbs/cf2.f&lt;br&gt;Change database id of database SOLARIS? (Y/[N]) =&gt; y&lt;br&gt;   Proceeding with operation&lt;br&gt;   Datafile oracle/dbs/tbs_01.f - changed&lt;br&gt;   Datafile /oracle/dbs/tbs_02.f - changed&lt;br&gt;   Datafile /oracle/dbs/tbs_11.f - changed&lt;br&gt;   Datafile /oracle/dbs/tbs_12.f - changed&lt;br&gt;   Datafile /oracle/dbs/tbs_21.f - changed&lt;br&gt;New DBID for database TEST_DB is 3942196782.&lt;br&gt;All previous backups and archived redo logs for this database are unusable&lt;br&gt;Proceed to shutdown database and open with RESETLOGS option.&lt;br&gt; DBNEWID - Database changed.&lt;br&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;If validation is not successful, then DBNEWID terminates and leaves the target database intact. You can open the database, fix the error, and then either resume the DBNEWID operation or continue using the database without changing its DBID.&lt;br&gt; &lt;br /&gt;4. After DBNEWID successfully changes the DBID, shut down the database:&lt;br&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;SHUTDOWN IMMEDIATE;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;5. Mount the database. For example:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;STARTUP MOUNT&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;6. Open the database in RESETLOGS mode and resume normal use. For example:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;ALTER DATABASE OPEN RESETLOGS;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Make a new database backup. Because you reset the online redo logs, the old backups and archived logs are no longer usable in the current incarnation of the database.&lt;br /&gt;&lt;br /&gt;Changing Only the Database Name&lt;br /&gt;&lt;br /&gt;The following steps describe how to change the database name without changing the DBID.&lt;br /&gt;1. Ensure that you have a recoverable whole database backup.&lt;br /&gt;2. Ensure that the target database is mounted but not open, and that it was shut down&lt;br /&gt;consistently prior to mounting. For example:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;SHUTDOWN IMMEDIATE;&lt;br&gt;STARTUP MOUNT;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;3. Invoke the utility on the command line, specifying a valid user with the SYSDBA privilege. You must specify both the DBNAME and SETNAME parameters. This example changes the name to test_db2:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;nid TARGET=SYS/oracle@test_db DBNAME=test_db2 SETNAME=YES&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;DBNEWID performs validations in the headers of the control files (not the datafiles) before attempting I/O to the files. If validation is successful, then DBNEWID prompts for confirmation, changes the database name in the control files, and exits. After DBNEWID completes successfully, the database is left mounted but is not yet usable.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;DBNEWID: Release 9.2.0.1.0&lt;br&gt;(c) Copyright 2002 Oracle Corporation.  All rights reserved.&lt;br&gt;Connected to database TEST_DB (DBID=3942196782)&lt;br&gt;Control Files in database:&lt;br&gt;/oracle/dbs/cf1.f&lt;br&gt;/oracle/dbs/cf2.f&lt;br&gt;Change database name of database TEST_DB to TEST_DB2? (Y/[N]) =&gt; Y&lt;br&gt;&lt;br&gt;Proceeding with operation&lt;br&gt;&lt;br&gt;&lt;br /&gt;Database name changed from TEST_DB to TEST_DB2 - database needs to be shutdown.&lt;br&gt;&lt;br /&gt;Modify parameter file and generate a new password file before restarting.&lt;br&gt;DBNEWID - Successfully changed database name&lt;br&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;If validation is not successful, then DBNEWID terminates and leaves the target  database intact. You can open the database, fix the error, and then either resume the DBNEWID operation or continue using the database without changing the database name.&lt;br /&gt;4. Shut down the database. For example:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;SHUTDOWN IMMEDIATE;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;5. Set the DB_NAME initialization parameter in the initialization parameter file to the new database name.&lt;br /&gt;6. Create a new password file.&lt;br /&gt;7. Start up the database and resume normal use. For example:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;STARTUP;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;Reference: http://download.oracle.com/docs/cd/B10500_01/server.920/a96652/ch14.htm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2447545383063131991-3524773920283070376?l=knowledge-oracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://knowledge-oracle.blogspot.com/feeds/3524773920283070376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/change-database-name-and-id.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3524773920283070376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2447545383063131991/posts/default/3524773920283070376'/><link rel='alternate' type='text/html' href='http://knowledge-oracle.blogspot.com/2008/11/change-database-name-and-id.html' title='Change Database Name and ID'/><author><name>Arjan Goos</name><uri>http://www.blogger.com/profile/04234695404025210237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_1DZkSxdocDo/SFtrCGGEILI/AAAAAAAAAAY/mqoGUMtNl4U/S220/DSC01016.JPG'/></author><thr:total>0</thr:total></entry></feed>
