[jboss-dev-forums] [JBoss AS7 Development] - AS7 domain deployment failed
Weinan Li
do-not-reply at jboss.com
Sat Jul 9 10:53:37 EDT 2011
Weinan Li [http://community.jboss.org/people/WeinanLi] created the discussion
"AS7 domain deployment failed"
To view the discussion, visit: http://community.jboss.org/message/614243#614243
--------------------------------------------------------------
Hi,
I've created a webapp using maven command:
mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp
And it creates a war with the following contents:
|-- my-webapp
| |-- META-INF
| |-- WEB-INF
| | |-- classes
| | `-- web.xml
| `-- index.jsp
It's a very simple WAR. I've tried to deploy it in a server group called 'main-server-group' with http management console: http://myip:9990/App.html, but the deployment get failed with following message on both master and slave host:
[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]
I have no idea how I can solve the problem. Can anyone help? Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/614243#614243]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110709/6e4320ff/attachment.html
More information about the jboss-dev-forums
mailing list