无法从Eclipse内启动JBoss [英] Unable to start JBoss from within Eclipse

查看:123
本文介绍了无法从Eclipse内启动JBoss的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法从eclipse Indigo启动JBoss服务器5.1.0.GA版本。

I am unable to start JBoss server 5.1.0.GA version from eclipse Indigo.

Eclipse显示我的消息框说服务器JBoss v5.0在本地主机无法在500秒内启动。如果服务器需要更多时间,请尝试增加服务器编辑器中的超时时间。,但在控制台窗口中,我可以看到JBoss已经实际启动了。

Eclipse shows me message box saying 'Server JBoss v5.0 at localhost was unable to start within 500 seconds. If the server requires more time, try increasing the timeout in the server editor.' but in the console window I can see that JBoss has been actually started.

这里是日志的一部分,我可以在eclipse的控制台窗口中看到:

here is some part of log which I can see in console window of eclipse :

    SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
    SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface

15:14:20,212 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
15:14:20,212 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
15:14:20,222 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

    SecureManagementView/remote - EJB3.x Default Remote Business Interface
    SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface

15:14:20,252 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
15:14:20,262 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
15:14:20,272 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

    SecureProfileService/remote - EJB3.x Default Remote Business Interface
    SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface

15:14:20,362 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
15:14:20,412 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
15:14:23,486 INFO  [TomcatDeployment] deploy, ctxPath=/BannedListSearch
15:14:27,532 INFO  [TomcatDeployment] deploy, ctxPath=/IWorkWebApp
15:14:27,813 INFO  [TomcatDeployment] deploy, ctxPath=/
15:14:29,155 INFO  [TomcatDeployment] deploy, ctxPath=/TestWebProject
15:14:30,036 INFO  [TomcatDeployment] deploy, ctxPath=/displaytag-examples-1.2
15:14:30,136 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
15:14:30,276 INFO  [TomcatDeployment] deploy, ctxPath=/HelloWebService
15:14:30,407 ERROR [EngineConfigurationFactoryServlet] Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
15:14:30,687 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8081
15:14:30,707 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
15:14:30,707 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 48s:110ms

我已经增加服务器超时到500秒,然后我也我得到相同的错误。我没有改变任何东西。

I have increased start Timeout of server to 500 seconds then also I am getting same error. I have not changed anything else.

我可以从命令提示符成功启动JBoss,但是同样的服务器没有从eclipse开始。

I am able to start JBoss from command prompt successfully but same server is not getting started from eclipse.

请帮助我启动JBoss服务器。

Please help me to start the JBoss server.

推荐答案

在JBoss中配置的不同于JBoss Eclipse配置中的端口。

Sound to me like the http port you are configured in JBoss is different to the port you have in the Eclipse configuration for JBoss.

Eclipse使用端口配置来监听JBoss的端口,以便可以确定JBoss实际上已经开始了如果它们不同,Eclipse认为JBoss从未启动过,尽管它实际上是根据日志控制台。

Eclipse uses the port configuration to listen to JBoss' port so that it can determine that JBoss has actually started. If they differ, Eclipse thinks JBoss has never started although it actually has according to the log console. Make the ports match and it will probably work.

更新:根据您的日志,JBoss正在使用端口8081作为HTTP:

Updated: According to your log, JBoss is using port 8081 for HTTP:

Starting Coyote HTTP/1.1 on http-127.0.0.1-8081

现在,您必须告诉Eclipse收听该端口,以便可以确定JBoss是否已启动(默认为8080,因此Eclipse将永远不会察觉到!转到您的服务器视图,双击您的JBoss服务器,配置屏幕将出现:

Now you have to tell Eclipse to listen to that port so that it can figure out whether JBoss has started (default is 8080 and therefore Eclipse will never be aware of it!). Go to your servers view, double click on your JBoss server, and the configuration screen will come up:

您必须编辑HTTP端口(在端口框中)并将其设置为8081,以便与您的服务器匹配。

You have to edit the HTTP port (in the 'Port' box) and set it to 8081 so that it matches your server's.

这篇关于无法从Eclipse内启动JBoss的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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