2011-08-11 5 views
6

EclipseのIndigoからJBossサーバー5.1.0.GAを起動できません。Eclipse内からJBossを起動できません

Eclipseのメッセージボックスに 'と表示されます。サーバーJBoss v5.0 at localhostは500秒以内に起動できませんでした。サーバーに時間がかかる場合は、サーバー・エディターでタイムアウトを長くしてみてください。 'ですが、コンソールウィンドウではJBossが実際に起動されていることがわかります。ここ

は、私は日食のコンソールウィンドウで見ることができるログの一部です:

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秒に、サーバの起動タイムアウトを増加しています。私は何も変えていない。

コマンドプロンプトからJBossを正常に起動できますが、同じサーバーはEclipseから起動していません。

JBossサーバーの起動を手伝ってください。

答えて

13

JBossで設定されているhttpポートのようなサウンドは、JBossのEclipse設定で使用しているポートとは異なります。

Eclipseはポート設定を使用してJBossのポートを監視し、JBossが実際に起動したことを判断できるようにします。それらが異なる場合、EclipseはJBossが実際にはログコンソールに従っているにもかかわらず起動していないと考えています。ポートを一致させると、おそらく動作します。

更新日:はあなたのログによると、JBossがHTTPのポート8081を使用している:

Starting Coyote HTTP/1.1 on http-127.0.0.1-8081 

今、あなたは(それがJBossが開始されているかどうかを把握できるように、そのポートに耳を傾けるEclipseを指示する必要がありますデフォルトは8080なので、Eclipseはそれを意識することはありません!)。

enter image description here

をあなたが(「ポート」ボックスで)HTTPポートを編集し、8081に設定する必要があります、あなたのJBossサーバ上でダブルクリックを表示し、設定画面が出てくる、あなたのサーバーに移動しますそれがあなたのサーバーのものと一致するようにします。

+0

こんにちは、Gonzalo Garciaさん、どのようにポートが一致するようにしますか? – Shekhar

+0

ありがとう。出来た !!! – Shekhar

+0

私は同じ問題を抱えていました...この提案で解決しました..ありがとうございます:) –

関連する問題