Chapter 10. JBoss Configuration and Launch

Now, it is time to configure the JBoss server if it has not been done yet.

Click on the debug shortcut and select Debug… to open the debug configurations.

The debug dialog allows you to configure the available JBoss configurations that will be used for debugging.

In order to view source code when debugging, you must include the project in the source lookup path; otherwise Eclipse will complain that it cannot locate the source.

To specifiy a source lookup path, go into the JBoss launch configuration and select the Source tab. Click on the Add button and select Java Project. Select your project and click OK.

NB : Older version of JBoss Eclipse IDE added all opened projects to the source lookup path, but it lead to source conflicts and was removed.

Select the configuration you want to launch and click on Debug and you will see JBoss starting. The output is sent to the console.