java.security.PrivilegedActionException: javax.management.RuntimeOperationsException: The "name" parameter cannot be null.

Jenkins JIRA | Nhu Nguyen | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [JENKINS-31450] org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Failed to install artifact: Failure uploading archive to server - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    java.security.PrivilegedActionException: javax.management.RuntimeOperationsException: The "name" parameter cannot be null.
  2. 0

    Hi, I can connect to remote WAS ND 8.x and run a deployment of EAR file but got the error Started by user Nhu Nguyen Building in workspace D:\Bitnami\jenkins-1.635-1\apps\jenkins\jenkins_home\jobs\Projects\jobs\BAMS eBAMS\jobs\Delivery\jobs\Deploy to UAT\workspace Unable to find a build for artifact copy from: Projects/BAMS eBAMS/Developer Jobs/Basic Maven Build Connecting to IBM WebSphere Application Server... The following artifacts will be deployed in this order... ------------------------------------------- bo-business-ear-4.7.0.1.ear ------------------------------------------- Deploying 'bo-business-ear-4.7.0.1' to IBM WebSphere Application Server Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Failed to install artifact: Failure uploading archive to server 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:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) 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 Notifying upstream projects of job completion Finished: FAILURE I checked also the output from Jenkins server and found Nov 09, 2015 2:18:54 PM hudson.model.Run execute INFO: Projects/BAMS eBAMS/Delivery/Deploy to UAT #22 main build action completed: SUCCESS Nov 09, 2015 2:18:54 PM com.ibm.websphere.management.AdminClientFactory WARNING: ADMC0046W: The system failed to load properties from com.ibm.SOAP.configURL: file:null/properties/soap.client.props Nov 09, 2015 2:19:11 PM hudson.model.Run execute INFO: Projects/BAMS eBAMS/Delivery/Deploy to UAT #23 main build action completed: SUCCESS Nov 09, 2015 2:19:11 PM com.ibm.websphere.management.AdminClientFactory WARNING: ADMC0046W: The system failed to load properties from com.ibm.SOAP.configURL: file:null/properties/soap.client.props Nov 09, 2015 2:19:38 PM hudson.model.Run execute INFO: Projects/BAMS eBAMS/Delivery/Deploy to UAT #24 main build action completed: SUCCESS Nov 09, 2015 2:19:38 PM com.ibm.websphere.management.AdminClientFactory WARNING: ADMC0046W: The system failed to load properties from com.ibm.SOAP.configURL: file:null/properties/soap.client.props Nov 09, 2015 2:19:56 PM com.ibm.ws.management.filetransfer.client.FileTransferClientImpl AUDIT: ADFS0109E: FileTransferClient failed to get server configuration information: java.security.PrivilegedActionException: javax.management.RuntimeOperationsException: The "name" parameter cannot be null. at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5608) at com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.sendGetServerConfigRequest(FileTransferClientImpl.java:2539) at com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.initialize(FileTransferClientImpl.java:2389) at com.ibm.ws.management.fileservice.FileTransferFactory.getFileTransferClient(FileTransferFactory.java:166) at com.ibm.ws.management.application.client.AppInstallHelper.copyToServer(AppInstallHelper.java:1240) 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 com.ibm.websphere.management.application.AppManagementProxy.uploadArchive(AppManagementProxy.java:718) at com.ibm.websphere.management.application.AppManagementProxy.installApplication(AppManagementProxy.java:507) at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.installArtifact(WebSphereDeploymentService.java:237) 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:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: javax.management.RuntimeOperationsException: The "name" parameter cannot be null. at com.ibm.ws.management.AdminClientImpl.assertObjectNameValid(AdminClientImpl.java:340) at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:209) at com.ibm.ws.management.filetransfer.client.FileTransferClientImpl$1.run(FileTransferClientImpl.java:2536) at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5599) ... 22 more Caused by: java.lang.IllegalArgumentException: The "name" parameter cannot be null. ... 26 more Cuold you please help to check this issue? Thanks,

    Jenkins JIRA | 1 year ago | Nhu Nguyen
    java.security.PrivilegedActionException: javax.management.RuntimeOperationsException: The "name" parameter cannot be null.
  3. 0

    Hi, I can connect to remote WAS ND 8.x and run a deployment of EAR file but got the error Started by user Nhu Nguyen Building in workspace D:\Bitnami\jenkins-1.635-1\apps\jenkins\jenkins_home\jobs\Projects\jobs\BAMS eBAMS\jobs\Delivery\jobs\Deploy to UAT\workspace Unable to find a build for artifact copy from: Projects/BAMS eBAMS/Developer Jobs/Basic Maven Build Connecting to IBM WebSphere Application Server... The following artifacts will be deployed in this order... ------------------------------------------- bo-business-ear-4.7.0.1.ear ------------------------------------------- Deploying 'bo-business-ear-4.7.0.1' to IBM WebSphere Application Server Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Failed to install artifact: Failure uploading archive to server 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:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) 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 Notifying upstream projects of job completion Finished: FAILURE I checked also the output from Jenkins server and found Nov 09, 2015 2:18:54 PM hudson.model.Run execute INFO: Projects/BAMS eBAMS/Delivery/Deploy to UAT #22 main build action completed: SUCCESS Nov 09, 2015 2:18:54 PM com.ibm.websphere.management.AdminClientFactory WARNING: ADMC0046W: The system failed to load properties from com.ibm.SOAP.configURL: file:null/properties/soap.client.props Nov 09, 2015 2:19:11 PM hudson.model.Run execute INFO: Projects/BAMS eBAMS/Delivery/Deploy to UAT #23 main build action completed: SUCCESS Nov 09, 2015 2:19:11 PM com.ibm.websphere.management.AdminClientFactory WARNING: ADMC0046W: The system failed to load properties from com.ibm.SOAP.configURL: file:null/properties/soap.client.props Nov 09, 2015 2:19:38 PM hudson.model.Run execute INFO: Projects/BAMS eBAMS/Delivery/Deploy to UAT #24 main build action completed: SUCCESS Nov 09, 2015 2:19:38 PM com.ibm.websphere.management.AdminClientFactory WARNING: ADMC0046W: The system failed to load properties from com.ibm.SOAP.configURL: file:null/properties/soap.client.props Nov 09, 2015 2:19:56 PM com.ibm.ws.management.filetransfer.client.FileTransferClientImpl AUDIT: ADFS0109E: FileTransferClient failed to get server configuration information: java.security.PrivilegedActionException: javax.management.RuntimeOperationsException: The "name" parameter cannot be null. at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5608) at com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.sendGetServerConfigRequest(FileTransferClientImpl.java:2539) at com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.initialize(FileTransferClientImpl.java:2389) at com.ibm.ws.management.fileservice.FileTransferFactory.getFileTransferClient(FileTransferFactory.java:166) at com.ibm.ws.management.application.client.AppInstallHelper.copyToServer(AppInstallHelper.java:1240) 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 com.ibm.websphere.management.application.AppManagementProxy.uploadArchive(AppManagementProxy.java:718) at com.ibm.websphere.management.application.AppManagementProxy.installApplication(AppManagementProxy.java:507) at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.installArtifact(WebSphereDeploymentService.java:237) 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:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: javax.management.RuntimeOperationsException: The "name" parameter cannot be null. at com.ibm.ws.management.AdminClientImpl.assertObjectNameValid(AdminClientImpl.java:340) at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:209) at com.ibm.ws.management.filetransfer.client.FileTransferClientImpl$1.run(FileTransferClientImpl.java:2536) at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5599) ... 22 more Caused by: java.lang.IllegalArgumentException: The "name" parameter cannot be null. ... 26 more Cuold you please help to check this issue? Thanks,

    Jenkins JIRA | 1 year ago | Nhu Nguyen
    java.security.PrivilegedActionException: javax.management.RuntimeOperationsException: The "name" parameter cannot be null.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JIRA] [websphere-deployer-plugin] (JENKINS-31450) org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Failed to install artifact: Failure uploading archive to server

    Google Groups | 1 year ago | nhu.nguyenha@gmail.com (JIRA)
    java.security.PrivilegedActionException: javax.management.RuntimeOperationsException: The "name" parameter cannot be null.
  6. 0

    Rapid deploy

    Coderanch | 9 years ago | Robert Siqueira
    javax.management.RuntimeOperationsException: The "name" parameter cannot be null.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      The "name" parameter cannot be null.

      at com.ibm.ws.management.AdminClientImpl.assertObjectNameValid()
    2. WebSphere
      AdminClientImpl.invoke
      1. com.ibm.ws.management.AdminClientImpl.assertObjectNameValid(AdminClientImpl.java:340)
      2. com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:209)
      2 frames
    3. com.ibm.ws
      FileTransferClientImpl$1.run
      1. com.ibm.ws.management.filetransfer.client.FileTransferClientImpl$1.run(FileTransferClientImpl.java:2536)
      1 frame
    4. WebSphere
      ContextManagerImpl.runAsSystem
      1. com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5599)
      1 frame
    5. com.ibm.ws
      AppInstallHelper.copyToServer
      1. com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.sendGetServerConfigRequest(FileTransferClientImpl.java:2539)
      2. com.ibm.ws.management.filetransfer.client.FileTransferClientImpl.initialize(FileTransferClientImpl.java:2389)
      3. com.ibm.ws.management.fileservice.FileTransferFactory.getFileTransferClient(FileTransferFactory.java:166)
      4. com.ibm.ws.management.application.client.AppInstallHelper.copyToServer(AppInstallHelper.java:1240)
      4 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    7. com.ibm.websphere
      AppManagementProxy.installApplication
      1. com.ibm.websphere.management.application.AppManagementProxy.uploadArchive(AppManagementProxy.java:718)
      2. com.ibm.websphere.management.application.AppManagementProxy.installApplication(AppManagementProxy.java:507)
      2 frames
    8. org.jenkinsci.plugins
      WebSphereDeployerPlugin.perform
      1. org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.installArtifact(WebSphereDeploymentService.java:237)
      2. org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.deployArtifact(WebSphereDeployerPlugin.java:227)
      3. org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:201)
      3 frames
    9. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      4. hudson.model.Build$BuildExecution.post2(Build.java:185)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      6. hudson.model.Run.execute(Run.java:1766)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:410)
      9 frames