Unexpected error while monitoring server Invalid state file format | Weeblogic
On WLS 10.3.x
Windows 2008 R2
Configured 3 machines, every machine with a node manager working.
All 3 machines had access to the same domain directory on a shared storage
while each of them have a separate binaries installation, also on a shared storage.
1) start node manager on node 1
2) start server using node manager 1
3) start node manager on node 2
you see below error in logs while starting:
<Oct 4, 2011 5:22:10 PM> <FINEST> <soa_domain> <AdminServer> <Wrote process id 26652> <Oct 4, 2011 5:42:41 PM> <SEVERE> <soa_domain> <AdminServer> <Unexpected error while monitoring server> java.io.IOException: Invalid state file format. State file contents: at weblogic.nodemanager.common.StateInfo.load(StateInfo.java:135) at weblogic.nodemanager.server.AbstractServerMonitor.loadStateInfo(AbstractServerMonitor.java:493) at weblogic.nodemanager.server.AbstractServerMonitor.runMonitor(AbstractServerMonitor.java:268) at weblogic.nodemanager.server.AbstractServerMonitor.run(AbstractServerMonitor.java:241) at weblogic.nodemanager.server.ServerMonitor.run(ServerMonitor.java:25) at java.lang.Thread.run(Thread.java:662)
most Likely the cause will be DomainsDirRemoteSharingEnabled will be “false”, make it “true” in nodemanager.properties file to avoid thsi error.
Specifies whether Node Manager is monitoring a shared domain directory. As such, more that one Node Manager may be monitoring the shared directory from different machines.
Set to true to indicate that you have a shared domain directory (mounted directory or Windows NFS) that multiple nodes will be sharing. Enabling this property allows multiple Node Managers to share the domain without affecting each other.
For More Info Visit:
http://download.oracle.com/docs/cd/E21764_01/web.1111/e13740/java_nodemgr.htm
In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.