最近在測 IBM WebSphere Virtual Enterprise 7  時遇到了一個怪問題 , 當我在既有的 WebSphere Application Server Network Deployment 7 上安裝 WVE 7.0 , 並選擇擴充 (Extend) Dmgr01 及 AppSrv01 這兩個 Profile 後 , dmgr Process 啟動了 nodeagent 就起不來 , 反之亦然 , 並且出現下面的錯誤訊息 :

[2011/11/2   11:24:34:279 CST] 00000000 P2PBase       E   ODCF8005E: 起始設定 SON 套版時,發生非預期的異常狀況;異常狀況是 java.io.IOException: The P2P layer was unable to bind to a UDP port.
    at com.ibm.son.mesh.RawUDPImpl.<init>(RawUDPImpl.java:88)
    at com.ibm.son.mesh.UDPFactory.getUDP(UDPFactory.java:30)
    at com.ibm.son.mesh.Peer.<init>(Peer.java:463)
    at com.ibm.son.mesh.Peer.<init>(Peer.java:406)
    at com.ibm.ws.p2p.P2POverlayHelper.getPeer(P2POverlayHelper.java:147)
    at com.ibm.ws.p2p.P2PBase.getPeer(P2PBase.java:31)
    at com.ibm.ws.bbson.BBFactoryImpl.<init>(BBFactoryImpl.java:615)
    at java.lang.J9VMInternals.newInstanceImpl(Native Method)
    at java.lang.Class.newInstance(Class.java:1345)
    at com.ibm.ws.xd.bbson.corestack.runtime.component.CoreStackComponentImpl.getXDBBFactory(CoreStackComponentImpl.java:355)
    at com.ibm.ws.xd.bbson.corestack.runtime.component.CoreStackComponentImpl.initXDBulletinBoard(CoreStackComponentImpl.java:428)
    at com.ibm.ws.xd.bbson.corestack.runtime.component.CoreStackComponentImpl.getConfiguredBulletinBoardFactory(CoreStackComponentImpl.java:704)
    at com.ibm.ws.xd.bbson.corestack.runtime.component.CoreStackComponentImpl.getXDBulletinBoardScopes(CoreStackComponentImpl.java:282)
    at com.ibm.ws.xd.bbson.bbscopes.runtime.component.BulletinBoardScopesComponentImpl.getConfiguredBulletinBoardScopes(BulletinBoardScopesComponentImpl.java:270)
    at com.ibm.ws.xd.bbson.bbscopes.runtime.component.BulletinBoardScopesComponentImpl.getPublicScope(BulletinBoardScopesComponentImpl.java:357)
    at com.ibm.ws.xd.comm.BBComponentImpl.start(BBComponentImpl.java:82)
    at com.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:538)
    at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:627)
    at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:618)
    at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:502)
    at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:298)
    at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:214)
    at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:666)
    at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:213)
    at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:93)
    at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:74)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
    at org.eclipse.core.launcher.Main.run(Main.java:981)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:341)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:111)

 

 

 

後來拜了一下 Google 大神 , 原來是節點沒有同步造成的 , 解決方法也很簡單 , 步驟如下 :

1. 確定 dmgr 的 Process (JVM) 是啟動並活著 ,  nodeagent 的 process (JVM) 已停止 .

2. 開一個 MS DOS  視窗 , 切換路徑到:

<WebSphere_Install_Root>\WebSphere\AppServer\profiles\AppSrv01\bin

3. 執行 :

syncNode.bat localhost -user wasadmin -password 123456

P.S.1 如果 WebSphere 沒有 Enable Console Security 則不需要下 -user wasadmin -password 123456

P.S.2 每個人的 WebSphere Administrator 的帳號 / 密碼 都不一樣 , 所以一定不是 wasadmin / 123456

4. 啟動 nodeagent , 打完收工 .

, ,

Jump 發表在 痞客邦 PIXNET 留言(0) 人氣()