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

Windows 7 32bit DCOM fails to connect to registry

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • windows-slaves-plugin
    • None
    • Windows 7, libvirt,

      I was previously getting the permission denied, however i changed the user to Administrator@<MACHINE_NAME> this brought be a bit further than others i've seen in here that are trying to use DCOM.

      Getting connection to the virtual datacenter
      Looking for the virtual machine on Hypervisor...
      Virtual Machine Found
      Virtual machine is already running. No startup procedure required.
      Finished startup procedure... Connecting slave client
      Connecting to hestia
      ERROR: Unable to access Windows Registry, please check whether the SERVER service is running on the Target Workstation. [0x00001031]
      org.jinterop.dcom.common.JIException: Unable to access Windows Registry, please check whether the SERVER service is running on the Target Workstation. [0x00001031]
      at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKCR(JIWinRegStub.java:123)
      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:41)
      at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:137)
      at hudson.plugins.libvirt.VirtualMachineLauncher.launch(VirtualMachineLauncher.java:115)
      at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:183)
      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: java.net.MalformedURLException: For input string: "<something that looks like my password>@ip address of machine"
      at java.net.URL.<init>(URL.java:601)
      at jcifs.smb.SmbFile.<init>(SmbFile.java:445)
      at jcifs.smb.SmbNamedPipe.<init>(SmbNamedPipe.java:134)
      at rpc.ncacn_np.RpcTransport.attach(RpcTransport.java:89)
      at rpc.Stub.attach(Stub.java:105)
      at rpc.Stub.call(Stub.java:109)
      at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKCR(JIWinRegStub.java:119)
      ... 11 more

          [JENKINS-6385] Windows 7 32bit DCOM fails to connect to registry

          Appears to be a duplicate of JENKINS-5672?

          Christopher Orr added a comment - Appears to be a duplicate of JENKINS-5672 ?

          sayres added a comment -

          I was able to fix this issue by changing the @ sign in Administrator@<MACHINE_NAME> to a period, since it appears the 2nd @ sign causes a malformed url exception. Try using Administrator.machine_name instead of using an @ sign. This might also work for JENKINS-4929, but I am not sure as I don't have a 64 bit box.

          sayres added a comment - I was able to fix this issue by changing the @ sign in Administrator@<MACHINE_NAME> to a period, since it appears the 2nd @ sign causes a malformed url exception. Try using Administrator.machine_name instead of using an @ sign. This might also work for JENKINS-4929 , but I am not sure as I don't have a 64 bit box.

          Mark Waite added a comment -

          Won't be fixed. See JENKINS-67604 for the details of the deprecation of agents started by WMI calls using DCOM.

          Mark Waite added a comment - Won't be fixed. See JENKINS-67604 for the details of the deprecation of agents started by WMI calls using DCOM.

            Unassigned Unassigned
            incorrect incorrect
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: