JBOSS 点滴

丰丰的博客

eclipse 学习总结

出现错误:
     Activation.main:   出现异常:Port   already   in   use:   1098;   nested   exception   is:  
java.net.BindException:   Address   already   in   use:   JVM_Bind
java.rmi.server.ExportException:   Port   already   in   use:   1098;   nested   exception   is:  
java.net.BindException:   Address   already   in   use:   JVM_Bind
at   sun.rmi.transport.tcp.TCPTransport.listen(Unknown   Source)
at   sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown   Source)
at   sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown   Source)
at   sun.rmi.transport.LiveRef.exportObject(Unknown   Source)
at   sun.rmi.server.UnicastServerRef.exportObject(Unknown   Source)
at   sun.rmi.registry.RegistryImpl.setup(Unknown   Source)
at   sun.rmi.registry.RegistryImpl. <init> (Unknown   Source)
at   java.rmi.registry.LocateRegistry.createRegistry(Unknown   Source)
at   sun.rmi.server.Activation.main(Unknown   Source)
Caused   by:   java.net.BindException:   Address   already   in   use:   JVM_Bind
at   java.net.PlainSocketImpl.socketBind(Native   Method)
at   java.net.PlainSocketImpl.bind(Unknown   Source)
at   java.net.ServerSocket.bind(Unknown   Source)
at   java.net.ServerSocket. <init> (Unknown   Source)
at   java.net.ServerSocket. <init> (Unknown   Source)
at   sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(Unknown   Source)
at   sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(Unknown   Source)
at   sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown   Source)
...   9   more
原因及解决办法:
由于端口在使用的原因,出现这个问题可能是你没有正常关闭服务器,解决的办法是在任务管理器中把javaw.exe进程(可能有多个这样的进程)关掉,重启服务器就可以了

posted on 2008-08-03 17:14 半导体 阅读(363) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航: