求解:WEBSphere奇怪的端口绑定
各位好:
今天第一次在WIN7下安装WEBSphere6.1开发版,装好使用命令行方式进行启动"startServer server1 -trace",但是一直提示绑定端口失败,但是通过与serverindex.xml中的端口进行对比检查并未发现系统占用了WAS需要的端口?详细信息如下:
[12-6-14 9:52:13:413 GMT] 0000000a GenericServer < server IS NOT a GENERIC_SERVER Exit
[12-6-14 9:52:13:413 GMT] 0000000a WsServerLaunc 3 Launching a new server process: server1
[12-6-14 9:52:13:423 GMT] 0000000a AdminTool A ADMU3012E: 尝试获取状态套接字 Address already in use: NET_Bind 的空闲端口时发生异常
[12-6-14 9:52:13:423 GMT] 0000000a AdminTool E ADMU3012E: 尝试获取状态套接字 java.net.BindException: Address already in use: NET_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:398)
at java.net.ServerSocket.bind(ServerSocket.java:331)
at java.net.ServerSocket.<init>(ServerSocket.java:197)
at java.net.ServerSocket.<init>(ServerSocket.java:109)
at com.ibm.ws.management.tools.AdminTool.initStatusPort(AdminTool.java:983)
at com.ibm.ws.management.tools.AdminTool.getStatusPort(AdminTool.java:964)
at com.ibm.ws.management.tools.WsServerLauncher.runTool(WsServerLauncher.java:282)
at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:261)
at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindows(WsServerController.java:136)
at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)
的空闲端口时发生异常
[12-6-14 9:52:13:426 GMT] 0000000a WsServerLaunc E ADMU3002E: 尝试处理服务器 server1 时发生异常
[12-6-14 9:52:13:426 GMT] 0000000a WsServerLaunc E ADMU3007E: 异常 java.lang.NullPointerException
at com.ibm.ws.management.tools.WsServerLauncher.runTool(WsServerLauncher.java:285)
at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:261)
at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindows(WsServerController.java:136)
at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)
[12-6-14 9:52:13:428 GMT] 0000000a AdminTool E ADMU0111E: 由于错误 java.lang.NullPointerException
at com.ibm.ws.management.tools.WsServerLauncher.runTool(WsServerLauncher.java:285)
at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:261)
at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindows(WsServerController.java:136)
at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)
,程序退出
[12-6-14 9:52:13:429 GMT] 0000000a AdminTool A ADMU0111E: 由于错误 java.lang.NullPointerException
at com.ibm.ws.management.tools.WsServerLauncher.runTool(WsServerLauncher.java:285)
at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:261)
at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindows(WsServerController.java:136)
at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)
,程序退出
[12-6-14 9:52:13:430 GMT] 0000000a AdminTool 3 Returning from auxiliary method issueMessage with return code: 111
[12-6-14 9:52:13:430 GMT] 0000000a AdminTool A ADMU0211I: 在文件 C:\ProgramFiles\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\startServer.log 中可看到错误的详细信息
[12-6-14 9:52:13:431 GMT] 0000000a AdminTool 3 Returning from auxiliary method issueMessage with return code: 211
[12-6-14 9:52:13:431 GMT] 0000000a AdminTool 3 Returning from executeUtility method with return code: -1
在命令行模式下检测系统占用端口如下:
活动连接
协议 本地地址 外部地址 状态
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1026 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1027 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1036 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1037 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1107 0.0.0.0:0 LISTENING
TCP 192.168.0.148:139 0.0.0.0:0 LISTENING
请各位帮忙看看,谢谢了..