Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32172

Jenkins Plugin for WebSphere Deployer Multiple reference to ObjectName in ClassLoader

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • None
    • WAS 7.0
      Ear Build With JDK 1.6 IBM
      JENKINS_JAVA_HOME="/usr/java/jdk1.7.0_75/jre"

      When i deploy with the deployer plugin Websphere we have this error :

      _Building in workspace /var/lib/jenkins/workspace/AssysTestDeploy
      Connecting to IBM WebSphere Application Server...
      The following artifacts will be deployed in this order...
      -------------------------------------------
      Assys_5.8RC1_22122015-1516.ear
      -------------------------------------------
      Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Could not determine if artifact 'Assys_DEV' is installed: javax.management.ObjectName cannot be cast to javax.management.ObjectName
      at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:357)
      at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.stopArtifact(WebSphereDeployerPlugin.java:243)
      at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:198)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)_

      i think it's normal because we have several implementation of this class ObjectName... ยจ
      One From the IBM jar : com.ibm.ws.admin.client_7.0.0.jar
      And an other on from JRE....

            gpeters Greg Peters
            thomas_flash Thomas Giraud
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: