`

atf 登入报“加载数据字典错误”的原因, 部署mas机器上的时间与部署atf机器上的系统时间不一致

阅读更多

1.           Atf部署在 192.168.6.29上一切正常,但完全一样那个的代码部署到192.168.6.22上在登入时总是报错:

     提示错误 “加载数据字典错误, [java.lang.RuntimeException : Mdp invoke timeout, serviceInterface=[steel.share.dictview.DictViewService], method=[getDicts].]。”

原因是:部署mas机器上的时间与部署atf机器上的系统时间不一致, (注意依赖mas的项目可能都有这种错误。)

 

2.       解决方法将atf.props文件中的属性设为true :  atf.ignoreTimeout=true  

                 

/opt/jetty-6.1.7-atf/webapps/Atf/WEB-INF/classes/atf/config/env/stage2/atf.props

 

base.RuntimeNodeId=ATF001

atf.SourceId=ATF001

atf.ignoreTimeout=true

jms.queueSuffix=

mas.IdSuffix=

jms.brokerUrl=tcp://192.168.6.29:61616?wireFormat.maxInactivityDuration=0

testMode=YES

testDN=2000000000000031

fshare.serverHost=192.168.6.19

fshare.serverPort=5001

 

 

前台报错截图



 

 

  后台错误

 

java.lang.RuntimeException: Mdp invoke timeout, serviceInterface=[mas.merchant.MerchantService], method=[loginMerchantOper].

        at steel.spring.mdp.MdpRequestor.executeRequest(MdpRequestor.java:437)

        at steel.spring.mdp.MdpInvokerProxyFactoryBean.invoke(MdpInvokerProxyFactoryBean.java:90)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

        at $Proxy31.loginMerchantOper(Unknown Source)

        at atf.web.bds.user.impl.SellerUserServiceImpl.login(SellerUserServiceImpl.java:117)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

  • 大小: 18.9 KB
分享到:
评论
1 楼 flyshark 2010-09-15  
哈哈,快钱的?贴子应该发在换Q之后吧

相关推荐

Global site tag (gtag.js) - Google Analytics