I would like to create multiple instance for wildfly and i am have done following changes:
1. i created folder called foo and it just another copy of standalone folder inside wildfly. i will keep standlone folder as golden master copy.
i.e standalone is instance 1 AND foo is instance 2 .
2. i created two file called foo.bat and foo.conf inside bin folder . ( see attachment)
3.i have changed the port numbers in foo--> standalone.xml ( see attachment)
now when i start the foo.bat i am getting exception as
11:46:34,287 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-
i am not sure am i going in right direction because no document available in uncle google for this.
1. in log i can see this when i start foo.bat (instance 2) JBAS015012: Started FileSystemDeploymentService for directory D:\Test_Multi_inst\wildfly-8.0.0.Final\standalone\deployments
so where i can change this to D:\Test_Multi_inst\wildfly-8.0.0.Final\foo\deployments
Can you anyone help me list of place that need to be changed so that it will helpful for all users.