Glassfish一直工作得挺棒,前久出了问题:asadmin start-domain domain1之后

1,控制台没有错误

2,但是server没起来,server.log里有如下的错误.

最近一直在查问题,google/baidu了N久,国外论坛的帖子也看了一下,死活找不到问题所在点.

1,有的人说是hosts文件不对

2,有人说肯定是防火墙组织了8686端口

3,今天突然看到这个帖子:http://forums.java.net/jive/thread.jspa?threadID=39070&#38

说是杀毒软件的问题,正好我用的也是NOD32,所以就很肯定问题在于这里了.

NODE32高级设置(具体见附件)

+病毒和间谍软件防护

+Web访问保护

+HTTP

+Web浏览器

把JAVA.EXE所在的那一行打叉,之后Glassfish正常启动了.

我的天.....有点无语,折腾了好久,原来是因为杀毒软件把java.exe监视了,所以导致Glassfish起不了.

--------------------------------------------------------------------------------------
[#|2009-10-25T21:02:10.937+0800|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079:AMX MBean 初始化已启动|#]

[#|2009-10-25T21:03:11.828+0800|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@fffa61;com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://192.168.1.129:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
 java.net.SocketTimeoutException: Read timed out];_RequestID=d40ca845-9d3f-451a-a86f-fdfc74b57e98;|无法启动服务 com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@fffa61 ! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://192.168.1.129:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
 java.net.SocketTimeoutException: Read timed out]|#]

[#|2009-10-25T21:03:11.828+0800|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=d40ca845-9d3f-451a-a86f-fdfc74b57e98;|CORE5071:初始化时发生错误
com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://192.168.1.129:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
 java.net.SocketTimeoutException: Read timed out]
 at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:153)
 at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
 at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
 at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
 at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
Caused by: java.io.IOException: Cannot bind to URL [rmi://192.168.1.129:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
 java.net.SocketTimeoutException: Read timed out]
 at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
 at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
 at com.sun.enterprise.admin.jmx.remote.server.rmi.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:218)
 at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:134)
 ... 9 more
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
 java.net.SocketTimeoutException: Read timed out]
 at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122)
 at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
 at javax.naming.InitialContext.bind(InitialContext.java:359)
 at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:635)
 at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)
 ... 11 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
 java.net.SocketTimeoutException: Read timed out
 at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:273)
 at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
 at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
 at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
 at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:116)
 ... 15 more
Caused by: java.net.SocketTimeoutException: Read timed out
 at java.net.SocketInputStream.socketRead0(Native Method)
 at java.net.SocketInputStream.read(SocketInputStream.java:129)
 at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
 at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
 at java.io.DataInputStream.readByte(DataInputStream.java:241)
 at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
 ... 19 more
|#]

[#|2009-10-25T21:03:11.828+0800|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=d40ca845-9d3f-451a-a86f-fdfc74b57e98;|服务器启动失败。正在退出...|#]

[#|2009-10-25T21:03:11.828+0800|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|正在关闭服务器...|#]

Cannot bind to URL [rmi://localhost:8686/management/rmi-jmx-connector]相关推荐

  1. xilinx vivado 2019 驱动问题,Connecting to hw_server url TCP:localhost:3121,jtag连接不上

    问题: 在对vivado2019.2软件中烧写比特流时,打开硬件目标找不到JTAG,open target连接不上,显示信息为: INFO: [Labtools 27-2285] Connecting ...

  2. It is possible to bind and connect to localhost:8080 at the same time - application server will prob

    IDEA 启动 Tomcat 服务时显示 It is possible to bind and connect to localhost:8080 at the same time - applica ...

  3. java rmi 多ip_在rmi连接中客户端指定一个ip地址,但程序执行中却转换成另一个地址...

    局域网中的两台电脑想通过rmi技术连接通信 服务器端>ip地址:192.168.10.28 import java.net.MalformedURLException; import java. ...

  4. 什么是rmi?为什么要使用rmi框架?

    大家好,我是IT修真院北京分院第31期的学员,一枚正直纯洁善良的JAVA程序员.今天给大家分享一下,修真院官网JAVA任务8的深度思考--什么是rmi?为什么要使用rmi框架? 1.背景介绍 什么是R ...

  5. 获取url传递的参数url =‘https://localhost?name=sdxpaw=123123‘

    <script>// 获取浏览器路径参数function getQueryString(name) {const baseUrl = 'http://localhost:3000/dash ...

  6. javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616

    spring.activemq.broker-url=tcp://localhost:61616 改为: spring.activemq.broker-url=tcp://0.0.0.0:61616

  7. Could not connect to broker URL: tcp://localhost:61616?wireFormat.maxInactivityDuration=0wireForma

    出现这个错误的原因不在于代码有问题.而是这个功能类似dubbo一样要启动一个类似zookeeper一样的服务. 启动这个服务之后,再去运行代码就不会报错了 ./activemq start

  8. Spring RMI错误:java.rmi.ConnectException: Connection refused to host: 127.0.0.1

    错误现象 在linux上部署RMI服务端程序后,测试无法通过,主要错误如下: Exception in thread "main" org.springframework.remo ...

  9. Java JMX 使用

    文章目录 1. 基本概念 2. 架构 3. Standard MBean 使用 4. Notification JMX(Java Management Extensions,Java管理扩展)是一个为 ...

最新文章

  1. 微信小程序开发视频教程新鲜出炉
  2. strcmp可以比较数组么_6.3 C语言字符数组
  3. 微软服务器无法删除不了,微软终于决定解决 “进程占用而无法删除某文件”的问题...
  4. php网站漏洞检测对sql注入漏洞防护
  5. 【转】Java虚拟机(JVM)以及跨平台原理
  6. 锐捷ap怎么设置_新房装修网络布线方案一:AC+AP模式,弱电箱只放光猫和集成AC...
  7. 【JEECG技术文档】Redis与Eache切换文档
  8. 性能测试--jmeter中使用jsonpath提取响应结果【17】
  9. tpc三次握手与四次挥手
  10. Java——Session使用
  11. 鼠标移到图片上图片放大
  12. 中介者模式:还记得你到单位入职的第一天吗?你有没有遇到文中‘王二’的事呢?
  13. 求函数最值(模拟退火算法C++实现)
  14. xposedhook部分记录
  15. spring--ApplicationContextAware
  16. 运行python程序总是报警告“libpng warning: iCCP: known incorrect sRGB profile”,解决方案:将Anaconda中的libpng版本替换即可
  17. 深度解析NRF24L01
  18. 【OFD】ArrayBuffer 和 Uint8Array
  19. matlab 与VS混合编程的几个问题
  20. javascript练习:输入一个值,判断是不是质子数

热门文章

  1. 调用百度的人脸识别SDK实现人脸检测
  2. 全球各国城镇人口占总人口比例(1960-2019年)
  3. Mac制作U盘系统(OS X El Capitan)教程
  4. JSP电子商务试点网站myeclipse开发mysql数据库BS模式java编程网页结构详细设计
  5. java雍俊海_JAVA程序设计 雍俊海(学习笔记3)
  6. 博图v16组态wincc_48张图,学会西门子WinCC与S71200OPC的通讯方法
  7. Linux查看防火墙状态的两种方式
  8. PHP调用京东联盟开普勒、宙斯API模板
  9. python淘宝爬虫_淘宝直播python爬虫
  10. 培训机构教师自我介绍