{"id":2323,"date":"2011-02-10T15:39:16","date_gmt":"2011-02-10T19:39:16","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/"},"modified":"2011-02-10T15:40:59","modified_gmt":"2011-02-10T19:40:59","slug":"localhost6021-connection-refused-recurring-in-oam-system","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/","title":{"rendered":"&#8220;localhost:6021: Connection refused&#8221; recurring in OAM system"},"content":{"rendered":"<p>The\u00a0 OAM components such as Identity server and Access Server are running on ports 6034 and 6035 respectively in my environment. As everyone know that port 6021 will be used for Access Server in general. So, if you are using a different port and configured Access Server flush in Identity Server, then you may witness the error &#8220;<!--[if gte mso 9]&amp;gt;     Normal   0               false   false   false      EN-US   X-NONE   X-NONE                                                     MicrosoftInternetExplorer4                                                   &amp;lt;![endif]--><!--[if gte mso 9]&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                &amp;lt;![endif]--><!--[if gte mso 10]&amp;gt;   \/* Style Definitions *\/  table.MsoNormalTable \t{mso-style-name:\"Table Normal\"; \tmso-tstyle-rowband-size:0; \tmso-tstyle-colband-size:0; \tmso-style-noshow:yes; \tmso-style-priority:99; \tmso-style-qformat:yes; \tmso-style-parent:\"\"; \tmso-padding-alt:0in 5.4pt 0in 5.4pt; \tmso-para-margin-top:0in; \tmso-para-margin-right:0in; \tmso-para-margin-bottom:10.0pt; \tmso-para-margin-left:0in; \tline-height:115%; \tmso-pagination:widow-orphan; \tfont-size:11.0pt; \tfont-family:\"Calibri\",\"sans-serif\"; \tmso-ascii-font-family:Calibri; \tmso-ascii-theme-font:minor-latin; \tmso-fareast-font-family:\"Times New Roman\"; \tmso-fareast-theme-font:minor-fareast; \tmso-hansi-font-family:Calibri; \tmso-hansi-theme-font:minor-latin;}  &amp;lt;![endif]-->localhost:6021: Connection refused&#8221; in your OAM machine.<\/p>\n<p>To know more about configuring automatic Access Server flush in OAM, refer this <a href=\"http:\/\/talkidentity.blogspot.com\/2010\/02\/oracle-access-manager-cache-flush-issue.html\">post<\/a>.<\/p>\n<p>You can see the port 6021 in the ObAccessClient.xml.<\/p>\n<p>All I changed is the parameter <strong>doAccessServerFlush <\/strong>to true present in the file <strong>baseddbparams.xml <\/strong>in the location IdentityServer\/oblix\/data\/common and bounced the identity server.\u00a0 However that was not just enough to do Automatic Access Server flush.<\/p>\n<p>Few additional steps required are:<\/p>\n<p>1. Create a dummy Access Gate in OAM Access Console without specifying any port. Associate it with an access server.<\/p>\n<p>2. Run the configureAccessGate command present in the location \/identity\/AccessServerSDK\/oblix\/tools\/configureAccessGate pointing to point to the dummy Access gate created.<\/p>\n<p>3. Check the port in ObAccessClient.xml. You should see actual Access Server port instead of 6021.<\/p>\n<p>4. Restart identity server.<\/p>\n<p>That&#8217;s it. You will not see the error &#8220;localhost:6021: Connection refused&#8221; anymore.<\/p>\n<p><strong>Helpful Docs:<\/strong><\/p>\n<p><a href=\"http:\/\/download.oracle.com\/docs\/cd\/E10761_01\/doc\/oam.1014\/e10353\/caching.htm#BCGJIECI\">Oracle\u00a0 documentation<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The\u00a0 OAM components such as Identity server and Access Server are running on ports 6034 and 6035 respectively in my [&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":[42],"tags":[29,466],"class_list":["post-2323","post","type-post","status-publish","format-standard","hentry","category-troubleshooting","tag-oam","tag-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>&quot;localhost:6021: Connection refused&quot; recurring in OAM system -<\/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\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"&quot;localhost:6021: Connection refused&quot; recurring in OAM system -\" \/>\n<meta property=\"og:description\" content=\"The\u00a0 OAM components such as Identity server and Access Server are running on ports 6034 and 6035 respectively in my [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-02-10T19:39:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-02-10T19:40:59+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/\",\"name\":\"\\\"localhost:6021: Connection refused\\\" recurring in OAM system -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2011-02-10T19:39:16+00:00\",\"dateModified\":\"2011-02-10T19:40:59+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"&#8220;localhost:6021: Connection refused&#8221; recurring in OAM system\"}]},{\"@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":"\"localhost:6021: Connection refused\" recurring in OAM system -","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\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/","og_locale":"en_US","og_type":"article","og_title":"\"localhost:6021: Connection refused\" recurring in OAM system -","og_description":"The\u00a0 OAM components such as Identity server and Access Server are running on ports 6034 and 6035 respectively in my [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/","article_published_time":"2011-02-10T19:39:16+00:00","article_modified_time":"2011-02-10T19:40:59+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/","url":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/","name":"\"localhost:6021: Connection refused\" recurring in OAM system -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2011-02-10T19:39:16+00:00","dateModified":"2011-02-10T19:40:59+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/10\/localhost6021-connection-refused-recurring-in-oam-system\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"&#8220;localhost:6021: Connection refused&#8221; recurring in OAM system"}]},{"@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\/2323","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=2323"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/2323\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=2323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=2323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=2323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}