org.jinterop.dcom.common.JIException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

First of all, check if your firewall is not blocking your connection. If it's not, you might need to explicitly set advertised.host.name to "advertised.host.name = yourIpAddress", this forces the hosts returned to be the resolvable IP address of your VM.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • J-interop exception on WMI
    via j-interop by dushank
    ,
  • GitHub comment 230#13637314
    via GitHub by gcheng
    ,
  • Issue with Vista
    via j-interop by frostyengine
    ,
  • We are in the process of standing up a new Jenkins server on Windows 2012 R2, our current Jenkins master is on 2008 R2 and happily connects to my build slaves via "*Let Jenkins control this windows slave as a windows service*" so I know its not a client configuration issue. the new server is sitting behind a infrastructure firewall, and all the correct ports 135 137 138 139 445 JLNP port etc.... have all been opened up I've even disabled the windows Firewall to no avail. Also I cant create a slave node on another server within the infrastructure network bubble I know this is a pretty common error but, I have tried everything listed in the how to pages and still come up blank. ERROR: Message not found for errorCode: 0x8001FFFF org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:876) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:825) at org.jinterop.dcom.core.JIComServer.addRef_ReleaseRef(JIComServer.java:909) at org.jinterop.dcom.core.JISession.releaseRef(JISession.java:730) at org.jinterop.dcom.core.JIComServer.createInstance(JIComServer.java:746) at org.jvnet.hudson.wmi.WMI.connect(WMI.java:61) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:218) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: java.net.ConnectException: Connection refused: connect at sun.nio.ch.Net.connect0(Native Method) at sun.nio.ch.Net.connect(Net.java:465) at sun.nio.ch.Net.connect(Net.java:457) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:666) at java.nio.channels.SocketChannel.open(SocketChannel.java:184) at org.jinterop.dcom.transport.JIComTransport.attach(JIComTransport.java:98) at rpc.Stub.attach(Stub.java:104) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:860) ... 11 more
    via by Robert Moore,
  • We are in the process of standing up a new Jenkins server on Windows 2012 R2, our current Jenkins master is on 2008 R2 and happily connects to my build slaves via "*Let Jenkins control this windows slave as a windows service*" so I know its not a client configuration issue. the new server is sitting behind a infrastructure firewall, and all the correct ports 135 137 138 139 445 JLNP port etc.... have all been opened up I've even disabled the windows Firewall to no avail. Also I cant create a slave node on another server within the infrastructure network bubble I know this is a pretty common error but, I have tried everything listed in the how to pages and still come up blank. ERROR: Message not found for errorCode: 0x8001FFFF org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:876) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:825) at org.jinterop.dcom.core.JIComServer.addRef_ReleaseRef(JIComServer.java:909) at org.jinterop.dcom.core.JISession.releaseRef(JISession.java:730) at org.jinterop.dcom.core.JIComServer.createInstance(JIComServer.java:746) at org.jvnet.hudson.wmi.WMI.connect(WMI.java:61) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:218) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: java.net.ConnectException: Connection refused: connect at sun.nio.ch.Net.connect0(Native Method) at sun.nio.ch.Net.connect(Net.java:465) at sun.nio.ch.Net.connect(Net.java:457) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:666) at java.nio.channels.SocketChannel.open(SocketChannel.java:184) at org.jinterop.dcom.transport.JIComTransport.attach(JIComTransport.java:98) at rpc.Stub.attach(Stub.java:104) at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:860) ... 11 more
    via by Robert Moore,
    • org.jinterop.dcom.common.JIException: An internal error occurred. [0x8001FFFF] at org.jinterop.dcom.core.JIRemUnknownServer.call(JIRemUnknownServer.java:158) at org.jinterop.dcom.core.JIRemUnknownServer.addRef_ReleaseRef(JIRemUnknownServer.java:181) at org.jinterop.dcom.core.JISession.releaseRef(JISession.java:805) at org.jinterop.dcom.core.JIComServer.createInstance(JIComServer.java:777) at com.ehdf.assetplus.client.WMIClient.connectDCOMSession(WMIClient.java:78) at com.ehdf.assetplus.client.WMIClient.connect(WMIClient.java:54) at com.ehdf.assetplus.client.WMIClient.main(WMIClient.java:260) Caused by: java.net.ConnectException: Connection timed out: connect at sun.nio.ch.Net.connect(Native Method) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464) at java.nio.channels.SocketChannel.open(SocketChannel.java:146) at org.jinterop.dcom.transport.JIComTransport.attach(JIComTransport.java:100) at rpc.Stub.attach(Stub.java:106) at org.jinterop.dcom.core.JIRemUnknownServer.call(JIRemUnknownServer.java:142)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Andreas HäberAndreas Häber
    4 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    poroszdporoszd
    1 times, last one,
    1 more bugmates