Allow specifying the profile name when remotely deploying to a JBoss 5.1.X-server

Description

When running cargo:deploy with the configuration done according to http://cargo.codehaus.org/JBoss+5.1.x
(Remote deployment against a running container) this happens:

Cannot deploy deployable org.codehaus.cargo.container.jboss.deployable.JBossWAR@!26c06b

... long stack trace ...

1 2 3 4 5 6 7 8 9 10 11 12 Caused by: org.jboss.profileservice.spi.NoSuchProfileException: Profile does not support deployment actions: ProfileKey@199896a5[domain=default, server=myInstance, name=default] at org.jboss.profileservice.management.upload.DeploymentManagerImpl.chec kProfile(DeploymentManagerImpl.java:293) at org.jboss.profileservice.management.upload.DeploymentManagerImpl.load Profile(DeploymentManagerImpl.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRem

Status

Assignee

Savas Ali Tokmen

Reporter

Alix Warnke

Components

Fix versions

Affects versions

1.1.0

Priority

Major