[JIRA] [weblogic-deployer-plugin] (JENKINS-32172) Jenkins Plugin for WebSphere Deployer Multiple reference to ObjectName in ClassLoader

74 views
Skip to first unread message

thomasgiraud.ats@gmail.com (JIRA)

unread,
Dec 22, 2015, 10:19:03 AM12/22/15
to jenkinsc...@googlegroups.com
Thomas Giraud created an issue
 
Jenkins / Bug JENKINS-32172
Jenkins Plugin for WebSphere Deployer Multiple reference to ObjectName in ClassLoader
Issue Type: Bug Bug
Assignee: Raphael CHAUMIER
Components: weblogic-deployer-plugin
Created: 22/Dec/15 3:18 PM
Environment: WAS 7.0
Ear Build With JDK 1.6 IBM
JENKINS_JAVA_HOME="/usr/java/jdk1.7.0_75/jre"
Priority: Major Major
Reporter: Thomas Giraud

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....

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

rcr@orange.fr (JIRA)

unread,
Dec 22, 2015, 4:39:01 PM12/22/15
to jenkinsc...@googlegroups.com
Raphael CHAUMIER commented on Bug JENKINS-32172
 
Re: Jenkins Plugin for WebSphere Deployer Multiple reference to ObjectName in ClassLoader

Hi,

This is not the right plugin. I'm maintaining the weblogic-deployer-plugin not the websphere deployer plugin.

Regards,

rcr@orange.fr (JIRA)

unread,
Dec 22, 2015, 4:40:01 PM12/22/15
to jenkinsc...@googlegroups.com

rcr@orange.fr (JIRA)

unread,
Dec 22, 2015, 4:40:01 PM12/22/15
to jenkinsc...@googlegroups.com
Raphael CHAUMIER updated an issue
Change By: Raphael CHAUMIER
Component/s: websphere-deployer-plugin
Component/s: weblogic-deployer-plugin

sshrinivasan@ouc.com (JIRA)

unread,
Jan 11, 2016, 4:51:06 PM1/11/16
to jenkinsc...@googlegroups.com
SHEKHAR SHRINIVASAN commented on Bug JENKINS-32172
 
Re: Jenkins Plugin for WebSphere Deployer Multiple reference to ObjectName in ClassLoader

Hi,

I was getting the same exception when I tried to deploy to WebSphere cluster on 7.0.0.25. Then I copied the client and orb jars from WebSphere 8.0 and tried to deploy again and this time got the following exception: Any ideas ?

Using latest version of Jenkins
Websphere Deployer plugin 1.3.4

BUILD SUCCESSFUL
Total time: 22 seconds
Archiving artifacts


Connecting to IBM WebSphere Application Server...
The following artifacts will be deployed in this order...
-------------------------------------------

My-OUC.war
-------------------------------------------
Generating EAR For Artifact: My-XXX
Deploying 'My-XXX' to IBM WebSphere Application Server
Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Failed to install artifact: ADMA0092E: An unexpected exception occurred while preparing task WebServicesClientBindPortInfo. Exception: java.lang.ExceptionInInitializerError
at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.installArtifact(WebSphereDeploymentService.java:251)
at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.deployArtifact(WebSphereDeployerPlugin.java:227)
at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:201)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
at hudson.model.Run.execute(Run.java:1763)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)

Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE
Finished: FAILURE

sshrinivasan@ouc.com (JIRA)

unread,
Jan 12, 2016, 4:56:04 PM1/12/16
to jenkinsc...@googlegroups.com

madhuwizkid@gmail.com (JIRA)

unread,
Apr 7, 2016, 11:15:02 AM4/7/16
to jenkinsc...@googlegroups.com
Madhu Wizkid commented on Bug JENKINS-32172
 
Re: Jenkins Plugin for WebSphere Deployer Multiple reference to ObjectName in ClassLoader

I have similar can you please help me fixing it for websphere ,
Greg Peters, can you pleae help me out fixing this issue

The following artifacts will be deployed in this order...
-------------------------------------------

XXXXXXX.ear
-------------------------------------------
Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Could not determine if artifact 'XXXXXXX' 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)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
at hudson.model.Run.execute(Run.java:1763)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)

Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE

madhuwizkid@gmail.com (JIRA)

unread,
Apr 11, 2016, 3:51:02 AM4/11/16
to jenkinsc...@googlegroups.com

madhuwizkid@gmail.com (JIRA)

unread,
Apr 11, 2016, 3:51:02 AM4/11/16
to jenkinsc...@googlegroups.com

gregpeters00@gmail.com (JIRA)

unread,
Sep 28, 2016, 12:52:02 PM9/28/16
to jenkinsc...@googlegroups.com
Greg Peters closed an issue as Not A Defect
 

Closing issue. After working with Tim Muse, we've discovered this issue is related to the version of Java that Jenkins is running. If Jenkins is running Oracle JRE 1.8 and you're wanting to deploy to WAS v7. You must download the JRE for Jenkins. Why? Because the websphere .jar files you included in the WEB-INF/lib of the plugin were compiled with an older version of JRE (likely JDK 1.5).

Change By: Greg Peters
Status: Open Closed
Resolution: Not A Defect
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages