Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348276

Summary: JBoss 6.1 snapshot will not start in WTP
Product: [WebTools] WTP ServerTools Reporter: Wolfgang Knauf <wolfgang.knauf>
Component: jst.serverAssignee: jst.server <jst.server-inbox>
Status: CLOSED INVALID QA Contact: Angel Vera <arvera>
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:

Description Wolfgang Knauf CLA 2011-06-03 16:15:34 EDT
Build Identifier: 

See this JBoss forum thread: http://community.jboss.org/thread/167106

To sum it up: when starting JBoss 6.1 using the WTP server runtime "JBoss 5.0", there will be no console output at all and the server will not be detected as started.

For the current JBoss 6.1 snapshot, a new VM argument must to be added to the server definition:

<vmParameters>-Dprogram.name=run.bat .. -Dlogging.configuration=file:"${serverRootDirectory}/logging.properties"</vmParameters>

The current 6.1 snapshot can be found here:
https://hudson.jboss.org/jenkins/view/JBoss%20AS/job/JBoss-AS-6.1.x/lastBuild/

Probably this means that a new server runtime has to be created for JBoss 6.1, because adding this argument would probably break older JBoss versions.

For those who run in this issue and want to use : I have a modified WTP JBoss plugin here, which contains a working server definition for JBoss 6.1: http://www.cs.hs-rm.de/~knauf/public

Reproducible: Always
Comment 1 Wolfgang Knauf CLA 2014-02-06 14:44:34 EST
I consider this irrelevant now, because "JBoss Tools" plugin is the way to use for JBoss servers. See bug #427598