EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: jprobe does not work with jca 2.x
From: Noboru Yamamoto <[email protected]>
To: Tech-Talk <[email protected]>
Cc: "Kenneth Evans, Jr." <[email protected]>
Date: Sat, 29 Oct 2005 18:21:04 +0900
Hi,

Kenneth Evans, Jr. wrote:
I have converted Jprobe to JCA 2.1 but it has not been committed.  The
reason is that it is becoming increasingly difficult to maintain Java
packages as extensions in the EPICS build system, especially when they
require more and more extra packages to build.  They are probably best
distributed another way.

Consequently, I have put Jprobe 2.0.0.0 on ftp://ftp.aps.anl.gov/pub/evans
in jprobe.2.0.0.0.zip.  It works with:

JCA 2.1.5
CAJ 1.0.2
Thank you very much for providing this valuable program.
I'm glad to inform that Jprobe 2.0.0.0 is now running on
my Macintosh PowerBook G4 running MacOSX 10.3.9.
Here is a list of versions of components, I use.

Jprobe 2.0.0.
JCA 2.1.6
CAJ 1.0.4
concurrent-1.3.1
java version "1.4.2_09" (Java SDK come with MacOSX)


And should work with more recent versions, but has not been tested.


You can switch between CAJ and the JCA JNI version by setting
useCAJ=true or false in Jprobe.java.  With CAJ it is Pure Java and
does not need .dll or .so shared libraries.

Note that neither JCA nor CAJ reads the environment for things like
EPICS_CA_ADDR_LIST.  You will need to read the documentation to learn
how to supply them (via properties or the command line) if needed.

http://jca.cosylab.com/apidocs/gov/aps/jca/JCALibrary.html#CHANNEL_ACCESS_JAVA


says, we can set up the following properties for CHANNEL_ACCESS_JAVA context.

com.cosylab.epics.caj.CAJContext.addr_list
com.cosylab.epics.caj.CAJContext.auto_addr_list
com.cosylab.epics.caj.CAJContext.connection_timeout
com.cosylab.epics.caj.CAJContext.beacon_period
com.cosylab.epics.caj.CAJContext.repeater_port
com.cosylab.epics.caj.CAJContext.server_port
com.cosylab.epics.caj.CAJContext.max_array_bytes
com.cosylab.epics.caj.impl.reactor.lf.LeaderFollowersThreadPool.thread_pool_size

However, I needed to use them with:

com.cosylab.epics.caj.CAJContext.addressList
com.cosylab.epics.caj.CAJContext.autoAddressList
com.cosylab.epics.caj.CAJContext.connectionTimeout
com.cosylab.epics.caj.CAJContext.beaconPeriod
com.cosylab.epics.caj.CAJContext.repeaterPort
com.cosylab.epics.caj.CAJContext.serverPort
com.cosylab.epics.caj.CAJContext.maxArrayBytes
com.cosylab.epics.caj.impl.reactor.lf.LeaderFollowersThreadPool.thread_pool_siz\
e

to initialize a context property.


You need to get the jar files for JCA and CAJ from Cosylab:


http://jca.cosylab.com/ and http://caj.cosylab.com/


-Ken

Thanks,


Noboru Yamamoto
EPICS group/KEKB control group
KEK, JAPAN


Replies:
RE: jprobe does not work with jca 2.x Kenneth Evans, Jr.
References:
Re: jprobe does not work with jca 2.x Kenneth Evans, Jr.

Navigate by Date:
Prev: Re: jprobe does not work with jca 2.x Kenneth Evans, Jr.
Next: RE: jprobe does not work with jca 2.x Kenneth Evans, Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: jprobe does not work with jca 2.x Kenneth Evans, Jr.
Next: RE: jprobe does not work with jca 2.x Kenneth Evans, Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·