求解:WEBSphere奇怪的端口绑定

accp184273 2012-06-14 06:13:49
各位好:
今天第一次在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


请各位帮忙看看,谢谢了..
...全文
898 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
libin11 2013-12-30
  • 打赏
  • 举报
回复
引用 4 楼 uc172635 的回复:
解决了吗,今天我也遇到了同样的问题!
解决不分享解决方案,可恶。
u010566947 2013-05-12
  • 打赏
  • 举报
回复
小黑豆儿 2013-04-13
  • 打赏
  • 举报
回复
哥们,websphere的这个问题你解决了吗?我最近遇到了 还没解决呢 急! 我的QQ:894341211
uc172635 2013-03-29
  • 打赏
  • 举报
回复
解决了吗,今天我也遇到了同样的问题!
accp184273 2012-06-15
  • 打赏
  • 举报
回复
早kill过了..没用..
朱超ZhuChao.Tech 2012-06-14
  • 打赏
  • 举报
回复
[Quote=引用楼主 的回复:]
各位好:
今天第一次在WIN7下安装WEBSphere6.1开发版,装好使用命令行方式进行启动"startServer server1 -trace",但是一直提示绑定端口失败,但是通过与serverindex.xml中的端口进行对比检查并未发现系统占用了WAS需要的端口?详细信息如下:

[12-6-14 9:52:13:413 GMT] 0000000a GenericServe……
[/Quote]

进程中还有JAVA进程 你杀掉 再启动。 websphere 早就玩过了
accp184273 2012-06-14
  • 打赏
  • 举报
回复
发技术贴还有分数限制,所以只能发到这个板块了....

695

社区成员

发帖
与我相关
我的任务
社区描述
提出问题
其他 技术论坛(原bbs)
社区管理员
  • community_281
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧