[jboss-user] [JBoss Tools] - Re: WTP stops all servers when stopping one

Rob Stryker do-not-reply at jboss.com
Wed Dec 21 15:03:52 EST 2011


Rob Stryker [http://community.jboss.org/people/rob.stryker] created the discussion

"Re: WTP stops all servers when stopping one"

To view the discussion, visit: http://community.jboss.org/message/642748#642748

--------------------------------------------------------------
Hi Henri!  

The server has its own ports that it listens to in the bindings xml, as you know. Unfortunately, the tools cannot automatically know exactly how you launched your server and everything about it. If you open the server editor, (double-click the server), you can see a section labeled "Ports".  Here, the tools outline what ports they EXPECT to communicate with the server on. 

These are automatically discovered via xpaths, but, if you change your binding ports via launch args, then odds are the toolset is using the wrong xpath. IT's most  likely using the xpaths for the default bindings, scanning your xml files for that xpath, and then taking that value. You can get around this by unchecking "Automatically Detect" and instead putting in the direct port you want the eclipse plugins to use when communicating with that server. 

Another option is to click on "configure", and, in the dialog that comes up, select one of the other xpaths that are listed.  (To add your own xpaths, in the servers view, expand the server, and the section labeled "XML Configuration". Inside, you should see a Ports folder, and, in there, you can add your own xpaths. 

Hope this helps!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/642748#642748]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111221/a163f223/attachment.html 


More information about the jboss-user mailing list