{"id":4224,"date":"2012-09-13T05:49:37","date_gmt":"2012-09-13T09:49:37","guid":{"rendered":"http:\/\/onlineappsdba.com\/?p=4224"},"modified":"2012-09-13T05:49:37","modified_gmt":"2012-09-13T09:49:37","slug":"oim-service-not-coming-up-error-null-hostname-was-null","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/","title":{"rendered":"OIM Service not coming up, ERROR: null hostname was null"},"content":{"rendered":"<p>Hi all, today i have faced issue when tried to restart the OIM service in cluster node.<\/p>\n<p><strong>ERROR:\u00a0<\/strong><\/p>\n<p>We are using Oracle Containers For J2EE (OC4J) version 10.1.3 on a system and OC4J has been running successfully for some time but suddenly one of the OC4J instances may fail to start and raise the following error:INFO: WSSERVLET14: JAX-WS servlet initializing<\/p>\n<p>12\/09\/04 14:46:24 Oracle Containers for J2EE 10g (10.1.3.3.0)\u00a0 initialized<\/p>\n<p>12\/09\/04 14:46:24 WARNING: OC4J will not send ONS ProcReadyPort messages to opmn for service: OC4JServiceInfo id: null protocol: jms hostname: null port: 12603 description: null<\/p>\n<p>12\/09\/04 14:46:24 null hostname was null<\/p>\n<p>\u00a0&#8212;&#8212;&#8211;<\/p>\n<p>12\/09\/04 14:46:28 Start process<\/p>\n<p>&#8212;&#8212;&#8211;<\/p>\n<p>12\/09\/04 14:46:31 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:\/u01apps\/oraclesoa\/j2ee\/xluser2\/config\/jms.xml]<\/p>\n<p>12\/09\/04 14:46:31 WARNING: ApplicationStateRunning.loadConnectors Exception loading connector OracleASjms : Error parsing oc4j-ra.xml at \/u01apps\/oraclesoa\/j2ee\/xluser2\/application-deployments\/default\/OracleASjms: Fatal error in file:\/u01apps\/oraclesoa\/j2ee\/xluser2\/connectors\/OracleASjms\/OracleASjms\/: Premature end of file.<\/p>\n<p><strong>\u00a0CAUSE:<\/strong><\/p>\n<p>The OC4J Java Messaging System creates a lock file to constrain access to a specific persistent message store to the single OC4J instance that created it.<\/p>\n<p>The persistence lock file captures information about the OC4J instance that owns or previously owned the persistence store and this information includes the IP address of the owning oc4j instance. During startup if the OC4J Java Messaging System (JMS) discovers that a persistence store it has been configured to use has a lock file that it doesn&#8217;t own it will abort the startup procedure to avoid data corruption.<\/p>\n<p>For the second error the source of the problem as indicated in the error is a conflict with the port. &#8220;ERROR jms.xml: port 9,127 already in use&#8221;<\/p>\n<p><strong>\u00a0SOULTION:<\/strong><\/p>\n<p>The startup problem can be resolved via the following steps:<\/p>\n<p>1. Ensure that there is no running OC4J instance that is accessing the persistence store (e.g. &#8220;opmnctl status -l&#8221;),<\/p>\n<p>2. .\/opmnctl stopall<\/p>\n<p>3. Navigate to persistance folder. For example : $ORACLE_HOME\/j2ee\/home\/persistence\/home_default_group_1<\/p>\n<p>Remove the &#8220;.lock&#8221;<\/p>\n<p>\u00a0rm -rf *.lock;<\/p>\n<p>\u00a04. restart the service.\u00a0<\/p>\n<p>If above steps didnt work then try following action plan,<\/p>\n<p>1. Check the disk space, if it reach 100% then clear the unwanted files.<\/p>\n<p>2. replace the server.xml file from back up.<\/p>\n<p>3. remove the lock files under $ORACLE_HOME\/j2ee\/home\/persistence\/home_default_group_1<\/p>\n<p>4. Restart the service.<\/p>\n<p>Hope this post helped you. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi all, today i have faced issue when tried to restart the OIM service in cluster node. ERROR:\u00a0 We are [&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":[185,42],"tags":[],"class_list":["post-4224","post","type-post","status-publish","format-standard","hentry","category-oim","category-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OIM Service not coming up, ERROR: null hostname was null -<\/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\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OIM Service not coming up, ERROR: null hostname was null -\" \/>\n<meta property=\"og:description\" content=\"Hi all, today i have faced issue when tried to restart the OIM service in cluster node. ERROR:\u00a0 We are [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-09-13T09:49:37+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/\",\"name\":\"OIM Service not coming up, ERROR: null hostname was null -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2012-09-13T09:49:37+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OIM Service not coming up, ERROR: null hostname was null\"}]},{\"@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":"OIM Service not coming up, ERROR: null hostname was null -","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\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/","og_locale":"en_US","og_type":"article","og_title":"OIM Service not coming up, ERROR: null hostname was null -","og_description":"Hi all, today i have faced issue when tried to restart the OIM service in cluster node. ERROR:\u00a0 We are [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/","article_published_time":"2012-09-13T09:49:37+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/","url":"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/","name":"OIM Service not coming up, ERROR: null hostname was null -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2012-09-13T09:49:37+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2012\/09\/13\/oim-service-not-coming-up-error-null-hostname-was-null\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"OIM Service not coming up, ERROR: null hostname was null"}]},{"@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\/4224","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=4224"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/4224\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=4224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=4224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=4224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}