<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4611.1300" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=231161422-21042001>I have built a 
service based on the jud-0.4 service and found that after using the search 
feature twice with the type = 'set' communications to the client stopped.  
I then tried it with the jud service and the same thing happened.  I set 
the server in debug mode and looked at the messages it spit out.  I found 
that it always received the messages form the client, processed the request, but 
when it did the deliver it did not send it to the client.  
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=231161422-21042001>I reviewed the code 
and just started commenting things out and found the offending line of 
code.  I modified the code slightly and it worked, but the modification 
from my perspective was benign.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=231161422-21042001>jud_search.c 
85-96</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001>        case 
JPACKET__SET:</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001>            
/* create result container 
*/<BR>            
jutil_iqresult(p->x);<BR>            
q = xmlnode_insert_tag(p->x, 
"query");<BR>            
xmlnode_put_attrib(q,"xmlns",NS_SEARCH);</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001>            
/* XXX-REPLACE-WITH-HASHES&INDEXES! BRUTE FORCE spin through all the entries 
finding the matches and copying them into the result 
*/<BR>            
p->aux1 = 
(void*)q;<BR>            
xhash_walk(j->users,jud_search_walk,(void*)p);</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001>            
break;<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=231161422-21042001>If I removed the 
following it worked</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001>             xmlnode_put_attrib(q,"xmlns",NS_SEARCH);</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=231161422-21042001>or modified as 
follows</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001>            
xmlnode_put_attrib(q,"xmlns","data");</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=231161422-21042001>I have had no other 
problems with the server I am running It under RH7, JS Version: 1.4.1 OS: Linux 
2.2.17-14 compiled it as specified in the docs.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=231161422-21042001>I was wondering if 
this is a known problem?  If so what should I do to correct 
this?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=231161422-21042001>I do not understand 
why changing that line made a diff on how it sent it back to the 
client.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=231161422-21042001>Any help would be 
appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=231161422-21042001></SPAN></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>heg</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>"If at first the idea is not absurd, then there is 
no hope for it." - Albert Einstein</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></DIV></BODY></HTML>