(EXT) JBoss startup error in eclipse: Server JBoss v5.0 at localhost is unable to start within seconds resolved

Source: Internet
Author: User
Tags jboss
Core tip: When JBoss starts in Eclipse, it prompts: ServerJBossv5 0 atlocalhostwasunabletostartwithin seconds. Iftheserver Requiresmoretime, try Increasingthetimeoutintheservereditor. The first time to see this error is due to the problem caused by the times, so the search on the Internet, you get the following solution.

When JBoss starts in Eclipse prompts:

01.Server JBoss v5.0 at localhost is unable to start within seconds. If the server is more than 02.requires, try increasing the timeout in the server editor.

First see this error is due to the problem of time, so the search on the Internet, you can get the following solution, such as the red font to specify the specific start-timeout value of the file to modify a larger number, I did not others greedy, the 50 expanded 10 times times, As a result, this error still occurs when JBoss starts 500s. 500s is not enough ... I'm a little skeptical of whether it's a matter of time. So I read the log of JBoss startup. It turns out that my suspicions are not superfluous. From the log, it turns out that the system 8009 port is occupied, shut down 8009port program, restart JBoss (Start-time still 500s), haha, start successfully. Change the start-time back to 50, still start successfully. Therefore, the real reason for the unable to start within seconds is that the port being used to start the JBoss program is occupied, and the solution is to shut down the program that occupies port8009 or modify the 8009 port that JBoss initiates.

Solution:
Modify the Workspace/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml file.

01.<servers> 02.<server hostname= "localhost" id= "JBoss v5.0 at localhost" name= "JBoss v5.0 at 03.localhost" Runt Ime-id= "JBoss v5.0" server-type= "ORG.ECLIPSE.JST.SERVER.GENERIC.JBOSS5" 04.server-type-id= " Org.eclipse.jst.server.generic.jboss5 "start-timeout=" 1000 "stop-05.timeout=" timestamp= "0" > 06.<map Jndiport= "1099" key= "generic_server_instance_properties" port= "8090" 07.serveraddress= "127.0.0.1" serverConfig= " Default "/> 08.</server> 09.</servers>

Change start-timeout= "50" to start-timeout= "1000"
You can restart eclipse.

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.