Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1608

Deployment is not copied to host added to domain after deployment.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.1.0.Beta1
    • 7.0.1.Final
    • Domain Management
    • None
    • Hide

      Copy build to 172.16.254.128:/opt/jboss/jboss-as-7.1.0.Alpha1-SNAPSHOT/
      edit domain/configuration/host.xml
      <interface name="management">
      <inet-address value="172.16.254.128"/>
      </interface>
      <interface name="public">
      <inet-address value="172.16.254.128"/>
      </interface>

      start AS using
      /opt/jboss/jboss-as-7.1.0.Alpha1-SNAPSHOT/bin/domain.sh

      run CLI
      /opt/jboss/jboss-as-7.1.0.Alpha1-SNAPSHOT/bin/jboss-admin.sh
      [disconnected /] connect 172.16.254.128
      [domain@172.16.254.128:9999 /] deploy /root/hello-servlet-noEJBnoDist.war --server-groups=main-server-group

      Copy build to 172.16.254.129:/opt/jboss/jboss-as-7.1.0.Alpha1-SNAPSHOT/
      edit domain/configuration/host.xml
      change name to
      name="node1"

      specify remote domain controller
      <remote host="172.16.254.128" port="9999"/>

      change inet addresses
      <interfaces>
      <interface name="management">
      <inet-address value="172.16.254.129"/>
      </interface>
      <interface name="public">
      <inet-address value="172.16.254.129"/>
      </interface>
      </interfaces>

      start AS on second host
      /opt/jboss/jboss-as-7.1.0.Alpha1-SNAPSHOT/bin/domain.sh

      console output on master:
      [Host Controller] 04:05:03,611 INFO [org.jboss.domain] (pool-3-thread-5) Registered remote slave host node1

      console output on node:
      ...
      [Server:server-two] 04:07:00,985 INFO [org.jboss.as] (MSC service thread 1-1) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" starting
      [Server:server-one] 04:07:01,184 INFO [org.jboss.as] (MSC service thread 1-1) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" starting
      [Server:server-two] 04:07:04,416 ERROR [org.jboss.as.controller] (Controller Boot Thread) Operation ("add") failed - address: ([("deployment" => "hello-servlet-noEJBnoDist.war")]) - failure description: "No deployment content with hash 348cc2e0757f9a2f27af075e8178354aa418cbab is available in the deployment content repository."
      [Server:server-two] 04:07:04,448 ERROR [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" started (with errors) in 15315ms - Started 18 of 21 services (2 services failed or missing dependencies, 1 services are passive or on-demand)
      [Server:server-one] 04:07:04,536 ERROR [org.jboss.as.controller] (Controller Boot Thread) Operation ("add") failed - address: ([("deployment" => "hello-servlet-noEJBnoDist.war")]) - failure description: "No deployment content with hash 348cc2e0757f9a2f27af075e8178354aa418cbab is available in the deployment content repository."
      [Server:server-one] 04:07:04,544 ERROR [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" started (with errors) in 15799ms - Started 18 of 21 services (2 services failed or missing dependencies, 1 services are passive or on-demand)

      Show
      Copy build to 172.16.254.128:/opt/jboss/jboss-as-7.1.0.Alpha1-SNAPSHOT/ edit domain/configuration/host.xml <interface name="management"> <inet-address value="172.16.254.128"/> </interface> <interface name="public"> <inet-address value="172.16.254.128"/> </interface> start AS using /opt/jboss/jboss-as-7.1.0.Alpha1-SNAPSHOT/bin/domain.sh run CLI /opt/jboss/jboss-as-7.1.0.Alpha1-SNAPSHOT/bin/jboss-admin.sh [disconnected /] connect 172.16.254.128 [domain@172.16.254.128:9999 /] deploy /root/hello-servlet-noEJBnoDist.war --server-groups=main-server-group Copy build to 172.16.254.129:/opt/jboss/jboss-as-7.1.0.Alpha1-SNAPSHOT/ edit domain/configuration/host.xml change name to name="node1" specify remote domain controller <remote host="172.16.254.128" port="9999"/> change inet addresses <interfaces> <interface name="management"> <inet-address value="172.16.254.129"/> </interface> <interface name="public"> <inet-address value="172.16.254.129"/> </interface> </interfaces> start AS on second host /opt/jboss/jboss-as-7.1.0.Alpha1-SNAPSHOT/bin/domain.sh console output on master: [Host Controller] 04:05:03,611 INFO [org.jboss.domain] (pool-3-thread-5) Registered remote slave host node1 console output on node: ... [Server:server-two] 04:07:00,985 INFO [org.jboss.as] (MSC service thread 1-1) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" starting [Server:server-one] 04:07:01,184 INFO [org.jboss.as] (MSC service thread 1-1) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" starting [Server:server-two] 04:07:04,416 ERROR [org.jboss.as.controller] (Controller Boot Thread) Operation ("add") failed - address: ( [("deployment" => "hello-servlet-noEJBnoDist.war")] ) - failure description: "No deployment content with hash 348cc2e0757f9a2f27af075e8178354aa418cbab is available in the deployment content repository." [Server:server-two] 04:07:04,448 ERROR [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" started (with errors) in 15315ms - Started 18 of 21 services (2 services failed or missing dependencies, 1 services are passive or on-demand) [Server:server-one] 04:07:04,536 ERROR [org.jboss.as.controller] (Controller Boot Thread) Operation ("add") failed - address: ( [("deployment" => "hello-servlet-noEJBnoDist.war")] ) - failure description: "No deployment content with hash 348cc2e0757f9a2f27af075e8178354aa418cbab is available in the deployment content repository." [Server:server-one] 04:07:04,544 ERROR [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" started (with errors) in 15799ms - Started 18 of 21 services (2 services failed or missing dependencies, 1 services are passive or on-demand)

    Attachments

      Activity

        People

          bstansbe@redhat.com Brian Stansberry
          matejonnet Matej Lazar
          Votes:
          0 Vote for this issue
          Watchers:
          4 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: