Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: RE: Misaligned protocol rejected, Java client, restarts
From: "Jeff Hill" <johill@lanl.gov>
To: <barleyguy@mail.sisna.com>, <tech-talk@aps.anl.gov>
Date: Thu, 6 Jul 2006 17:31:12 -0600

> -----Original Message-----
> From: Harley N [mailto:barleyguy@mail.sisna.com]
> Sent: Thursday, July 06, 2006 4:37 PM
> To: tech-talk@aps.anl.gov
> Subject: Misaligned protocol rejected, Java client, restarts
> 
> Hello.  I'm working on a Java/Eclipse program using the Java based Eclipse
> client.  It mostly books value callbacks from tree views, and polls values
> from a table view.  It is a fairly large dataset (a couple of thousand
> PV's).
> 
> It seems to work fine the majority of the time, but often when you close
> the program and restart it, it will disconnect shortly after coming up,
> and the server will throw a "Missaligned protocol rejected" followed by a
> "forcing disconnect".
> 
> Two related questions:
> 
> 1. What causes this error.  Is there a common thing I may be doing wrong?

The server forcibly disconnects from any client that sends a poorly formed
protocol element.

> 
> 2. Is there something that needs to be done when shutting down a Java
> program, so the client disconnects and reconnects cleanly?
> 

The answer probably depends on whether your CA client is based on jca or
caj? From the C based CA client library you can request a clean shutdown by
calling ca_context_destroy ().

Jeff

> 
> Thanks,
> 
> Harley.
> 
> 
> Harley Nelson
> Echostar Communications
> barleyguy-ep@sisna.com
> 
> _________________________________
> SISNA...more service, less money.
> http://www.sisna.com/exclusive/


References:
Misaligned protocol rejected, Java client, restarts Harley N

Navigate by Date:
Prev: Misaligned protocol rejected, Java client, restarts Harley N
Next: Libera EPICS driver update Michael Abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Misaligned protocol rejected, Java client, restarts Harley N
Next: Java CA 101, Re: Misaligned protocol rejected, Java client, restarts Kay-Uwe Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·