j-interop通过WMI创建VM,有问题!
最近研究WINDOWS2008 下的HYPER-V,通过JAVA创建虚拟机.首先要通过JAVA远程调用WINDOWS2008的WMI,执行WMI里的SQL才可以.开源项目j-interop据说可以实现.按照提供的README.HTML配置,出现错误如下:
Recieved FAULT
org.jinterop.dcom.common.JIException: Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions. [0x00000005]