Roger Wilco created ARQ-2007:
--------------------------------
Summary: Weblogic JMX Deployment ignores server target
Key: ARQ-2007
URL:
https://issues.jboss.org/browse/ARQ-2007
Project: Arquillian
Issue Type: Bug
Components: WebLogic Containers
Affects Versions: 1.0.1.Final
Environment: WebLogic 12c (12.1.3, 12.2.1)
Reporter: Roger Wilco
Assignee: Vineet Reynolds
Deploying to WebLogic server using the remote container module is performed through JMX.
The DeploymentManager MBean API being used (deploy method) does not support deploy
targets, which are defined in the Arquillian container configuration.
i.e. deploy(name, applicationPath, plan)
The application is then deployed to all managed servers even if the test is only executed
on the specified target.
For applications that execute initialization and deploy time operations this can cause
severe problems when the application is started on multiple managed servers (e.g. admin
server and a managed server).
For applications that are not designed for non-clustered multiple server deployment, this
prevents the ability to execute tests in an domain that has managed servers in addition to
the admin server.
The MBean has a second deploy method that takes a target parameter.
i.e. deploy(name, applicationPath, targets, plan, deploymentOptions)
If this method was used instead of the simple version then the application would be
deployed to the specified server instead of all domain servers.
If this was used then the application
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)