EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: CAJ questions
From: "Mark Rivers" <[email protected]>
To: <[email protected]>
Date: Thu, 30 Jul 2009 19:51:28 -0500
Folks,
 
I have 2 questions about CAJ, the native Java Channel Access client implementation.
 
1)  It seems like it behaves differently on computers with multiple network interfaces from the C implementation.  On the C implementation by default the broadcast address of each the networks is used when searching for PVs.  On the CAJ implementation this does not seem to be the case.  It is not finding PVs on one of these networks with the default configuration, in my case on the 10.20.1.x subnet.  However,  if I set the following in my configuration file then it does work:
 
gov.aps.jca.Context.auto_addr_list= false
gov.aps.jca.Context.addr_list= 10.20.1.255
 
Is this an intended difference in behavior from the C implementation, and if so is it documented?
 
2) My second question relates to knowing how to create configuration lines such as those above in the JCALibrary.properties file.
 
The documentation links in the CAJ User Manual here:
http://caj.cosylab.com/manual.html
 
Include this one labelled "JCA tutorial on configuration":

http://www.aps.anl.gov/bcda/jca/jca/2.1.2/tutorial.html
 
But that tutorial only lists configuration lines like these:
 
gov.aps.jca.jni.JNIContext.addr_list= toto.uses.this.ca.server
gov.aps.jca.jni.JNIContext.auto_addr_list= false

These are for the JNI (e.g. C) implementation, not for the native Java implementation.
 
There is another link on the CAJ User Manual Page which is labelled as "CAJ configuration properties":
http://www.cosylab.com/jca/apidocs/gov/aps/jca/JCALibrary.html#CHANNEL_ACCESS_JAVA
 
But this link is broken, and just takes one to the Cosylab home page.
 
Is there documentation on the configuration file syntax for the native CAJ anywhere?
 
Thanks,
Mark
 


Navigate by Date:
Prev: Re: DG645 driver - anyone have one? David Kline
Next: IOC crash when asyn traceflow turned on Shifu Xu
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: DG645 driver - anyone have one? David Kline
Next: Re: CAJ questions Matej Sekoranja
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·