<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
AS7 domain deployment failed
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/WeinanLi">Weinan Li</a> in <i>JBoss AS7 Development</i> - <a href="http://community.jboss.org/message/614243#614243">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p><span style="font-size: 10pt;">Hi,</span></p><p><span style="font-size: 10pt;"> I've created a webapp using maven command:</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre"><code class="jive-code">mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp
</code></pre><p><span style="font-family: Monaco; font-size: 10pt;"><br/></span></p><p><span style="font-size: 10pt;">And it creates a war with the following contents:</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre"><code class="jive-code">|-- my-webapp
|   |-- META-INF
|   |-- WEB-INF
|   |   |-- classes
|   |   `-- web.xml
|   `-- index.jsp
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-family: Monaco; font-size: 10pt;"><span>It's a very simple WAR. I've tried to deploy it in a server group called 'main-server-group' with http management console: </span><a class="jive-link-external-small" href="http://myip:9990/App.html" target="_blank">http://myip:9990/App.html</a><span>, but the deployment get failed with following message on both master and slave host:</span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre"><code class="jive-code">[Server:server-one] 22:34:52,146 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "my-webapp.war"
[Server:server-one] 22:34:52,462 INFO  [org.jboss.as.server.controller] (pool-1-thread-2) Deployment of "my-webapp.war" was rolled back with failure message {"Services with missing/unavailable dependencies" => ["jboss.web.\"my-webapp.war\""]}
[Server:server-one] 22:34:52,462 INFO  [org.jboss.as.controller] (pool-1-thread-2) Service status report
[Server:server-one]    New missing/unsatisfied dependencies:
[Server:server-one]       service jboss.web.host.localhost (missing)
[Server:server-one]
[Server:server-one] 22:34:52,484 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) Stopped deployment my-webapp.war in 22ms
[Server:server-one] 22:34:52,485 INFO  [org.jboss.as.controller] (MSC service thread 1-8) Service status report
[Server:server-one]    Newly corrected services:
[Server:server-one]       service jboss.web.host.localhost (no longer required)
[Server:server-one]
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have no idea how I can solve the problem. Can anyone help? Thanks!</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/614243#614243">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss AS7 Development at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>