Win a copy of Programmers Guide to Apache Thrift this week in the Open Source forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

jboss domain mode  RSS feed

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I like to configure an Jboss As 7.1.1 in domain mode.I have 1 host acting as domain controller(192.168.77.139) and other host as host controller(192.168.77.219).
Below is the domain.xml and host.xml on domain controller.
domain.xml
<deployments>
<deployment name="sample.war" runtime-name="sample.war">
<content sha1="80f5053b166c69d81697ba21113c673f8372aca0"/>
</deployment>
</deployments>

<server-groups>
<server-group name="multi" profile="ha">
<jvm name="default">
<heap size="64m" max-size="512m"/>
</jvm>
<socket-binding-group ref="ha-sockets"/>
<deployments>
<deployment name="sample.war" runtime-name="sample.war"/>
</deployments>

host.xml
<host name="ousor" xmlns="urn:jboss:domain:1.2">
<domain-controller>
<local/>
<interface name="management">
<inet-address value="${jboss.bind.address.management:192.168.77.139}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:192.168.77.139}"/>
</interface>
<servers>
<server name="purcelas" group="multi" auto-start="true">
<socket-bindings port-offset="100"/>
<server name="porcusor" group="multi" auto-start="true">
<socket-bindings port-offset="200"/>
</server>

now host controller has:
host.xml
<host name="master" xmlns="urn:jboss:domain:1.2">
<domain-controller>
<remote host="192.168.77.139" port="9999"/>
<interfaces>
<interface name="management">
<inet-address value="${jboss.bind.address.management:192.168.77.139}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:192.168.77.139}"/>
</interface>
<servers>
<server name="porcusor" group="multi" auto-start="true">
<socket-bindings port-offset="200"/>

i start the domain controller bin/domain.sh -b 192.168.77.139.Everything is fine and the sample.war is registered to server porcusor and purcelas.
i start the host controller on 192.168.77.219 like /bin/domain.sh -b 192.168.77.219 -Djboss.domain.master.address=192.168.77.139 -Djboss.domain.master.port=9999

and i have the error on the host controller console:
/bin/bash: indent: command not found
ss Bootstrap Environment

JBOSS_HOME: /jboss-as-7.1.1.Final

JAVA: java

JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.domain.default.config=domain.xml -Djboss.host.default.config=host.xml

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

09:21:33,693 INFO [org.jboss.modules] (main) JBoss Modules version 1.1.1.GA
09:21:34,564 INFO [org.jboss.as.process.Host Controller.status] (main) JBAS012017: Starting process 'Host Controller'
[Host Controller] 09:21:38,521 INFO [org.jboss.modules] (main) JBoss Modules version 1.1.1.GA
[Host Controller] 09:21:39,483 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.2.GA
[Host Controller] 09:21:40,240 INFO [org.jboss.as] (MSC service thread 1-1) JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
[Host Controller] 09:21:45,978 INFO [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.3.GA
[Host Controller] 09:21:46,170 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.network.management: org.jboss.msc.service.StartException in service jboss.network.management: JBAS015810: failed to resolve interface management
[Host Controller] at org.jboss.as.server.services.net.NetworkInterfaceService.start(NetworkInterfaceService.java:97) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
[Host Controller] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
[Host Controller] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
[Host Controller] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
[Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
[Host Controller] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
[Host Controller]
[Host Controller] 09:21:46,521 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.3.GA
[Host Controller] 09:21:46,799 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.3.GA
[Host Controller] 09:21:47,467 INFO [org.jboss.as.controller] (MSC service thread 1-2) JBAS014774: Service status report
[Host Controller] JBAS014777: Services which failed to start: service jboss.network.management: org.jboss.msc.service.StartException in service jboss.network.management: JBAS015810: failed to resolve interface management
[Host Controller]


please guide me.
thanks,
marius

 
Bartender
Posts: 20720
124
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to guide you to the JBoss forum. I'm afraid that there's nothing in what you provided that would make sense to Tomcat users, so I'll pass it on to the JBoss experts.
 
I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!