EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: does CSS (CAJ?) support CA over an ssh tunnel
From: "Kasemir, Kay" <kasemirk@ornl.gov>
To: Peter Milne <peter.milne@d-tacq.com>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Mon, 9 Apr 2012 14:41:31 -0400
Hi:

Two issues.

1) CSS does not use those variables.
You need to check Edit/Preferences/CSS Core/EPICS
and edit them in there, or see
http://sourceforge.net/apps/trac/cs-studio/wiki/HierarchicalPreferences
about setting things like

org.csstudio.platform.libs.epics/auto_addr_list=false
org.csstudio.platform.libs.epics/use_pure_java=true
org.csstudio.platform.libs.epics/addr_list=127.0.0.1:12345
org.csstudio.platform.libs.epics/max_array_bytes=460000

The disadvantage:

Yes, it ignores those env. variables that we've grown
accustomed to.

The advantage:
You can see what it's actually using from Edit/Preferences/...
Compare that to figuring out what StripTool, Probe, EDM, .. are actually
using and which of /etc/bash_profile, ~/.bashrc, ... set it.


2) CSS currently uses CAJ 1.1.7, or a JNI version of JCA that
was build against EPICS base R3.14.11 or older for the Win32 binaries.
I don't think those support CA-over-ssh

-Kay


On 4/9/12 14:15 , "Peter Milne" <peter.milne@d-tacq.com> wrote:
>Currently using CSS on a remote session over the Net with NX, it's OK,
>but a local session would be better.
>
>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?.
>
>-- 
>Peter Milne			Peter.Milne@d-tacq.com
>D-TACQ Solutions Ltd		www.d-tacq.com



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 Till Straumann
Next: Re: does CSS (CAJ?) support CA over an ssh tunnel Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: does CSS (CAJ?) support CA over an ssh tunnel Till Straumann
Next: Re: does CSS (CAJ?) support CA over an ssh tunnel Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020