morg.jinterop.dcom.common.JIException: Message not found for errorCode: 0xC0000034

Jenkins JIRA | Mahesh Adigoppula | 9 months ago
  1. 0

    1.I've installed Jenkins Server on Windows 2k8 R2 and the Version is 1.647. 2.Installed vSphere plugin 2.11. Then created a cloud as per the documentation. 3. Added a node by selecting the option 'Slave virtual computer running under vSphere Cloud'. 4. while adding the node, checked Test VM Connection to find the VM is present in Cloud and it found. 5. But when trying to launch the agent getting the below error: Access is denied. [0x00000005] at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:542) at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:458) at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:427) at org.jvnet.hudson.wmi.WMI.connect(WMI.java:41) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:107) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:170) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: rpc.FaultException: Received fault. (unknown) at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:142) at rpc.Stub.call(Stub.java:112) at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:538) ... 10 more 6. As per the suggestion in the error went to this site: https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM and checked all the settings mentioned. 7. But all the settings done now getting the below error: [adima02-8x86] Starting Virtual Machine... [adima02-8x86] VM already powered on [adima02-8x86] Waiting for VMTools [adima02-8x86] VM Tools are running [adima02-8x86] Finished wait for VMTools Connecting to adima02-8x86 ERROR: Message not found for errorCode: 0xC0000034 ha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=org.jinterop.dcom.common.JIException: Message not found for errorCode: 0xC0000034 at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKCR(JIWinRegStub.java:121) at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:479) at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:427) at org.jvnet.hudson.wmi.WMI.connect(WMI.java:59) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:218) at org.jenkinsci.plugins.vSphereCloudLauncher.launch(vSphereCloudLauncher.java:199) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:253) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I am attaching all the stack trace for reference.

    Jenkins JIRA | 9 months ago | Mahesh Adigoppula
    morg.jinterop.dcom.common.JIException: Message not found for errorCode: 0xC0000034
  2. 0

    1.I've installed Jenkins Server on Windows 2k8 R2 and the Version is 1.647. 2.Installed vSphere plugin 2.11. Then created a cloud as per the documentation. 3. Added a node by selecting the option 'Slave virtual computer running under vSphere Cloud'. 4. while adding the node, checked Test VM Connection to find the VM is present in Cloud and it found. 5. But when trying to launch the agent getting the below error: Access is denied. [0x00000005] at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:542) at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:458) at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:427) at org.jvnet.hudson.wmi.WMI.connect(WMI.java:41) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:107) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:170) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: rpc.FaultException: Received fault. (unknown) at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:142) at rpc.Stub.call(Stub.java:112) at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:538) ... 10 more 6. As per the suggestion in the error went to this site: https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM and checked all the settings mentioned. 7. But all the settings done now getting the below error: [adima02-8x86] Starting Virtual Machine... [adima02-8x86] VM already powered on [adima02-8x86] Waiting for VMTools [adima02-8x86] VM Tools are running [adima02-8x86] Finished wait for VMTools Connecting to adima02-8x86 ERROR: Message not found for errorCode: 0xC0000034 ha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=org.jinterop.dcom.common.JIException: Message not found for errorCode: 0xC0000034 at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKCR(JIWinRegStub.java:121) at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:479) at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:427) at org.jvnet.hudson.wmi.WMI.connect(WMI.java:59) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:218) at org.jenkinsci.plugins.vSphereCloudLauncher.launch(vSphereCloudLauncher.java:199) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:253) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I am attaching all the stack trace for reference.

    Jenkins JIRA | 9 months ago | Mahesh Adigoppula
    morg.jinterop.dcom.common.JIException: Message not found for errorCode: 0xC0000034
  3. 0

    [JIRA] [vmware-plugin] (JENKINS-33312) Not able to add a VM as slave from vsphere cloud

    Google Groups | 9 months ago | maheshadigoppula916@yahoo.com (JIRA)
    morg.jinterop.dcom.common.JIException: Message not found for errorCode: 0xC0000034
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. morg.jinterop.dcom.common.JIException

      Message not found for errorCode: 0xC0000034

      at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKCR()
    2. org.jinterop.winreg
      JIWinRegStub.winreg_OpenHKCR
      1. org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKCR(JIWinRegStub.java:121)
      1 frame
    3. org.jinterop.dcom
      JIComServer.<init>
      1. org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:479)
      2. org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:427)
      2 frames
    4. org.jvnet.hudson
      WMI.connect
      1. org.jvnet.hudson.wmi.WMI.connect(WMI.java:59)
      1 frame
    5. hudson.os.windows
      ManagedWindowsServiceLauncher.launch
      1. hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:218)
      1 frame
    6. org.jenkinsci.plugins
      vSphereCloudLauncher.launch
      1. org.jenkinsci.plugins.vSphereCloudLauncher.launch(vSphereCloudLauncher.java:199)
      1 frame
    7. Hudson
      SlaveComputer$1.call
      1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:253)
      1 frame
    8. jenkins.util
      ContextResettingExecutorService$2.call
      1. jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      1 frame
    9. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      4. java.lang.Thread.run(Unknown Source)
      4 frames