2 Replies Latest reply on Nov 8, 2016 12:10 PM by Giacomo Genovese

    Error running in debug mode

    Giacomo Genovese Newbie

      Hi all,

       

      I'm trying to run my application in debug mode as described in Debugging An Application in Wildfly with Eclipse and JBoss Tools - Debugging an Externally launched WildFly but, when I execute ./standalone.sh --debug --server-config=standalone.xml command, I get this error:

      user@user:~/wildfly-8.1.0.CR1/bin$ ./standalone.sh --debug --server-config=standalone-capedwaf-modules.xml

      =========================================================================

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: /home/giacomo/wildfly-8.1.0.CR1

       

       

        JAVA: java

       

       

        JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n

       

       

      =========================================================================

       

       

      Listening for transport dt_socket at address: 8787

      11:11:47,210 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final

      11:11:47,415 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final

      11:11:47,490 INFO  [org.jboss.as] (MSC service thread 1-8) JBAS015899: JBoss Capedwarf 2.0.1.Final (WildFly 8.1.0.CR1) starting

      11:11:47,812 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration

        at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:112) [wildfly-controller-8.1.0.CR1.jar:8.1.0.CR1]

        at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.1.0.CR1.jar:8.1.0.CR1]

        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:256) [wildfly-controller-8.1.0.CR1.jar:8.1.0.CR1]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,1]

      Message: Unexpected element '{urn:jboss:domain:2.2}server'

        at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

        at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

        at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:104) [wildfly-controller-8.1.0.CR1.jar:8.1.0.CR1]

        ... 3 more

       

       

      11:11:47,814 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

       

      I understan that the error is in my standalone.xml at [row,col]:[3,1] but I don't know what is wrong.

      Below my .xml:

      <?xml version='1.0' encoding='UTF-8'?>

       

       

       

      <server xmlns="urn:jboss:domain:2.1">

       

       

       

          <extensions>

              <extension module="org.jboss.as.capedwarf"/>

              <extension module="org.jboss.as.clustering.infinispan"/>

              <extension module="org.jboss.as.clustering.jgroups"/>

              <extension module="org.jboss.as.connector"/>

              <extension module="org.jboss.as.deployment-scanner"/>

              <extension module="org.jboss.as.ee"/>

              <extension module="org.jboss.as.ejb3"/>

              <extension module="org.jboss.as.jaxrs"/>

              <extension module="org.jboss.as.jmx"/>

              <extension module="org.jboss.as.jpa"/>

              <extension module="org.jboss.as.jsf"/>

              <extension module="org.jboss.as.logging"/>

              <extension module="org.jboss.as.mail"/>

              <extension module="org.jboss.as.messaging"/>

              <extension module="org.jboss.as.naming"/>

              <extension module="org.jboss.as.remoting"/>

              <extension module="org.jboss.as.security"/>

              <extension module="org.jboss.as.transactions"/>

              <extension module="org.jboss.as.weld"/>

              <extension module="org.wildfly.extension.io"/>

              <extension module="org.wildfly.extension.undertow"/>

          </extensions>

       

       

       

       

       

          <management>

              <security-realms>

                  <security-realm name="ManagementRealm">

                      <authentication>

                          <local default-user="$local"/>

                          <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>

                      </authentication>

                      <authorization map-groups-to-roles="false">

                          <properties path="mgmt-groups.properties" relative-to="jboss.server.config.dir"/>

                      </authorization>

                  </security-realm>

                  <security-realm name="ApplicationRealm">

                      <authentication>

                          <local default-user="$local" allowed-users="*"/>

                          <properties path="application-users.properties" relative-to="jboss.server.config.dir"/>

                      </authentication>

                      <authorization>

                          <properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>

                      </authorization>

                  </security-realm>

              </security-realms>

              <management-interfaces>

                  <native-interface security-realm="ManagementRealm">

                      <socket-binding native="management-native"/>

                  </native-interface>

                  <http-interface security-realm="ManagementRealm" http-upgrade-enabled="true">

                      <socket-binding http="management-http"/>

                  </http-interface>

              </management-interfaces>

          </management>

       

       

       

          <profile>

              <subsystem xmlns="urn:jboss:domain:capedwarf:1.0"/>

              <subsystem xmlns="urn:jboss:domain:logging:2.0">

                  <console-handler name="CONSOLE">

                      <level name="INFO"/>

                      <formatter>

                          <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>

                      </formatter>

                  </console-handler>

                  <periodic-rotating-file-handler name="FILE" autoflush="true">

                      <formatter>

                          <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>

                      </formatter>

                      <file relative-to="jboss.server.log.dir" path="server.log"/>

                      <suffix value=".yyyy-MM-dd"/>

                      <append value="true"/>

                  </periodic-rotating-file-handler>

                  <logger category="com.arjuna">

                      <level name="WARN"/>

                  </logger>

                  <logger category="org.apache.tomcat.util.modeler">

                      <level name="WARN"/>

                  </logger>

                  <logger category="org.jboss.as.config">

                      <level name="DEBUG"/>

                  </logger>

                  <logger category="sun.rmi">

                      <level name="WARN"/>

                  </logger>

                  <logger category="jacorb">

                      <level name="WARN"/>

                  </logger>

                  <logger category="jacorb.config">

                      <level name="ERROR"/>

                  </logger>

                  <root-logger>

                      <level name="INFO"/>

                      <handlers>

                          <handler name="CONSOLE"/>

                          <handler name="FILE"/>

                      </handlers>

                  </root-logger>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:datasources:2.0">

                  <datasources>

                      <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">

                          <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>

                          <driver>h2</driver>

                          <security>

                              <user-name>sa</user-name>

                              <password>sa</password>

                          </security>

                      </datasource>

                      <drivers>

                          <driver name="h2" module="com.h2database.h2">

                              <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>

                          </driver>

                      </drivers>

                  </datasources>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0">

                  <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:ee:2.0">

                  <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>

                  <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:ejb3:2.0">

                  <session-bean>

                      <stateless>

                          <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>

                      </stateless>

                      <stateful default-access-timeout="5000" cache-ref="simple" passivation-disabled-cache-ref="simple"/>

                      <singleton default-access-timeout="5000"/>

                  </session-bean>

                  <mdb>

                      <resource-adapter-ref resource-adapter-name="org.wildfly.mail.ra:main"/>

                      <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>

                  </mdb>

                  <pools>

                      <bean-instance-pools>

                          <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>

                          <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>

                      </bean-instance-pools>

                  </pools>

                  <caches>

                      <cache name="simple"/>

                      <cache name="distributable" passivation-store-ref="infinispan" aliases="passivating clustered"/>

                  </caches>

                  <passivation-stores>

                      <passivation-store name="infinispan" cache-container="ejb" max-size="10000"/>

                  </passivation-stores>

                  <async thread-pool-name="default"/>

                  <timer-service thread-pool-name="default" default-data-store="default-file-store">

                      <data-stores>

                          <file-data-store name="default-file-store" path="timer-service-data" relative-to="jboss.server.data.dir"/>

                      </data-stores>

                  </timer-service>

                  <thread-pools>

                      <thread-pool name="default">

                          <max-threads count="10"/>

                          <keepalive-time time="100" unit="milliseconds"/>

                      </thread-pool>

                  </thread-pools>

                  <iiop enable-by-default="false" use-qualified-name="false"/>

                  <default-security-domain value="other"/>

                  <default-missing-method-permissions-deny-access value="true"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:io:1.1">

                  <worker name="default"/>

                  <buffer-pool name="default"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:infinispan:2.0">

                  <cache-container name="capedwarf" default-cache="default" module="org.infinispan.query" statistics-enabled="true">

                      <transport lock-timeout="60000"/>

                      <replicated-cache name="data" mode="SYNC">

                          <transaction mode="NON_XA"/>

                          <eviction strategy="LIRS" max-entries="10000"/>

                          <file-store preload="false" purge="false"/>

                      </replicated-cache>

                      <replicated-cache name="metadata" mode="SYNC">

                          <transaction mode="NON_XA"/>

                          <eviction strategy="LIRS" max-entries="10000"/>

                          <file-store preload="false" purge="false"/>

                      </replicated-cache>

                      <replicated-cache name="memcache" statistics-enabled="true" mode="SYNC">

                          <transaction mode="NON_XA" locking="PESSIMISTIC"/>

                          <eviction strategy="LIRS" max-entries="10000"/>

                      </replicated-cache>

                      <replicated-cache name="LuceneIndexesMetadata" mode="SYNC">

                          <transaction mode="NONE"/>

                          <eviction strategy="NONE"/>

                          <file-store preload="true" purge="false"/>

                      </replicated-cache>

                      <replicated-cache name="LuceneIndexesData" mode="SYNC">

                          <transaction mode="NONE"/>

                          <eviction strategy="NONE"/>

                          <file-store preload="true" purge="false"/>

                      </replicated-cache>

                      <replicated-cache name="LuceneIndexesLocking" mode="SYNC">

                          <transaction mode="NONE"/>

                          <eviction strategy="NONE"/>

                      </replicated-cache>

                      <distributed-cache name="default" mode="SYNC">

                          <transaction mode="NON_XA"/>

                          <eviction strategy="LIRS" max-entries="100000"/>

                          <file-store preload="false" purge="false"/>

                          <indexing index="LOCAL">

                              <property name="hibernate.search.default.exclusive_index_use">

                                  false

                              </property>

                              <property name="hibernate.search.default.directory_provider">

                                  infinispan

                              </property>

                              <property name="hibernate.search.infinispan.cachemanager_jndiname">

                                  java:jboss/infinispan/container/capedwarf

                              </property>

                              <property name="hibernate.search.default.worker.backend">

                                  jgroups

                              </property>

                          </indexing>

                      </distributed-cache>

                      <distributed-cache name="datastore_versions" mode="SYNC">

                          <locking isolation="REPEATABLE_READ"/>

                          <transaction mode="NON_XA" locking="OPTIMISTIC"/>

                          <eviction strategy="LIRS" max-entries="100000"/>

                          <file-store preload="false" purge="false"/>

                      </distributed-cache>

                      <distributed-cache name="dist" mode="ASYNC">

                          <transaction mode="NON_XA" locking="PESSIMISTIC"/>

                          <eviction strategy="LIRS" max-entries="100000"/>

                          <file-store preload="false" purge="false"/>

                      </distributed-cache>

                      <distributed-cache name="tasks" mode="ASYNC">

                          <transaction mode="NON_XA"/>

                          <eviction strategy="LIRS" max-entries="10000"/>

                          <file-store preload="false" purge="false"/>

                          <indexing index="LOCAL">

                              <property name="hibernate.search.default.block_waiting_ack">

                                  false

                              </property>

                              <property name="hibernate.search.default.exclusive_index_use">

                                  false

                              </property>

                              <property name="hibernate.search.default.directory_provider">

                                  infinispan

                              </property>

                              <property name="hibernate.search.infinispan.cachemanager_jndiname">

                                  java:jboss/infinispan/container/capedwarf

                              </property>

                              <property name="hibernate.search.default.worker.backend">

                                  jgroups

                              </property>

                          </indexing>

                      </distributed-cache>

                      <distributed-cache name="search" mode="ASYNC">

                          <transaction mode="NON_XA"/>

                          <eviction strategy="LIRS" max-entries="10000"/>

                          <file-store preload="false" purge="false"/>

                          <indexing index="LOCAL">

                              <property name="hibernate.search.default.block_waiting_ack">

                                  false

                              </property>

                              <property name="hibernate.search.default.exclusive_index_use">

                                  false

                              </property>

                              <property name="hibernate.search.default.directory_provider">

                                  infinispan

                              </property>

                              <property name="hibernate.search.infinispan.cachemanager_jndiname">

                                  java:jboss/infinispan/container/capedwarf

                              </property>

                              <property name="hibernate.search.default.worker.backend">

                                  jgroups

                              </property>

                          </indexing>

                      </distributed-cache>

                      <distributed-cache name="prospective_search" mode="ASYNC">

                          <transaction mode="NON_XA"/>

                          <eviction strategy="LIRS" max-entries="10000"/>

                          <file-store preload="false" purge="false"/>

                          <indexing index="LOCAL">

                              <property name="hibernate.search.default.block_waiting_ack">

                                  false

                              </property>

                              <property name="hibernate.search.default.exclusive_index_use">

                                  false

                              </property>

                              <property name="hibernate.search.default.directory_provider">

                                  infinispan

                              </property>

                              <property name="hibernate.search.infinispan.cachemanager_jndiname">

                                  java:jboss/infinispan/container/capedwarf

                              </property>

                              <property name="hibernate.search.default.worker.backend">

                                  jgroups

                              </property>

                          </indexing>

                      </distributed-cache>

                      <distributed-cache name="logs" mode="ASYNC">

                          <transaction mode="NON_XA"/>

                          <eviction strategy="LIRS" max-entries="10000"/>

                          <file-store preload="false" purge="false"/>

                          <indexing index="LOCAL">

                              <property name="hibernate.search.default.block_waiting_ack">

                                  false

                              </property>

                              <property name="hibernate.search.default.exclusive_index_use">

                                  false

                              </property>

                              <property name="hibernate.search.default.directory_provider">

                                  infinispan

                              </property>

                              <property name="hibernate.search.infinispan.cachemanager_jndiname">

                                  java:jboss/infinispan/container/capedwarf

                              </property>

                              <property name="hibernate.search.default.worker.backend">

                                  jgroups

                              </property>

                          </indexing>

                      </distributed-cache>

                      <distributed-cache name="channel" mode="ASYNC">

                          <transaction mode="NON_XA"/>

                          <eviction strategy="LIRS" max-entries="10000"/>

                          <file-store preload="false" purge="false"/>

                          <indexing index="LOCAL">

                              <property name="hibernate.search.default.block_waiting_ack">

                                  false

                              </property>

                              <property name="hibernate.search.default.exclusive_index_use">

                                  false

                              </property>

                              <property name="hibernate.search.default.directory_provider">

                                  infinispan

                              </property>

                              <property name="hibernate.search.infinispan.cachemanager_jndiname">

                                  java:jboss/infinispan/container/capedwarf

                              </property>

                              <property name="hibernate.search.default.worker.backend">

                                  jgroups

                              </property>

                          </indexing>

                      </distributed-cache>

                  </cache-container>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>

              <subsystem xmlns="urn:jboss:domain:jca:2.0">

                  <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>

                  <bean-validation enabled="true"/>

                  <default-workmanager>

                      <short-running-threads>

                          <core-threads count="50"/>

                          <queue-length count="50"/>

                          <max-threads count="50"/>

                          <keepalive-time time="10" unit="seconds"/>

                      </short-running-threads>

                      <long-running-threads>

                          <core-threads count="50"/>

                          <queue-length count="50"/>

                          <max-threads count="50"/>

                          <keepalive-time time="10" unit="seconds"/>

                      </long-running-threads>

                  </default-workmanager>

                  <cached-connection-manager/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:jgroups:2.0" default-stack="udp">

                  <stack name="udp">

                      <transport type="UDP" socket-binding="jgroups-udp"/>

                      <protocol type="PING"/>

                      <protocol type="MERGE3"/>

                      <protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/>

                      <protocol type="FD"/>

                      <protocol type="VERIFY_SUSPECT"/>

                      <protocol type="pbcast.NAKACK2"/>

                      <protocol type="UNICAST2"/>

                      <protocol type="pbcast.STABLE"/>

                      <protocol type="pbcast.GMS"/>

                      <protocol type="UFC"/>

                      <protocol type="MFC"/>

                      <protocol type="FRAG2"/>

                      <protocol type="FORK"/>

                      <protocol type="RSVP"/>

                  </stack>

                  <stack name="tcp">

                      <transport type="TCP" socket-binding="jgroups-tcp"/>

                      <protocol type="MPING" socket-binding="jgroups-mping"/>

                      <protocol type="MERGE2"/>

                      <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>

                      <protocol type="FD"/>

                      <protocol type="VERIFY_SUSPECT"/>

                      <protocol type="pbcast.NAKACK2"/>

                      <protocol type="UNICAST2"/>

                      <protocol type="pbcast.STABLE"/>

                      <protocol type="pbcast.GMS"/>

                      <protocol type="MFC"/>

                      <protocol type="FRAG2"/>

                      <protocol type="FORK"/>

                      <protocol type="RSVP"/>

                  </stack>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:jmx:1.3">

                  <expose-resolved-model/>

                  <expose-expression-model/>

                  <remoting-connector/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:jpa:1.1">

                  <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:mail:2.0">

                  <mail-session name="default" jndi-name="java:jboss/mail/Default">

                      <smtp-server outbound-socket-binding-ref="mail-smtp"/>

                  </mail-session>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:messaging:2.0">

                  <hornetq-server>

                      <persistence-enabled>true</persistence-enabled>

                      <cluster-user>giacomo</cluster-user>

                      <cluster-password>${jboss.messaging.cluster.password:inputcnit}</cluster-password>

                      <jmx-management-enabled>true</jmx-management-enabled>

                      <shared-store>false</shared-store>

                      <journal-file-size>102400</journal-file-size>

                      <journal-min-files>2</journal-min-files>

       

       

       

                      <connectors>

                          <netty-connector name="netty" socket-binding="messaging"/>

                          <netty-connector name="netty-throughput" socket-binding="messaging-throughput">

                              <param key="batch-delay" value="50"/>

                          </netty-connector>

                          <in-vm-connector name="in-vm" server-id="0"/>

                      </connectors>

       

       

       

                      <acceptors>

                          <netty-acceptor name="netty" socket-binding="messaging"/>

                          <netty-acceptor name="netty-throughput" socket-binding="messaging-throughput">

                              <param key="batch-delay" value="50"/>

                              <param key="direct-deliver" value="false"/>

                          </netty-acceptor>

                          <in-vm-acceptor name="in-vm" server-id="0"/>

                      </acceptors>

       

       

       

                      <broadcast-groups>

                          <broadcast-group name="bg-group1">

                              <socket-binding>messaging-group</socket-binding>

                              <broadcast-period>5000</broadcast-period>

                              <connector-ref>

                                  netty

                              </connector-ref>

                          </broadcast-group>

                      </broadcast-groups>

       

       

       

                      <discovery-groups>

                          <discovery-group name="dg-group1">

                              <socket-binding>messaging-group</socket-binding>

                              <refresh-timeout>10000</refresh-timeout>

                          </discovery-group>

                      </discovery-groups>

       

       

       

                      <cluster-connections>

                          <cluster-connection name="my-cluster">

                              <address>jms</address>

                              <connector-ref>netty</connector-ref>

                              <discovery-group-ref discovery-group-name="dg-group1"/>

                          </cluster-connection>

                      </cluster-connections>

       

       

       

                      <security-settings>

                          <security-setting match="#">

                              <permission type="send" roles="guest"/>

                              <permission type="consume" roles="guest"/>

                              <permission type="createNonDurableQueue" roles="guest"/>

                              <permission type="deleteNonDurableQueue" roles="guest"/>

                          </security-setting>

                      </security-settings>

       

       

       

                      <address-settings>

                          <address-setting match="#">

                              <dead-letter-address>jms.queue.DLQ</dead-letter-address>

                              <expiry-address>jms.queue.ExpiryQueue</expiry-address>

                              <redelivery-delay>0</redelivery-delay>

                              <max-size-bytes>10485760</max-size-bytes>

                              <page-size-bytes>2097152</page-size-bytes>

                              <address-full-policy>PAGE</address-full-policy>

                              <message-counter-history-day-limit>10</message-counter-history-day-limit>

                              <redistribution-delay>1000</redistribution-delay>

                          </address-setting>

                      </address-settings>

       

       

       

                      <jms-connection-factories>

                          <connection-factory name="InVmConnectionFactory">

                              <connectors>

                                  <connector-ref connector-name="in-vm"/>

                              </connectors>

                              <entries>

                                  <entry name="java:/ConnectionFactory"/>

                              </entries>

                          </connection-factory>

                          <connection-factory name="RemoteConnectionFactory">

                              <connectors>

                                  <connector-ref connector-name="netty"/>

                              </connectors>

                              <entries>

                                  <entry name="java:jboss/exported/jms/RemoteConnectionFactory"/>

                              </entries>

                              <ha>true</ha>

                              <block-on-acknowledge>true</block-on-acknowledge>

                              <retry-interval>1000</retry-interval>

                              <retry-interval-multiplier>1.0</retry-interval-multiplier>

                              <reconnect-attempts>-1</reconnect-attempts>

                          </connection-factory>

                          <pooled-connection-factory name="hornetq-ra">

                              <transaction mode="xa"/>

                              <connectors>

                                  <connector-ref connector-name="in-vm"/>

                              </connectors>

                              <entries>

                                  <entry name="java:/JmsXA"/>

                                  <entry name="java:jboss/DefaultJMSConnectionFactory"/>

                              </entries>

                          </pooled-connection-factory>

                      </jms-connection-factories>

       

       

       

                      <jms-destinations>

                          <jms-queue name="capedwarfQueue">

                              <entry name="queue/capedwarf"/>

                              <entry name="java:jboss/exported/jms/queue/capedwarf"/>

                          </jms-queue>

                      </jms-destinations>

                  </hornetq-server>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:naming:2.0"/>

              <subsystem xmlns="urn:jboss:domain:remoting:2.0">

                  <http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:resource-adapters:2.0">

                  <resource-adapters>

                      <resource-adapter id="org.wildfly.mail.ra:main">

                          <module slot="main" id="org.wildfly.mail.ra"/>

                      </resource-adapter>

                  </resource-adapters>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:security:1.2">

                  <security-domains>

                      <security-domain name="other" cache-type="none">

                          <authentication>

                              <login-module code="Remoting" flag="optional">

                                  <module-option name="password-stacking" value="useFirstPass"/>

                              </login-module>

                              <login-module code="RealmDirect" flag="required">

                                  <module-option name="password-stacking" value="useFirstPass"/>

                              </login-module>

                          </authentication>

                      </security-domain>

                      <security-domain name="jboss-web-policy" cache-type="none">

                          <authorization>

                              <policy-module code="Delegating" flag="required"/>

                          </authorization>

                      </security-domain>

                      <security-domain name="jboss-ejb-policy" cache-type="none">

                          <authorization>

                              <policy-module code="Delegating" flag="required"/>

                          </authorization>

                      </security-domain>

                  </security-domains>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:transactions:2.0">

                  <core-environment>

                      <process-id>

                          <uuid/>

                      </process-id>

                  </core-environment>

                  <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>

                  <coordinator-environment default-timeout="300"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:undertow:1.1">

                  <buffer-cache name="default"/>

                  <server name="default-server">

                      <ajp-listener name="ajp" socket-binding="ajp"/>

                      <http-listener name="default" socket-binding="http"/>

                      <host name="default-host" alias="localhost">

                          <location name="/" handler="welcome-content"/>

                          <filter-ref name="server-header"/>

                          <filter-ref name="x-powered-by-header"/>

                      </host>

                  </server>

                  <server name="server1">

                      <http-listener name="default1" socket-binding="http1"/>

                      <host name="default-host" alias="localhost">

                          <location name="/" handler="welcome-content"/>

                          <filter-ref name="server-header"/>

                          <filter-ref name="x-powered-by-header"/>

                      </host>

                  </server>

                  <server name="server2">

                      <http-listener name="default2" socket-binding="http2"/>

                      <host name="default-host" alias="localhost">

                          <location name="/" handler="welcome-content"/>

                          <filter-ref name="server-header"/>

                          <filter-ref name="x-powered-by-header"/>

                      </host>

                  </server>

                  <servlet-container name="default">

                      <jsp-config/>

                  </servlet-container>

                  <handlers>

                      <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>

                  </handlers>

                  <filters>

                      <response-header name="server-header" header-name="Server" header-value="Wildfly/8"/>

                      <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="CapeDwarf/2"/>

                  </filters>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:weld:2.0" require-bean-descriptor="true" non-portable-mode="true"/>

          </profile>

       

       

       

          <interfaces>

              <interface name="management">

                  <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>

              </interface>

              <interface name="public">

                  <inet-address value="${jboss.bind.address:127.0.0.1}"/>

              </interface>

              <interface name="unsecure">

                  <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>

              </interface>

          </interfaces>

       

       

       

          <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

              <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>

              <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>

              <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>

              <socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>

              <socket-binding name="http" port="${jboss.http.port:8080}"/>

              <socket-binding name="http1" port="${jboss.http1.port:8180}"/>

              <socket-binding name="http2" port="${jboss.http2.port:8280}"/>

              <socket-binding name="https" port="${jboss.https.port:8443}"/>

              <socket-binding name="jacorb" interface="unsecure" port="3528"/>

              <socket-binding name="jacorb-ssl" interface="unsecure" port="3529"/>

              <socket-binding name="jgroups-mping" port="0" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45700"/>

              <socket-binding name="jgroups-tcp" port="7600"/>

              <socket-binding name="jgroups-tcp-fd" port="57600"/>

              <socket-binding name="jgroups-udp" port="55200" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45688"/>

              <socket-binding name="jgroups-udp-fd" port="54200"/>

              <socket-binding name="messaging" port="5445"/>

              <socket-binding name="messaging-group" port="0" multicast-address="${jboss.messaging.group.address:231.7.7.7}" multicast-port="${jboss.messaging.group.port:9876}"/>

              <socket-binding name="messaging-throughput" port="5455"/>

              <socket-binding name="modcluster" port="0" multicast-address="224.0.1.105" multicast-port="23364"/>

              <socket-binding name="remoting" port="${jboss.remoting.port:4447}"/>

              <socket-binding name="txn-recovery-environment" port="4712"/>

              <socket-binding name="txn-status-manager" port="4713"/>

              <outbound-socket-binding name="mail-smtp">

                  <remote-destination host="${jboss.mail.host:localhost}" port="${jboss.mail.port:25}"/>

              </outbound-socket-binding>

          </socket-binding-group>

       

       

      </server>

       

      Could you help me?

      Thanks.