I was trying to create a profile, using the syntsx seen later and I go the following error located in

/opt/IBM/WebSphere/AppServer/logs/manageprofiles/WASND7_01_node02Prof_create.log

Error:

This was the overall status of the WASND7_01_node02Prof_create.log when I tried to run the command below

 

Error:

The error was found deeper in to the file of the <was_root>/logs/manageprofiles/<profile_name>.log of the profile I was trying to create

Command Line executed was:

/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -profileName WASND7_01_node02Prof -profilePath /opt/IBM/WebSphere/AppServer/profiles/WASND7_01_node02Prof -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed –cellName localhostCell01 -hostName localhost -nodeName WASND7_01_node02Mnode -isDefault -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin -dmgrHost localhost -dmgrPort 8879 -dmgrAdminUserName wasadmin -dmgrAdminPassword wasadmin

 

So what’s the issue?

/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -profileName WASND7_01_node02Prof -profilePath /opt/IBM/WebSphere/AppServer/profiles/WASND7_01_node02Prof -templatePath /opt/IBM/WebSphere/ WASND7_01_node02Mnode -isDefault -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin -dmgrHost localhost -dmgrPort 8879 -dmgrAdminUserName wasadmin -dmgrAdminPassword wasadmin AppServer/profileTemplates/managed –cellName localhostNode01 -hostName localhost -nodeName

 

I have previously created a Deployment Manager and thus I had already used this name. It is confusing, as because the parameter is –cellName, it must be a unique cell name. Each node, must have a unique call name ie each profile including the DMgr and all nodes.

-cellName = set a unique name even though you plan to federate the custom profile or standalone profile into a deployment manager cell. Federation requires unique cell names before it can make the node part of the deployment manager cell. A cell name must be unique in any circumstance in which the product is running on the same physical machine or cluster of machines, such as a sysplex. Additionally, a cell name must be unique in any circumstance in which network connectivity between entities is required either between the cells or from a client that must communicate with each of the cells. Cell names must also be unique if their namespaces are federated. Otherwise, you might encounter symptoms such as a javax.naming.NameNotFoundException error, in which case, create uniquely named cells.

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply