When JBoss is started in eclipse, 50 seconds times out.

Source: Internet
Author: User

When JBoss is started in eclipse, the following message is displayed:
Server JBoss V5.0 at localhost was unable to start within 50 seconds. If the server
Requires more time, try increasing the timeout in the server editor.

Solution:
Modify the workspace \. Metadata \. plugins \ org. Eclipse. WST. server. Core \ servers. xml file.
<Servers>
<Server Hostname = "localhost" id = "JBoss V5.0 at localhost" name = "JBoss V5.0
Localhost "RunTime-id =" JBoss V5.0 "server-type =" org. Eclipse. JST. server. Generic. jboss5"
Server-type-id = "org. Eclipse. JST. server. Generic. jboss5" start-Timeout = "1000" stop-
Timeout = "15" timestamp = "0">
<Map jndiport = "1099" Key = "generic_server_instance_properties" Port = "8090"
Serveraddress = "127.0.0.1" serverconfig = "default"/>
</Server>
</Servers>
Change start-Timeout = "50" to start-Timeout = "1000"
Restart eclipse.

Other reasons:
I used to change the port number to 8090, but ignored the changes elsewhere.
C: \ jboss-5.0.0.GA \ Server \ Default \ deploy \ jbossweb. Sar under the server. xml under the corresponding section is also changed
Protocol = "HTTP/1.1" Port = "8090 ". Restart eclipse. Otherwise, eclipse will always work building there.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.