Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-2007

Weblogic JMX Deployment ignores server target

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.0.1.Final
    • WebLogic Containers
    • None
    • Hide

      Specify a target server, deploy an application that executes startup operations.

      Show
      Specify a target server, deploy an application that executes startup operations.

      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

            vineet.reynolds_jira Vineet Reynolds (Inactive)
            rwilco89 Roger Wilco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: