Thursday, 10 March 2016

weblogic 12c startNodeManager.sh

Are you getting the following when trying to start nodemanager?

[root@vltweb01 ~]# <Mar 8, 2016 10:12:41 PM EST> <INFO> <Loading identity key store: FileName=/u01/oracle/Oracle/Middleware/Oracle_Home/oracle_common/common/nodemanager/security/DemoIdentity.jks, Type=jks, PassPhraseUsed=true>
<Mar 8, 2016 10:12:41 PM EST> <SEVERE> <Fatal error in NodeManager server>
weblogic.nodemanager.common.ConfigException: Identity key store file not found: /u01/oracle/Oracle/Middleware/Oracle_Home/oracle_common/common/nodemanager/security/DemoIdentity.jks
        at weblogic.nodemanager.server.SSLConfig.loadKeyStoreConfig(SSLConfig.java:225)
        at weblogic.nodemanager.server.SSLConfig.access$000(SSLConfig.java:33)
        at weblogic.nodemanager.server.SSLConfig$1.run(SSLConfig.java:118)
        at java.security.AccessController.doPrivileged(Native Method)
        at weblogic.nodemanager.server.SSLConfig.<init>(SSLConfig.java:115)
        at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:143)
        at weblogic.nodemanager.server.NMServer.main(NMServer.java:527)
        at weblogic.NodeManager.main(NodeManager.java:31)

Then, like me – you are starting the wrong nodemanager.  This is the 11G one, 12c uses the node manager in user projects.

A simple search shows:

[oracle@vltweb01 Oracle_Home]$ find . -name startNodeManager.sh
./inventory/Templates/wlserver/server/bin/startNodeManager.sh
./user_projects/domains/e1_apps/bin/startNodeManager.sh
./wlserver/server/bin/startNodeManager.sh

Don’t use the bottom one, use this one ./user_projects/domains/e1_apps/bin/startNodeManager.sh

Phew, that’s better.

No comments:

Extending JDE to generative AI