Hi Peter,
On 2012-04-09 Peter Milne wrote:
> CA tunnelled successfully over ssh:
>
> (IOC:5064 port forwarded to localhost:10013)
>
> export EPICS_CA_ADDR_LIST=localhost:10013
> export EPICS_CA_AUTO_ADDR_LIST=no
> export EPICS_CA_NAME_SERVERS=localhost:10013
>
> camonitor cpsc_011_UPTIME
> cpsc_011_UPTIME 2012-04-09 19:02:06.116235 107056
> cpsc_011_UPTIME 2012-04-09 19:02:07.116355 107057
>
> But on running css from the same shell session with the same exported
> variables, it's unable to see the PV
>
> => Is it possible to view a tunneled PV from CSS?.
Does your CSS have JCA configured to use the Pure Java implementation of the
CA client code, or the JNI implementation that calls OS-specific? You can
find that under Preferences => CSS Core => EPICS.
I suspect the pure Java implementation of JCA doesn't have the ability to make
TCP-only connections (added to Base in 3.14.12) which is required to tunnel CA
over ssh. It should be possible to fix that by switching to JNI as long as the
native libraries it uses are from Base-3.14.12 or later. Unfortunately I also
suspect the CSS distributions have not updated those Base libraries recently,
so you might have some difficulties with this unless you build your own
package.
- Andrew
--
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte
- Replies:
- Re: does CSS (CAJ?) support CA over an ssh tunnel Peter Milne
- References:
- does CSS (CAJ?) support CA over an ssh tunnel Peter Milne
- Navigate by Date:
- Prev:
Re: does CSS (CAJ?) support CA over an ssh tunnel Kasemir, Kay
- Next:
Re: does CSS (CAJ?) support CA over an ssh tunnel Peter Milne
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: does CSS (CAJ?) support CA over an ssh tunnel Kasemir, Kay
- Next:
Re: does CSS (CAJ?) support CA over an ssh tunnel Peter Milne
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|