Add Domain mode server to JBoss Developer Studio 8
danielcastro Nov 18, 2014 6:12 AMI need to debug some problems that are happening when I deploy one project over a Cluster. Infinispan is shouting and I need to fix this or aid those who fix.
So I created a domain with 2 servers on my workstation and want to add it to my Developer Studio, but it seems that it is not recognized.
What I do:
- Click over the Sever tab and go to New;
- Select JBoss Community and then Wildfly 8.x
- Mark server as Local and Filesystem and Shell Operations;
- Create a new runtime;
- On name I set to WildFly 8.x Domain
- Home Directory is set to C:\Java\AS\wildfly-8.1.0.Final
- Configuration base directory is "domain"
- Configuration file is domain.xml
- Then Finish
But when I hit Start to Start the Server I get this
09:01:21,043 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final
09:01:23,614 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final
09:01:23,815 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.1.0.Final "Kenny" starting
09:01:26,750 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.Final.jar:8.1.0.Final]
at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:256) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_25]
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,38]
Message: Unexpected element '{urn:jboss:domain:2.1}domain'
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.Final.jar:8.1.0.Final]
... 3 more
09:01:26,753 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
09:01:26,803 INFO [org.jboss.as] (MSC service thread 1-7) JBAS015950: WildFly 8.1.0.Final "Kenny" stopped in 8ms
Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
So, my conclusion is that the JBoss Dev does not directly supports the domain configuration. Is that so?
Any workaround?