Ticket #95 (new Bug) — at Version 1
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,具体如下:

原因
在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
-
attachment
20120312180929.jpg
added
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)
MongoException?: norepl