Tuesday 19 March 2013

ADMG0253E: Matching template default could not be found or is not valid for this server

Note to self.

If you see: -

WASX7017E: Exception received while running file "jython/create_app_server.py"; exception information: com.ibm.websphere.management.cmdframework.CommandValidationException: ADMG0253E: Matching template default could not be found or is not valid for this server.

when attempting to create a WAS cluster: -

AdminTask.createClusterMember('[-clusterName '+clusterName+' -memberConfig [-memberNode '+nodeName+' -memberName '+clusterMemberName+' -memberWeight 2 -genUniquePorts true -replicatorEntry false] -firstMember [-templateName default  -nodeGroup DefaultNodeGroup -coreGroup DefaultCoreGroup]]')

or application server: -

AdminTask.createApplicationServer( nodeName, '[-name '+serverName+' -templateName default  -genUniquePorts true ]')

then change the templateName from default to defaultProcessServer.

For me, this is relevant when I'm adding IBM Operational Decision Manager v8 (IODM or ODM or WODM) to an existing IBM Business Process Manager Advanced v8 (BPM) environment.

No comments:

Visual Studio Code - Wow 🙀

Why did I not know that I can merely hit [cmd] [p]  to bring up a search box allowing me to search my project e.g. a repo cloned from GitHub...