How to configure JBoss in eclipse

Source: Internet
Author: User
Tags jboss server

Solution: Download a jbosstools plug-in from jboss.org.

1. Go to javasbuilds JBoss tools 3. 2. Copy the corresponding link.
2. in eclipse, click [help]-> [install new software], paste it in the [Work with] Line in the pop-up window, and click [add] to add an update link. then select the newly added update link and select all the plug-ins.(Note that you do not only select JBoss tools)

And install it.

3. In [Window]-> [Preferences]-> [server]-[runtime environments], you can add the JBoss execution environment.
4. Create a JBoss server instance in [Window]-> [show view]-> [others]-> [servers.

A solution with 50 seconds timeout is prompted when JBoss is started in eclipse.
1. modify the startup Timeout: Eclipse 3.4.0 is used as an example. Double-click the created JBoss server in the servers window and set the start time to a greater value in the timeout option.
2. if the problem persists, the JBoss execution environment port configuration may be suspected. In some cases (for example, one machine starts multiple JBoss instances), we may need to modify the default port of JBoss in our project, according to my observation, the method of checking whether the JBoss server is started by eclipse is to check whether JBoss is bound to the port specified in the server instance. double-click the created JBoss server in the servers window. The configuration in [server properties] is the basis for eclipse to determine server startup. the default value is:
address: 127.0.0.1
port: 8080 (. \ JBoss \ Server \ port-bindings.xml)
JNDI port: 1099 (. \ JBoss \ Server \ Default \ conf \ jboss-service.xml)
server configuration: Default
corresponding runtime environment configuration file paths are marked after, modify the port value of [server properties] to the port value in the configuration file.
3. an error still occurs. You can use the command line or TCP view to check the usage of the system port. Is there any other Program occupying the preceding port, if yes, close the program.

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.