I tried running the MSWMI.java example with an Ipv6 address and I get the following exception :
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_OpenHKLM(JIWinRegStub.java:104)
at org.jinterop.dcom.core.JIProgId.getIdFromWinReg(JIProgId.java:122)
at org.jinterop.dcom.core.JIProgId.getCorrespondingCLSID(JIProgId.java:154)
at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:395)
at test.WMI.getSession(WMI.java:79)
at test.WMI.<init>(WMI.java:40)
at test.WMI.main(WMI.java:256)
Caused by: java.net.MalformedURLException: For input string: "0:0:0:6977:9fc3:fe7e:b475"
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_OpenHKLM(JIWinRegStub.java:100)
... 6 more
Any suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Does J-Interop support Ipv6 ?
I tried running the MSWMI.java example with an Ipv6 address and I get the following exception :
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_OpenHKLM(JIWinRegStub.java:104)
at org.jinterop.dcom.core.JIProgId.getIdFromWinReg(JIProgId.java:122)
at org.jinterop.dcom.core.JIProgId.getCorrespondingCLSID(JIProgId.java:154)
at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:395)
at test.WMI.getSession(WMI.java:79)
at test.WMI.<init>(WMI.java:40)
at test.WMI.main(WMI.java:256)
Caused by: java.net.MalformedURLException: For input string: "0:0:0:6977:9fc3:fe7e:b475"
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_OpenHKLM(JIWinRegStub.java:100)
... 6 more
Any suggestions?
Hi Priya,
Could I see your code please ?
thanks,
best regards,
Vikram