net.spy.memcached批量get.OperationTimeoutException: ...

Discuz! Database Error
The database has encountered a problem.
Error me ages:
[Type] 无法连接到数据库服务器
[2003] Can't co ect to MySQL server on 'localhost' (10061) Program me ages:
[Line: 0051]forum.php(discuz_core->init)
[Line: 0065]source\cla \cla _core.php(discuz_core->_init_db)
[Line: 0335]source\cla \cla _core.php(db_mysql->co ect)
[Line: 0735]source\cla \cla _core.php(db_mysql->_dbco ect)
已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意Account Optio View this group in the
Trying to Understad Spymemcache.
There are currently too many topics in this group that di lay first. To make this topic a ear first, remove this option from another topic.
There was an error proce ing your request. Please try again.
Standard view 5
me ages - - The group you are posting to is a
. Me ages posted to this group will make your email addre visible to anyone on the Internet.
Your reply me age has not been sent.
Your post was succe ful
Send Discard
Followup To:
Add Followup-to
Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the acce ibility icon.
Send Discard
Rajagopal Chowdary Yendluri More optio Jul 27, 7:11 am
Rajagopal Chowdary Yendluri rajagopal.yendl
@gmail.com
Wed, 27 Jul 2011 16:41:40 +0530
Wed, Jul 27 2011 7:11 am
Subject:
Re: Trying to Understad Spymemcache.
I am new to Spymemcache, and i am trying to understad how it works.
Following is my scenario.
I need to cache the uploaded/ downloaded files..
I tried to execute the sample a lication.. i am getting the following
exception while getting the cached data.
*net. y.memcached.OperationTimeoutException*: Timeout waiting for value
Following is how i am getting the co ection.
BinaryCo ectionFactory binaryCo ectionFactory =
*new*BinaryCo ectionFactory();
MemcachedClient c = *new* MemcachedClient(binaryCo ectionFactory,AddrUtil.*
getAddre es*(127.0.0.1:7001));
I would like to know the parameter details of quot; *getAddre es*(
127.0.0.1:7001)) quot;
I am using weblogic so i pa ed like the above..
What is the host and port that we need to pa ..
I am ru ing the standalone client (java main method)
And i see there is a memchace server ? what is this and how to i tall it.
On Wed, Jul 27, 2011 at 3:11 PM, Rajagopal Chowdary Yendluri
rajagopal.yendl
@gmail.com wrote:
I am new to Spymemcache, and i am trying to understad to use it in our
a lication.
Regards,
Rajagopal Yendluri(Raj)
Regards,
Rajagopal Yendluri(Raj) You must
before you can post me ages.
To post a me age you must first
Please update your nickname on the
page before posting.
You do not have the permi ion required to post.
Mike Wiederhold More optio Jul 27, 3:35 m
Mike Wiederhold mikew
@comcast.net
Wed, 27 Jul 2011 12:35:00 -0700 (PDT)
Subject:
Re: Trying to Understad Spymemcache.
Correct me if I'm wrong here, but it sounds like you don't have
memcached server i talled. If you do then memcached liste on port
11211 by default so your getAddre es() line should have the parameter
127.0.0.1:11211. You above code would only work if you set memcached
server to listen on port 7001. Let me know whether you have memcached
server i talled and I can help guide you from there.
On Jul 27, 4:11燼m, Rajagopal Chowdary Yendluri
rajagopal.yendl
@gmail.com wrote:
I am new to Spymemcache, and i am trying to understad how it works.
Following is my scenario.
I need to cache the uploaded/ downloaded files..
I tried to execute the sample a lication.. i am getting the following
exception while getting the cached data.

参考资料

 

随机推荐