weblogic.nodemanager.common.ConfigException: Identity key store file not found: kss://system/demoidentityThe reason is that you need to run setDomainEnv.sh before starting nodemanager, because nodemanager tries to contact the security store, which resides in the Oracle MDS database in this case.
The recommended way to start nodemanager is through OS initialization scripts.
Still - if one wants to start nodemanager through WLST, it could be accomplished as follows:
import os #Load module interface to Operating SystemBut before invoking wlst.sh, to run the above, make sure that you did run $DOMAIN_HOME/setDomainEnv.sh!!
MW_HOME = os.environ.get("MW_HOME") #Get required environment variables
NODEMGR_HOME = os.environ.get("NODEMGR_HOME")
# Start nodemanager through OS System call
os.system(MW_HOME + '/wlserver/server/bin/startNodeManager.sh > ' + NODEMGR_HOME + '/nodemanager.out 2>&1 &')
To stop nodemanager through WLST, there is a stopNodeManager() function available. But for this to work, it is required to set the flag
QuitEnabled=truein nodemanager.properties file.
No comments:
Post a Comment