专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > JBoss

JBOSS 4.04GA 1099端口有关问题

发布时间:2010-06-14 17:13:50 文章来源:www.iduyao.cn 采编人员:星星草
JBOSS 4.04GA 1099端口问题
我JBOSS的jboss-service.xml和jboss-minimal.xml里面的1098端口改成了1188、1099端口改成了1199,为什么我JBOSS启动的时候还会报下面的错?
javax.naming.NamingException: Could not bind statless proxy with ejb name EntityDaoImpl into JNDI under jndiName: /EntityDaoImpl/remote [Root exception is javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]]


------解决方案--------------------
运行这个命令行,你将会看到命令行可用的参数列表,
java -cp $jboss/bin/run.jar org.jboss.Main

里面可能会有些关于端口的参数呢。

有些配置可能直接写成固定值 1099,有些可能是用变量设置的,变量的值可以用命令行参数来设置值。
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: