{"id":196,"date":"2007-10-23T14:39:27","date_gmt":"2007-10-23T18:39:27","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/"},"modified":"2007-10-25T05:20:31","modified_gmt":"2007-10-25T09:20:31","slug":"troubleshooting-oracle-portal-sso-ohs-webcache-oas","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/","title":{"rendered":"Troubleshooting Oracle Portal SSO OHS Webcache OAS"},"content":{"rendered":"<p goog_docs_charIndex=\"27\"><strong>Oracle Portal <\/strong>is part of Oracle Application Server which is part of Oracle Fusion Middle-ware product. In today&#8217;s post I am going to cover how to troubleshoot Oracle Portal Issues including Web Cache, Oracle HTTP Server or\u00a0OC4J_Portal.<\/p>\n<p>\u00a0To know more about Oracle Application Server (OAS) visit\u00a0<\/p>\n<li><a target=\"_blank\" href=\"https:\/\/onlineappsdba.com\/index.php\/2006\/10\/30\/installing-10g-application-server-fusion-middleware\/\">Installing Oracle Application Server 10g OAS<\/a><\/li>\n<li><a target=\"_blank\" href=\"https:\/\/onlineappsdba.com\/index.php\/2006\/11\/20\/startup-shutdown-application-server-bounce-services\/\">Start\/Stop 10g Oracle Application Server OAS<\/a><br \/>\n\u00a0\u00a0<br \/>\n1. First thing to check for trouble shooting to check if all components for Oracle Portal are up and running<br \/>\n&#8211; Database\u00a0 (on Infra Tier)<br goog_docs_charIndex=\"284\" \/>&#8211; Database listener (on Infra Tier)<br goog_docs_charIndex=\"320\" \/>&#8211; OID (Component OID on Infra tier)<br goog_docs_charIndex=\"356\" \/>&#8211; SSO (HTTP_Server &amp; OC4J_Security on Infra Tier)<br goog_docs_charIndex=\"406\" \/>&#8211; Portal (HTTP_Server, Web-Cache and OC4J_Portal on Middle Tier)<\/p>\n<p goog_docs_charIndex=\"471\">* HTTP_Server on middle tier is different from HTTP_Server on Infra tier (later is used for Single Sign-On)<\/p>\n<p>Once you are sure that all services are up &amp; running now follow below procedure<\/p>\n<p>2. <strong>Check Web Cache<\/strong> &#8211; When User type URL for Oracle Portal which is of format <a goog_docs_charIndex=\"728\" href=\"http:\/\/hostname.domainname:port\/pls\/portal\">http:\/\/hostname.domainname:port\/pls\/portal<\/a>\u00a0request first hits web-cache(<strong>$ORACLE_HOME\/webcache<\/strong>) on middle tier. So check if request is hitting till web-cache by checking <strong>$ORACLE_HOME\/webcache\/access_log\u00a0\u00a0 <\/strong>, access_log will record any request coming to web cache.\u00a0 \u00a0<\/p>\n<p>For any issues on Web Cache check $ORACLE_HOME\/webcache\/<strong>event<\/strong>_<strong>log . <\/strong>If you don&#8217;t see request in access_log in under $OH\/webcache\/logs directory, check firewall or load balancer configuration (If Load Balancer is configured)<br \/>\n<br goog_docs_charIndex=\"823\" \/><strong>3. Check OHS &#8211; <\/strong>Oracle HTTP Server -&gt; \u00a0Web-cache then forward this request to Origin Server which is listening on\u00a0different port (usually one higher than Web Cache Listen Port). This request is against recorded in <strong>access_log<\/strong> but this time access_log of OHS which is under <strong>$ORACLE_HOME\/Apache\/Apache\/logs\/<\/strong>\u00a0 so check if you see request coming from web cache to OHS.<br \/>\n\u00a0 For any issues in OHS check logs at <strong>error_log<\/strong> &amp; <strong>error_log_pls<\/strong> in above directory.<br \/>\n<br goog_docs_charIndex=\"921\" \/><strong>4. OHS\u00a0mod_rewrite -&gt; <\/strong>Oracle HTTP Server (OHS) checks in httpd.conf to see where <strong>\/pls\/portal<\/strong> maps. In <strong>httpd.conf<\/strong> there is redirect rule\u00a0which\u00a0redirect any \/pls\/portal to \/portal\/.. like (<strong>RewriteRule (^\/pls\/portal$) \/portal$1 [PT]<\/strong>) so request\u00a0to HTTP Server (Apache Server) internally changes to \/portal..<br \/>\n<br goog_docs_charIndex=\"1219\" \/><strong>5. OHS to OC4J_Portal-&gt; <\/strong>Apache again try to find where \/portal maps which is defined in file ($ORACLE_HOME\/Apache\/Apache\/conf\/mod_oc4j.conf ) entry like<br \/>\n<br goog_docs_charIndex=\"1354\" \/><strong>\u00a0\u00a0\u00a0 Oc4jMount \/portal OC4J_Portal<br goog_docs_charIndex=\"1388\" \/>\u00a0\u00a0\u00a0 Oc4jMount \/portal\/* OC4J_Portal<\/strong><strong>which means request will hit be served by OC4J_Portal\u00a0hence OHS forwards request to OC4J_Portal<\/p>\n<p><\/strong>6. <strong>OC4J_Portal<\/strong> then goes to database and pulls out various portion of page (header, footer, sidebar &#8211; depending on how you user has defined portal page) from database.<\/p>\n<p>For any\u00a0issues in OC4J_Portal check logs at <strong>$ORACLE_HOME\/j2ee\/OC4J_Portal\/application-deployments\/portal\/<br \/>\nOC4J_Portal_default_island_1\/application.log<br goog_docs_charIndex=\"2091\" \/><\/strong>and<br \/>\n<strong>$ORACLE_HOME\/j2ee\/OC4J_Portal\/log\/<br \/>\n<\/strong><strong>OC4J_Portal_default_island_1\/server.log<\/strong>\u00a0<br goog_docs_charIndex=\"1651\" \/><br \/>\n7. Parallel Page Engine (PPE) component in OC4J then assemble this page and return it back to user.<\/li>\n<li>If any page requested by user is protected then Portal will redirect it to Single Sign-On HTTP Server which is another Oracle HTTP Server on Infrastructure Tier.\n<p><strong>Stay tuned for process flow in Oracle Single Sign-On and steps on how to troubleshoot Oracle Single Sign-On Issues &#8230;..<\/strong><\/li>\n","protected":false},"excerpt":{"rendered":"<p>Oracle Portal is part of Oracle Application Server which is part of Oracle Fusion Middle-ware product. In today&#8217;s post I [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[100,42],"tags":[],"class_list":["post-196","post","type-post","status-publish","format-standard","hentry","category-portal","category-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Troubleshooting Oracle Portal SSO OHS Webcache OAS -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Troubleshooting Oracle Portal SSO OHS Webcache OAS -\" \/>\n<meta property=\"og:description\" content=\"Oracle Portal is part of Oracle Application Server which is part of Oracle Fusion Middle-ware product. In today&#8217;s post I [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/\" \/>\n<meta property=\"article:published_time\" content=\"2007-10-23T18:39:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2007-10-25T09:20:31+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/\",\"name\":\"Troubleshooting Oracle Portal SSO OHS Webcache OAS -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2007-10-23T18:39:27+00:00\",\"dateModified\":\"2007-10-25T09:20:31+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Troubleshooting Oracle Portal SSO OHS Webcache OAS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Troubleshooting Oracle Portal SSO OHS Webcache OAS -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/","og_locale":"en_US","og_type":"article","og_title":"Troubleshooting Oracle Portal SSO OHS Webcache OAS -","og_description":"Oracle Portal is part of Oracle Application Server which is part of Oracle Fusion Middle-ware product. In today&#8217;s post I [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/","article_published_time":"2007-10-23T18:39:27+00:00","article_modified_time":"2007-10-25T09:20:31+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/","url":"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/","name":"Troubleshooting Oracle Portal SSO OHS Webcache OAS -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2007-10-23T18:39:27+00:00","dateModified":"2007-10-25T09:20:31+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/23\/troubleshooting-oracle-portal-sso-ohs-webcache-oas\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Troubleshooting Oracle Portal SSO OHS Webcache OAS"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=196"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/196\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}