[erlang-questions] First send from JInterface ok, second one blocs??
Alexander Lamb
alexander.lamb@REDACTED
Mon May 12 18:43:38 CEST 2008
Hello,
I have something curious happening when sending messages to the rex
rpc server.
The first time I send a message, everything is ok. The second time, it
blocs and I finally get a timeout (e.g. the response is null).
I activated the trace, and here is what I get:
-> PUBLISH (r4) jnode@REDACTED port=55076
<- OK
-> LOOKUP (r4) alex@REDACTED
<- PORT 55021
-> MD5 CONNECT TO kirk.local:55021
-> HANDSHAKE sendName flags=3332 dist=5 local=jnode@REDACTED
<- HANDSHAKE recvStatus (ok) local=jnode@REDACTED
<- HANDSHAKE recvChallenge from=alex@REDACTED challenge=1257096912
local=jnode@REDACTED
-> HANDSHAKE sendChallengeReply challenge=-63103116
digest=16202c1233ac821560450cd85550f542 local=jnode@REDACTED
<- HANDSHAKE recvChallengeAck from=alex@REDACTED
digest=c223cd415468ff024d0529992ab8ec48 local=jnode@REDACTED
-> REG_SEND {6,#Pid<jnode@REDACTED>,'',rex}
{#Pid<jnode@REDACTED>,{call,profiles,get_default_menus,
[[84,79,80]],user}}
<- SEND {2,'',#Pid<jnode@REDACTED>}
{rex,{ok,[{menu,home,{{home,"Home"},[{login,"Login"},
{logout,"Logout"},{about,"About"}]}},{menu,patients,
{{patients,"Patients"},[]}},{menu,centers,{{centers,"Centers"},
[{search,"Search"},{list,"List"}]}},{menu,dashboard,
{{dashboard,"Dashboard"},[{enrollment,"Enrollment"},
{statistics,"Statistics"},{initiation,"Initiation"}]}}]}}
-> LOOKUP (r4) alex@REDACTED
<- PORT 55021
-> MD5 CONNECT TO kirk.local:55021
-> HANDSHAKE sendName flags=3332 dist=5 local=jnode@REDACTED
-> CLOSE
So the funny thing is that something is doing a CLOSE. What does that
mean??
Thanks,
Alex
More information about the erlang-questions
mailing list