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: JCA, Gateways and EPICS_CA_ADDR_LIST
From: Marty Smith <[email protected]>
To: "Rees, NP (Nick)" <[email protected]>
Cc: EPICS tech-talk <[email protected]>, Matej Sekoranja <[email protected]>, "Yuan, F (Fajin)" <[email protected]>
Date: Wed, 06 Dec 2006 06:28:46 -0600
Hi Nick,

Have you tried using the subnet broadcast IP in the addr_list rather than specific IPs ?

Marty Smith
APS Controls Group


Rees, NP (Nick) wrote:
We have just encountered what seems to be a significant bug in the
interaction between CAJ and the CAGateways. I am not sure whether this
has been reported before, but I assume someone else must have seen it.

The problem is:

 - If you set com.cosylab.epics.caj.CAJContext.auto_addr_list to TRUE
   it will not resolve PV's being serviced by a local gateway, but will
   resolve PV's from a normal local IOC.

 - If you set auto_addr_list to false and define an explicit addr_list
   then it works, but then addr_list has to contain the addresses of all

your IOC's (plus the gateway) - and this is impossible to manage.

 - If you set auto_addr_list to true and addr_list to just the gateway,
   this would be a workaround in the C environment but doesn't work in
the
   CAJ environment.

Hence, the only way to get PV's from both gateways and local IOC's is
via the second option, and that requires long, unmanageable IOC lists
that are different on every subnet.


Has this been seen by anyone? I get the same problems with
caj-1.0.4+jca-2.1.6 and caj-1.1.2:jca-2.3.0. The caget test program is
attached. Any help would be appreciated.

Cheers,

Nick Rees
Principal Software Engineer Phone: +44 (0)1235-778430
Diamond Light Source Fax: +44 (0)1235-446713


Replies:
RE: JCA, Gateways and EPICS_CA_ADDR_LIST Rees, NP (Nick)
References:
JCA, Gateways and EPICS_CA_ADDR_LIST Rees, NP (Nick)

Navigate by Date:
Prev: JCA, Gateways and EPICS_CA_ADDR_LIST Rees, NP (Nick)
Next: RE: JCA, Gateways and EPICS_CA_ADDR_LIST Rees, NP (Nick)
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: JCA, Gateways and EPICS_CA_ADDR_LIST Rees, NP (Nick)
Next: RE: JCA, Gateways and EPICS_CA_ADDR_LIST Rees, NP (Nick)
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