<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<div><font size="3"><font face="Arial"><pre>Hi</pre><pre>I have established a connection between an erlang node and java program using the jinterface.</pre><pre>It works fine most of the time but sometimes i get the following error report </pre><pre>=ERROR REPORT==== 14-Apr-2008::09:18:33 ===<br>Got invalid data on distribution channel, offending packet is: <<112,131,104,4,97,6,103,100,0,41,108,111,99,97,108,104,111,115,116,45,57,<br>49,48,55,49,56,48,48,49,53,55,57,55,51,56,52,48,55,55,64,99,97,114,100,115,97,108,108,100,97,121,0,0,0,1,0,0,0,0,0,100,0,0,100,0,3,114,<br>101,120,131,104,2,103,100,0,41,108,111,99,97,108,104,111,115,<br>116,45,57,49,48,55,49,56,48,48,49,53,55,57,55,51,56,52,48,55,55,64,99,97,114,100,115,97,108,108,100,97,121,0,0,0,1,0,0,0,0,0,104,5,100,<br>0,4,99,97,108,108,100,0,6,116,95,117,116,105,108,100,0,17,97,100,100,95,108,101,118,101,108,95,100,101,116,97,105,108,115,108,0,0,0,1,1<br>04,32,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,49,46,48,48,48,48,48,48<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,49,0,0,0,0,0,99,50,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>101,43,48,49,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,49,46,53,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>101,43,48,49,0,0,0,0,0,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,49,0,0,0,0,0,99,48,69,45,50,48,10<br>1,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>101,43,48,48,0,0,0,0,0,99,50,46,53,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,49,0,0,0,0,0,99,53,46,48,48,48,48<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,49,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,<br>0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,53,46,48,48,48,48<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,49,0,0,0,0,0,99,49,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>48,48,101,43,48,50,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,55,46,53,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>48,48,101,43,48,49,0,0,0,0,0,99,49,46,53,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,50,0,0,0,0,0,99,48,69,45,50<br>,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>48,48,101,43,48,48,0,0,0,0,0,99,49,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,50,0,0,0,0,0,99,50,46,48,48<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,50,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,<br>0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,49,46,53,48<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,50,0,0,0,0,0,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>48,48,48,48,101,43,48,50,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,50,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>48,48,48,48,101,43,48,50,0,0,0,0,0,99,52,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,50,0,0,0,0,0,99,48,69<br>,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>48,48,48,48,101,43,48,48,0,0,0,0,0,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,50,0,0,0,0,0,99,54,46<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,50,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,<br>0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,52,46<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,50,0,0,0,0,0,99,56,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>48,48,48,48,48,48,101,43,48,50,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,54,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>48,48,48,48,48,48,101,43,48,50,0,0,0,0,0,99,49,46,50,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,51,0,0,0,0,0,99<br>,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,56,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,50,0,0,0,0,0,99<br>,49,46,54,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,51,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,<br>0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99<br>,45,49,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,99,45,49,46,48,48,48,48,48,48,48,48,48,48,48<br>,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,99,45,49,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0<br>,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,49,46,48,48,48,48,48,4<br>8,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,51,0,0,0,0,0,99,50,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,101,43,48,51,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,4<br>8,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,49,46,53,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,101,43,48,51,0,0,0,0,0,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,51,0,0,0,0,0,99,48,69,45,50,48,1<br>01,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,101,43,48,48,0,0,0,0,0,99,50,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,51,0,0,0,0,0,99,52,46,48,48,48,4<br>8,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,51,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0<br>,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,51,46,48,48,48,4<br>8,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,51,0,0,0,0,0,99,54,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,48,48,101,43,48,51,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,4<br>8,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,52,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,48,48,101,43,48,51,0,0,0,0,0,99,56,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,51,0,0,0,0,0,99,48,69,45,5<br>0,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,48,48,101,43,48,48,0,0,0,0,0,99,54,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,51,0,0,0,0,0,99,49,46,50,4<br>8,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0<br>,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,56,46,48,4<br>8,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,51,0,0,0,0,0,99,49,46,54,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,48,48,48,48,101,43,48,52,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,4<br>8,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,49,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,48,48,48,48,101,43,48,52,0,0,0,0,0,99,50,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,99,48,6<br>9,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,48,48,48,48,101,43,48,48,0,0,0,0,0,99,49,46,53,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,99,51,4<br>6,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0<br>,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,50,4<br>6,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,99,52,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,4<br>6,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,50,46,53,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,99,53,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,9<br>9,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,9<br>9,54,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0<br>,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,9<br>9,45,49,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,99,45,49,46,48,48,48,48,48,48,48,48,48,48,4<br>8,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,99,45,49,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,<br>0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,52,46,48,48,48,48,48,<br>48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,99,56,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,4<br>8,101,43,48,52,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,<br>48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,53,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,4<br>8,101,43,48,52,0,0,0,0,0,99,49,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,53,0,0,0,0,0,99,48,69,45,50,48,<br>101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>48,101,43,48,48,0,0,0,0,0,99,54,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,99,49,46,50,48,48,<br>48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,53,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0<br>,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,55,46,48,48,4<br>8,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,52,0,0,0,0,0,99,49,46,52,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,4<br>8,48,48,48,101,43,48,53,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48<br>,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,56,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48<br>,48,48,48,48,101,43,48,52,0,0,0,0,0,99,49,46,54,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,53,0,0,0,0,0,99,48,<br>69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,5,97,2,99,51,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,<br>48,48,48,48,48,101,43,48,48,0,0,0,0,0,99,49,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,53,0,0,0,0,0,99,5<br>0,46,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,101,43,48,53,0,0,0,0,0,99,48,69,45,50,48,101,43,48,48,0,0,0,0,0,0,0,0<br>,0,0,0,0,0,0,0,0,0,0,0,0,0,0,106,100,0,4,117,115,101,114>><br></pre><pre>removing the first '112' and performing a binary_to_term on the above gives :: {6,<6638.1.0>,'',rex}</pre><pre>In a previous thread I read that getting a mutex on the calling method will solve this problem but am not able</pre><pre>to figure out what is causing the problem randomly??</pre><pre>Any help will be much appreciated.</pre><pre>Thanks,</pre><pre>Nitin</pre></font></font></div><br /><hr />Planning marriage in 2008!
Join Shaadi.com matrimony FREE! <a href='http://ss1.richmedia.in/recurl.asp?pid=429' target='_new'>Try it now!</a></body>
</html>