[erlang-questions] First send from JInterface ok, second one blocs??
Alexander Lamb
<
>
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)
port=55076
<- OK
-> LOOKUP (r4)
<- PORT 55021
-> MD5 CONNECT TO kirk.local:55021
-> HANDSHAKE sendName flags=3332 dist=5 local=
<- HANDSHAKE recvStatus (ok) local=
<- HANDSHAKE recvChallenge from=
challenge=1257096912
local=
-> HANDSHAKE sendChallengeReply challenge=-63103116
digest=16202c1233ac821560450cd85550f542 local=
<- HANDSHAKE recvChallengeAck from=
digest=c223cd415468ff024d0529992ab8ec48 local=
-> REG_SEND {6,#Pid<
>,'',rex}
{#Pid<
>,{call,profiles,get_default_menus,
[[84,79,80]],user}}
<- SEND {2,'',#Pid<
>}
{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)
<- PORT 55021
-> MD5 CONNECT TO kirk.local:55021
-> HANDSHAKE sendName flags=3332 dist=5 local=
-> 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