{"id":2581,"date":"2012-05-14T12:47:00","date_gmt":"2012-05-14T10:47:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/"},"modified":"2012-05-14T12:47:00","modified_gmt":"2012-05-14T10:47:00","slug":"connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/","title":{"rendered":"Connecting to the WebLogic Node Manager using WLST in a Production domain"},"content":{"rendered":"<p>In a WebLogic server domain set as a Production domain, when we try to connect to the Node Manager with WLST we get the following error:<br \/>\nCannot connect to Node Manager. : Access to domain &#8216;testcluster&#8217; for user &#8216;weblogic&#8217; denied<\/p>\n<p>This blog gives the solution to solve the issue.<br \/>\nFirst of all, we observe that the Node Manager is working fine because it is accessible with the WLS admin console and the managed servers can be started\/stopped successfully.<br \/>\nThe managed servers can also be started when we first connect to the AdminServer with WLST.<\/p>\n<p>The reason is that by default, the nmConnect command cannot be used in a production environment because the Node Manager credentials have been automatically set when the domain was created. The AdminServer knows these credentials by default, this is verified by the start of the managed servers through the AdminServer using the administration console or WLST.<\/p>\n<p>To use nmConnect we have to do the following steps:<\/p>\n<h4>A) Change the default Node Manager username and password<\/h4>\n<ul>\n<li>startup the Admin Server and access the administration console.<\/li>\n<li>click your domain\u2019s name from the \u201cDomain Structure\u201d (e.g testcluster) area:<\/li>\n<li>navigate to the \u201cSecurity\u201d tab and click on \u201cAdvanced\u201d. You will find the Node Manager credentials:<\/li>\n<li>click \u201cLock and Edit\u201d and change the credentials<\/li>\n<\/ul>\n<p>e.g.<br \/>\nNodeManager Username: nmuser<br \/>\nNodeManager Password: n0d3mgr<\/p>\n<ul>\n<li>click \u201cSave\u201d and \u201cActivate Changes\u201d<\/li>\n<\/ul>\n<p>No restarts are required.<\/p>\n<h4>B) With WLST, enroll the machine on each physical server and connect to the Node Manager<\/h4>\n<ul>\n<li>set the correct environment variables<\/li>\n<\/ul>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">cd\u00a0 $WL_HOME\/server\/bin\nsource setWLSEnv.sh<\/pre>\n<ul>\n<li>launch WLST<\/li>\n<\/ul>\n<p>java weblogic.WLST<\/p>\n<ul>\n<li>connect to the AdminServer<\/li>\n<\/ul>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">wls:\/offline&gt; connect('weblogic','welcome1','t3:\/\/vmlinuxwl2:8001')\nConnecting to t3:\/\/vmlinuxwl2:8001 with userid weblogic ...\nSuccessfully connected to Admin Server 'AdminServer' that belongs to domain 'testcluster'.<\/pre>\n<p>Warning: An insecure protocol was used to connect to the<br \/>\nserver. To ensure on-the-wire security, the SSL port or<br \/>\nAdmin port should be used instead.<\/p>\n<ul>\n<li>nmEnroll the server<\/li>\n<\/ul>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">wls:\/testcluster\/serverConfig&gt; nmEnroll('\/home\/wladmin\/WLSsecurity')\nEnrolling this machine with the domain directory at \/home\/wladmin\/WLSsecurity ...\nSuccessfully enrolled this machine with the domain directory at \/home\/wladmin\/WLSsecurity.\nwls:\/testcluster\/serverConfig&gt;wls:\/testcluster\/serverConfig&gt;<\/pre>\n<ul>\n<li>disconnect from AdminServer<\/li>\n<\/ul>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">wls:\/testcluster\/serverConfig&gt; disconnect()\n Disconnected from weblogic server: AdminServer\n wls:\/offline&gt;<\/pre>\n<ul>\n<li>connect to the Node Manager using the Node Manager user name and password defined in the previous step<\/li>\n<\/ul>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">wls:\/offline&gt; nmConnect('nmuser','n0d3mgr','localhost','5556','testcluster','\/app\/Oracle\/Middleware\/user_projects\/domains\/testcluster','plain')\nConnecting to Node Manager ...\nSuccessfully Connected to Node Manager.\nwls:\/nm\/testcluster&gt;<\/pre>\n<ul>\n<li>start a managed server (optional)<\/li>\n<\/ul>\n<p>wls:\/nm\/testcluster&gt; nmStart(&#8216;MS1&#8217;) Starting server MS1 &#8230; Successfully started server MS1 &#8230; wls:\/nm\/testcluster&gt;<\/p>\n<p>NB: the security like SSL, password file etc&#8230; has not been covered in this blog<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a WebLogic server domain set as a Production domain, when we try to connect to the Node Manager with WLST we get the following error: Cannot connect to Node Manager. : Access to domain &#8216;testcluster&#8217; for user &#8216;weblogic&#8217; denied This blog gives the solution to solve the issue. First of all, we observe that [&hellip;]<\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[307],"type_dbi":[],"class_list":["post-2581","post","type-post","status-publish","format-standard","hentry","category-application-integration-middleware","tag-oracle-weblogic"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Connecting to the WebLogic Node Manager using WLST in a Production domain - dbi Blog<\/title>\n<meta name=\"description\" content=\"In a WebLogic server domain set as a Production domain, when we try to connect to the Node Manager with wlst we get the following error: Cannot connect to Node Manager. : Access to domain &#039;testcluster&#039; for user &#039;weblogic&#039; denied Cannot connect to Node Manager. : Access to domain &#039;testcluster&#039; for user &#039;weblogic&#039; denied This blog gives the solution to solve the issue.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Connecting to the WebLogic Node Manager using WLST in a Production domain\" \/>\n<meta property=\"og:description\" content=\"In a WebLogic server domain set as a Production domain, when we try to connect to the Node Manager with wlst we get the following error: Cannot connect to Node Manager. : Access to domain &#039;testcluster&#039; for user &#039;weblogic&#039; denied Cannot connect to Node Manager. : Access to domain &#039;testcluster&#039; for user &#039;weblogic&#039; denied This blog gives the solution to solve the issue.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2012-05-14T10:47:00+00:00\" \/>\n<meta name=\"author\" content=\"G\u00e9rard Wisson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"G\u00e9rard Wisson\" \/>\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\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\\\/\"},\"author\":{\"name\":\"G\u00e9rard Wisson\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/ad54b5e621903122c00c6b7921c6ab85\"},\"headline\":\"Connecting to the WebLogic Node Manager using WLST in a Production domain\",\"datePublished\":\"2012-05-14T10:47:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\\\/\"},\"wordCount\":362,\"commentCount\":0,\"keywords\":[\"Oracle WebLogic\"],\"articleSection\":[\"Application integration &amp; Middleware\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\\\/\",\"name\":\"Connecting to the WebLogic Node Manager using WLST in a Production domain - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2012-05-14T10:47:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/ad54b5e621903122c00c6b7921c6ab85\"},\"description\":\"In a WebLogic server domain set as a Production domain, when we try to connect to the Node Manager with wlst we get the following error: Cannot connect to Node Manager. : Access to domain 'testcluster' for user 'weblogic' denied Cannot connect to Node Manager. : Access to domain 'testcluster' for user 'weblogic' denied This blog gives the solution to solve the issue.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connecting to the WebLogic Node Manager using WLST in a Production domain\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/ad54b5e621903122c00c6b7921c6ab85\",\"name\":\"G\u00e9rard Wisson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g\",\"caption\":\"G\u00e9rard Wisson\"},\"description\":\"G\u00e9rard Wisson has more than ten years of experience in Enterprise Content Management (ECM) with Documentum as well as in Oracle WebLogic and Java EE \\\/ J2EE infrastructures. He is specialized in ECM infrastructure services such as installation, upgrade, high availability, and administration as well as in Oracle WebLogic services such as installation, configuration, and management. He is very experienced in the monitoring and optimization of Java EE \\\/ J2EE infrastructures with Grid\\\/Cloud Control and JVMD. G\u00e9rard Wisson is certified Oracle Weblogic Server 11g System Administrator and Oracle Certified Associate. Prior to joining dbi services, G\u00e9rard Wisson was Senior Consultant at Solfit in Basel. He holds a diploma in Electrical Engineering from the University of Strasbourg (F). His branch-related experience covers Financial Services \\\/ Banking, Chemicals &amp; Pharmaceuticals, etc.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/gerard-wisson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Connecting to the WebLogic Node Manager using WLST in a Production domain - dbi Blog","description":"In a WebLogic server domain set as a Production domain, when we try to connect to the Node Manager with wlst we get the following error: Cannot connect to Node Manager. : Access to domain 'testcluster' for user 'weblogic' denied Cannot connect to Node Manager. : Access to domain 'testcluster' for user 'weblogic' denied This blog gives the solution to solve the issue.","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:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/","og_locale":"en_US","og_type":"article","og_title":"Connecting to the WebLogic Node Manager using WLST in a Production domain","og_description":"In a WebLogic server domain set as a Production domain, when we try to connect to the Node Manager with wlst we get the following error: Cannot connect to Node Manager. : Access to domain 'testcluster' for user 'weblogic' denied Cannot connect to Node Manager. : Access to domain 'testcluster' for user 'weblogic' denied This blog gives the solution to solve the issue.","og_url":"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/","og_site_name":"dbi Blog","article_published_time":"2012-05-14T10:47:00+00:00","author":"G\u00e9rard Wisson","twitter_card":"summary_large_image","twitter_misc":{"Written by":"G\u00e9rard Wisson","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/"},"author":{"name":"G\u00e9rard Wisson","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/ad54b5e621903122c00c6b7921c6ab85"},"headline":"Connecting to the WebLogic Node Manager using WLST in a Production domain","datePublished":"2012-05-14T10:47:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/"},"wordCount":362,"commentCount":0,"keywords":["Oracle WebLogic"],"articleSection":["Application integration &amp; Middleware"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/","url":"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/","name":"Connecting to the WebLogic Node Manager using WLST in a Production domain - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2012-05-14T10:47:00+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/ad54b5e621903122c00c6b7921c6ab85"},"description":"In a WebLogic server domain set as a Production domain, when we try to connect to the Node Manager with wlst we get the following error: Cannot connect to Node Manager. : Access to domain 'testcluster' for user 'weblogic' denied Cannot connect to Node Manager. : Access to domain 'testcluster' for user 'weblogic' denied This blog gives the solution to solve the issue.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/connecting-to-the-weblogic-node-manager-using-wlst-in-a-production-domain-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Connecting to the WebLogic Node Manager using WLST in a Production domain"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/ad54b5e621903122c00c6b7921c6ab85","name":"G\u00e9rard Wisson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g","caption":"G\u00e9rard Wisson"},"description":"G\u00e9rard Wisson has more than ten years of experience in Enterprise Content Management (ECM) with Documentum as well as in Oracle WebLogic and Java EE \/ J2EE infrastructures. He is specialized in ECM infrastructure services such as installation, upgrade, high availability, and administration as well as in Oracle WebLogic services such as installation, configuration, and management. He is very experienced in the monitoring and optimization of Java EE \/ J2EE infrastructures with Grid\/Cloud Control and JVMD. G\u00e9rard Wisson is certified Oracle Weblogic Server 11g System Administrator and Oracle Certified Associate. Prior to joining dbi services, G\u00e9rard Wisson was Senior Consultant at Solfit in Basel. He holds a diploma in Electrical Engineering from the University of Strasbourg (F). His branch-related experience covers Financial Services \/ Banking, Chemicals &amp; Pharmaceuticals, etc.","url":"https:\/\/www.dbi-services.com\/blog\/author\/gerard-wisson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/2581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=2581"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/2581\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=2581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=2581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=2581"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=2581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}