[jboss-as7-dev] Domain deployment fails
Brian Stansberry
brian.stansberry at redhat.com
Wed Apr 6 11:39:52 EDT 2011
Deployment to the domain is more complex, as once the content is added
to the domain, there's a step to map it to server a server-group.
The high level "deploy" command in the CLI is currently oriented toward
standalone mode, and internally the CLI is handling it by asking the
domain controller to do something that's not appropriate. We need to fix
that.
Later today I'm going to write a wiki page re: deployment that will
describe how to do domain deployments with lower level operations.
On 4/6/11 9:13 AM, Marchioni Francesco wrote:
> Hi all JBoss developers,
>
> I’m trying to deploy a .war artifact on a JBoss AS 7 domain using the
> cli interface.
>
> [localhost:9999 deploy] deploy Test.war
>
> And on the console:
>
> [Host Controller] 16:07:19,375 ERROR [org.jboss.as.controller]
> (pool-1-thread-23) operation ("deploy") failed - address:
> ([("deployment" => "Test.war")]): java.lang.IllegalStateException: No
> handler for deploy at address [("deployment"
>
> => "Test.war")]
>
> [Host Controller] at
> org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:254)
>
> [Host Controller] at
> org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:216)
>
> [Host Controller] at
> org.jboss.as.controller.BasicModelController.execute(BasicModelController.java:77)
>
> [Host Controller] at
> org.jboss.as.controller.SynchronousOperationSupport.execute(SynchronousOperationSupport.java:88)
>
> [Host Controller] at
> org.jboss.as.domain.controller.DomainModelImpl.executeForDomain(DomainModelImpl.java:329)
>
> [Host Controller] at
> org.jboss.as.domain.controller.DomainControllerImpl$LocalDomainModelAdapter.execute(DomainControllerImpl.java:912)
>
> [Host Controller] at org.jboss.as.domain.controller.DomainControllerImpl.e
>
> Has anyone managed to deploy an application domain-wide ?
>
> Thanks a lot
>
> Francesco
>
> --------------------------------------------------------------------------------------------------------
> Le informazioni trasmesse possono contenere documenti confidenziali e/o
> materiale riservato; sono quindi da intendersi esclusivamente ad uso
> della persona e/o societa a cui sono indirizzate. Qualsiasi modifica,
> inoltro, diffusione o altro utilizzo, relativo alle informazioni
> trasmesse, da parte di persone e/o societa diversi dai destinatari
> indicati, e proibito ai sensi della legge 196/2003. Qualora questa mail
> fosse stata ricevuta per errore, si prega di contattare il mittente e
> cancellarne il contenuto. -- Privileged/Confidential Information may be
> contained in this message. If you are not the addressee indicated in
> this message (or responsible for delivery of the message to such
> person), you may not copy or deliver this message to anyone. In such
> case, you should destroy this message and kindly notify the sender by
> reply email. Please advise immediately if you or your employer does not
> consent to Internet email for messages of this kind. Opinions,
> conclusions and other information in this message that do not relate to
> the official business of my firm shall be understood as neither given
> nor endorsed by it.
> --------------------------------------------------------------------------------------------------------
>
>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
More information about the jboss-as7-dev
mailing list