Home Help Center

What is this problem?

JiangyubaoJiangyubao Member Yubao JiangOrganization: www.gliet.edu.cnProject: integrate OSGi & Ice to provice service for PHP ✭✭
Hi, all.

We deploy our ice servant objects at ice grid nodes, and use php to invoke these servant object's method, and some times we get the following exception message:


Ice_UnknownLocalException::__set_state(array(
'unknown' => 'Outgoing.cpp:223: Ice::TimeoutException:
timeout while sending or receiving data',
'message' => '',
'string' => '',
'code' => 0,
'file' => '/data3/Include/FunctionsIce.inc.php',
'line' => 25,
'trace' =>
array (
0 =>
array (
'file' => '/data3/Include/FunctionsIce.inc.php',
'line' => 25,
'function' => 'sendsms',
'class' => 'Ice_ObjectPrx',
'type' => '->',
'args' =>
array (
0 =>
array (
0 => '13488850905',
),
1 => '192.168.8.46,yewu,Baodi,OK:Fengpiao,Error:Kouqian,Error',
),
),
1 =>
array (
'file' => '/data3/Html/User/sms.php',
'line' => 43,
'function' => 'iceSendSMS',
'args' =>
array (
0 =>
array (
0 => '13488850905',
),
1 => '192.168.8.46,yewu,Baodi,OK:Fengpiao,Error:Kouqian,Error',
),
),
),
))


php config parameter:
ice_timeout=5000
ice_connectionCached=false


How to avoid this exception? or how to config the php to resolve this problem?
Sign In or Register to comment.