Wildfly 8, remote debug application

I need to remotely debug y node in a JBoss 8 / Wildfly Cluster. (Running two nodes on one machine)

For this in our host-slave config we have the two nodes configured:

<servers>
        <server name="node1" group="main-server-group" auto-start="true"> 
            <jvm name="wicket" debug-enabled="false">
                <heap size="1024m" max-size="1536m"/>
                <jvm-options>
                     <option value="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787"/>
                </jvm-options>
            </jvm>
        </server>
        <server name="node2" group="main-server-group" auto-start="true">
            <jvm name="wicket" debug-enabled="false">
                <heap size="1024m" max-size="1536m"/>
                <jvm-options>
                    <option value="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8788"/>                       
                </jvm-options>
            </jvm>
            <socket-bindings port-offset="100"/>
        </server>
</servers>

When I now try to connect to each of the remote debugging ports Intellij tells me:

Error running node2: Unable to open debugger port : java.net.ConnectException "Connection refused: connect"

I can confirm the nodes have startet up via the Wildfly management panel.

Also I have checked via telnet on the machine running the nodes, that telnetting the pots is not possible.

Any help appriciated. If anyone has useful links towards a proper documentation of the wildfly config files, this would be appreciated even more.

Thanks in advance

Answers


Got it. The option values need to be seperated.

 <jvm-options>
      <option value="-Xdebug "/>
      <option value="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787"/>
 </jvm-options>

Need Your Help

C# SQLCe Inserting new rows with DataSet without loading the whole table?

c# insert datatable dataset sql-server-ce

I've a SQLCe database with a table. In the application there is a method which should only inserting new rows to this table.

Using dequeueReusableCellWithIdentifier does not appear faster (or lower memory)?

ios objective-c cocoa-touch uitableview

When I want to create a table with custom cells, this is how I will write the standard codes:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.