Saturday, January 26, 2013

Configuring Node Manager and Starting SOA server from Admin Console


Configuring NodeManager and Starting soa server from admin console:

1. Log into C:\Oracle\Middleware\wlserver_10.3\server\bin and run installNodeMgrSvc.cmd from command prompt. If it says 'access is denied', then right click on installNaodeMgrSvc.cmd and say 'Run as Administrator'.
2. From command prompt say, 'startNodeManager.cmd'. This will start the nodemanager.
3. If there is an exception as below when starting node manger

                <Jan 26, 2013 2:58:57 PM> <INFO> <Saving node manager configuration properties to 'C:\Oracle\MIDDLE~1\WLSERV~1.3\common\NODEMA~1\nodemanager.properties'>
<Jan 26, 2013 2:58:57 PM> <SEVERE> <Fatal error in node manager server>
java.lang.NullPointerException
                at java.util.Hashtable.containsKey(Hashtable.java:307)
                at weblogic.nodemanager.server.NMServerConfig.initNetworkInfoList(NMServerConfig.java:491)
                at weblogic.nodemanager.server.NMServerConfig.getNetworkInfoList(NMServerConfig.java:481)
                at weblogic.nodemanager.server.NMServerConfig.getConfigProperties(NMServerConfig.java:545)
                at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:154)
                at weblogic.nodemanager.server.NMServer.main(NMServer.java:375)
                at weblogic.NodeManager.main(NodeManager.java:31)

then, apply patch p12564602_1035_Generic on WLS_10.3.5 using smart update. Check if this patch is already applied. Bug Number: 12564602

3. After applying the patch repeat steps 1 and 2.
4. If there is an exception like 'java.net.BindException: Address already in use: JVM_Bind', then update nodemanager.properties in the path C:\Oracle\Middleware\wlserver_10.3\common\nodemanager. Update the below values

ListenAddress=localhost
ListenPort=5557
SecureListener=false
AuthenticationEnabled=false

Restart the node manager.
Then on the weblogic console for your Machine\Node Manager\Configuration set the following:

Type: Plain
Listen Address: localhost
Listen Port: 5557

5. Start SOA server from weblogic console.