OpsHub Visual Studio迁移实用程序MetadataException

时间:2016-02-25 19:59:14

标签: opshub azure-devops

尝试创建从TFS 2012 Update 2到Visual Studio Teams Service的新迁移时,该实用程序在用户映射屏幕上失败,并显示以下错误:

  

com.opshub.eai.metadata.MetadataException:OpsHub-014371:无法   实例化For User List的元数据实现TFS来源   1456429486357 ALM TFS 1456429486367,由于OH-TFS-Connector-0068:   以下字段是必须映射的   http://localhost:9090/TFSService整合:{1}

该服务似乎运行正常。有什么想法吗?

OpsHub.log文件中提供了更多信息:

02/25/2016 13:44:47,511 ERROR [http-8989-1] (com.opshub.eai.config.service.ConfigServiceImpl) - OpsHub-014371: Could not instantiate metadata implementation for For User List | TFS Source 1456429486357 ALM TFS 1456429486367, due to OH-TFS-Connector-0068: Following Fields are mandatory to map for http://localhost:9090/TFSService integration : {1}
com.opshub.eai.metadata.MetadataException: OpsHub-014371: Could not instantiate metadata implementation for For User List | TFS Source 1456429486357 ALM TFS 1456429486367, due to OH-TFS-Connector-0068: Following Fields are mandatory to map for http://localhost:9090/TFSService integration : {1}
    at com.opshub.eai.tfs.common.metadata.impl.TFSMetadataImpl.getProjectsMeta(TFSMetadataImpl.java:64)
    at com.opshub.eai.tfs.common.metadata.impl.TFSMetadataImpl$$EnhancerByCGLIB$$171aa598.CGLIB$getProjectsMeta$5(<generated>)
    at com.opshub.eai.tfs.common.metadata.impl.TFSMetadataImpl$$EnhancerByCGLIB$$171aa598$$FastClassByCGLIB$$b1d799e5.invoke(<generated>)
    at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
    at com.opshub.eai.core.adapters.caching.MetadataCacheHandler.intercept(MetadataCacheHandler.java:38)
    at com.opshub.eai.tfs.common.metadata.impl.TFSMetadataImpl$$EnhancerByCGLIB$$171aa598.getProjectsMeta(<generated>)
    at com.opshub.eai.config.business.ConfigServiceBusiness.getUserList(ConfigServiceBusiness.java:1041)
    at com.opshub.eai.config.service.ConfigServiceImpl.getUserList(ConfigServiceImpl.java:394)
    at com.opshub.eai.config.service.ConfigServiceImpl$$EnhancerByCGLIB$$b0a3c7db.CGLIB$getUserList$18(<generated>)
    at com.opshub.eai.config.service.ConfigServiceImpl$$EnhancerByCGLIB$$b0a3c7db$$FastClassByCGLIB$$d110172b.invoke(<generated>)
    at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
    at com.opshub.eai.config.service.ServiceInterception.intercept(ServiceInterception.java:48)
    at com.opshub.eai.config.service.ConfigServiceImpl$$EnhancerByCGLIB$$b0a3c7db.getUserList(<generated>)
    at com.opshub.eai.config.service.ConfigService.getUserList(ConfigService.java:99)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:745)

编辑1: _JAVA_OPTIONS的值:

  

-Dhttp.proxyHost = ourserver.ourcompany.com -Dhttp.proxyPort = 8080 -Dhttp.proxyUser = domain \ user -Dhttp.proxyPassword = password -Dhttps = false

1 个答案:

答案 0 :(得分:1)

代理实用程序建议按@OpshubInc的描述工作。在他们的最后评论中。我已在下面提出建议以供将来参考。

  

您必须在代理设置中绕过localhost。 TFS   服务在本地运行,但您的计算机将路由请求   如果没有绕过本地地址,通过代理。参考C:\ Program   Files \ OpsHub Visual Studio Migration   Utility \ Other_Resources \ Resources \ ProxyUtility.zip并使用它来设置   代理配置以及设置为默认的本地旁路主机