EPICS Home

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  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Misaligned protocol rejected, Java client, restarts
From: "Jeff Hill" <[email protected]>
To: <[email protected]>, <[email protected]>
Date: Thu, 6 Jul 2006 17:31:12 -0600

> -----Original Message-----
> From: Harley N [mailto:[email protected]]
> Sent: Thursday, July 06, 2006 4:37 PM
> To: [email protected]
> 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
> [email protected]
> 
> _________________________________
> 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  2018  2019  2020  2021  2022  2023  2024 
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  2018  2019  2020  2021  2022  2023  2024