Cannot bind to URL [rmi://localhost:8686/management/rmi-jmx-connector]
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&
? 說是殺毒軟件的問題,正好我用的也是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]的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: numpy序列预处理dna序列_【陪你学
- 下一篇: DIY便携式肖像绘图机