获取已使用的端口:6969;启动时tomcat上的嵌套异常? [英] Getting Port already in use: 6969; nested exception on tomcat while start up?

查看:41
本文介绍了获取已使用的端口:6969;启动时tomcat上的嵌套异常?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 8080 端口上发布了一个应用程序,当我使用 url http://localhost 访问它时:8080/fipWebApp/login.do 它工作正常.**我在另一个端口 8888 上发布了相同的应用程序,但是当我在此端口上启动此服务器时,它给了我以下错误

i have my one application published on 8080 port and when i access it with url http://localhost:8080/fipWebApp/login.do it works fine. **I published the same application on another port 8888 but when i start this server on this port it gives me below error

java.rmi.server.ExportException: Port already in use: 6969; nested exception is:  
java.net.BindException: Address already in use: JVM_Bind 
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310) 
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218) **

虽然在控制台堆栈跟踪的最后它也说

Though at last of console stack trace it also says that

Dec 9, 2011 11:31:56 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
Dec 9, 2011 11:31:56 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1793 ms

虽然我没有在端口 8888 上安装任何应用程序,但我不确定我在这里缺少什么?

推荐答案

解决了这个问题.端口 6969 被其他 tomcat 实例用于某些 jmx 服务.Sotpped 实例并摆脱了这个问题.

Got the issue. Port 6969 was used by other instance of tomcat for some jmx service. Sotpped the instance and got rid of this issue .

这篇关于获取已使用的端口:6969;启动时tomcat上的嵌套异常?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆