[Spread-users] Spread daemon crashes and Java API

koorosh.alahiari at ids.allianz.com koorosh.alahiari at ids.allianz.com
Thu May 9 05:43:36 EDT 2002


Tracy,

I would like to know why your spread daemon crashes (if that's what you
mean)?

The spread guys are obviously best placed to answer this but here is what I
have done:
I handle the spread error code "CONNECTION_CLOSED"(c version) and try to
restablish
my connection. Your listener is probably termintated by spread because it
is not keeping up with the sender (a problem that I have experienced
myself:-)).

I also increased the number of backlog messages that spread allows from the
default 1000 to 10,000.

Regards, Koorosh



                                                                                                                                        
                    "Tracy Boehrer"                                                                                                     
                    <tboehrer at voice3g.com>           To:     <spread-users at lists.spread.org>                                            
                    Sent by:                         cc:                                                                                
                    spread-users-admin at lists.        Subject:     [Spread-users] Spread daemon crashes and Java API                     
                    spread.org                                                                                                          
                                                                                                                                        
                                                                                                                                        
                    08/05/02 20:14                                                                                                      
                                                                                                                                        
                                                                                                                                        



When using the Java API and either the BasicMessageListener or
AdvancedMessageListener, and the Spread daemon crashes, the
SpreadConnection.Listener thread simply terminates.  However, the
application has no clue this just happened.  What is the best way to detect
this so that I can take corrective action (attempt reconnects, terminate
myself, etc...)?


_______________________________________________
Spread-users mailing list
Spread-users at lists.spread.org
http://lists.spread.org/mailman/listinfo/spread-users









More information about the Spread-users mailing list