Ticket #95 (new Bug) — at Version 1

Opened 14 years ago

Last modified 14 years ago

r系统调用接口报MongoException: norepl

Reported by: sunxiang Owned by: sunxiang
Priority: major Milestone:
Component: 报价库 Version: 产品库3.0
Keywords: Connections MongoDB Cc:
Due Date: 21/03/2012

Description (last modified by sunxiang) (diff)

报错

wap_product_price改版,报价页使用r系统调用接口。在测试中发现会报com.mongodb.MongoException?: norepl,具体如下:
MongoException: norepl

原因

在resin-web.xml中,

<env-entry>
<description>MongoConfig for 4</description>
<env-entry-name>mongoConfig4RClient</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>mongodb://192.168.75.100:5566/price_front_cache?slaveOk=true;maxPoolSize=256;w=2;safe=true</env-entry-value>
	</env-entry>

解决

Change History

Changed 14 years ago by sunxiang

MongoException?: norepl

comment:1 Changed 14 years ago by sunxiang

  • Description modified (diff)
Note: See TracTickets for help on using tickets.