[jboss-user] [Beginner's Corner] - Re: Change context root?

John Sulik do-not-reply at jboss.com
Mon Oct 31 15:40:52 EDT 2011


John Sulik [http://community.jboss.org/people/jsulik] created the discussion

"Re: Change context root?"

To view the discussion, visit: http://community.jboss.org/message/634339#634339

--------------------------------------------------------------
When the deployment fails, I get the following in my JBoss logs:

15:33:02,252 INFO  [org.jboss.as.server.deployment] (pool-1-thread-7) Content added at location /apps/sulikj/jboss/jboss-as-7.0.0.Final/standalone/data/content/2f/d57013a4d748b495844bf330f9109702314aa4/content
15:33:02,255 ERROR [org.jboss.as.controller] (pool-1-thread-7) Operation ("deploy") failed - address: ([("deployment" => "jboss/bsm.war")]): java.util.NoSuchElementException: No child 'runtime-name' exists
        at org.jboss.dmr.ModelValue.requireChild(ModelValue.java:362)
        at org.jboss.dmr.ObjectModelValue.requireChild(ObjectModelValue.java:298)
        at org.jboss.dmr.ModelNode.require(ModelNode.java:703)
        at org.jboss.as.server.deployment.DeploymentDeployHandler.execute(DeploymentDeployHandler.java:65)
        at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351)
        at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298)
        at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223)
        at org.jboss.as.server.deployment.DeploymentAddHandler.execute(DeploymentAddHandler.java:181)
        at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351)
        at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298)
        at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223)
        at org.jboss.as.controller.CompositeOperationHandler.execute(CompositeOperationHandler.java:83)
        at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351)
        at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298)
        at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223)
        at org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:350)
        at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351)
        at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298)
        at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223)
        at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:119)
        at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doProcessRequest(ModelControllerClientOperationHandler.java:154)
        at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$100(ModelControllerClientOperationHandler.java:85)
        at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.call(ModelControllerClientOperationHandler.java:114)
        at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.call(ModelControllerClientOperationHandler.java:112)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_26]
        at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_26]
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]
        at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]

I haven't been able to find any documentation on the runtime-name element.  I've tried various locations within the pom.xml but can't seem to find the right spot.  Any thoughts?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/634339#634339]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111031/6a381212/attachment.html 


More information about the jboss-user mailing list