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  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Phoebus and Archiver Appliance
From: "Kasemir, Kay via Tech-talk" <[email protected]>
To: "[email protected]" <[email protected]>, Rory Clarke - UKRI STFC <[email protected]>
Date: Tue, 3 Dec 2019 13:30:36 +0000
Hi:

Check the manual for archive settings, https://phoebus-doc.readthedocs.io/en/latest/preference_properties.html#trends-databrowser3, specifically these 3:

# Suggested data servers...
org.csstudio.trends.databrowser3/urls

# Default data sources for newly added channels...
org.csstudio.trends.databrowser3/archives

# When opening existing data browser plot,...
org.csstudio.trends.databrowser3/use_default_archives

In your setup, you must have use_default_archives=true and archives=jdbc::oracle::...


So when you create a plot, you might search for PVs, add, view and save them with the AA data source:

org.csstudio.trends.databrowser3/urls=pbraw://claraserv2.dl.ac.uk:17668/retrieval/
 

But when you later re-open the *.plt file, use_default_archives=true ignores the saved archive data sources and instead uses the default data sources from
org.csstudio.trends.databrowser3/archives, which point to some jdbc::oracle URL and then fail to connect to Oracle:

        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:774)
 
==> Define org.csstudio.trends.databrowser3/archives to the same value as your 
org.csstudio.trends.databrowser3/urls, and consider use_default_archives=false.

The idea for use_default_archives=true is to offer an 'update path' when you change your archiving setup.
You can then set use_default_archives=true, and previously saved *.plt files will use the current default archive data sources instead of the then obsolete saved settings.

-Kay

References:
Phoebus and Archiver Appliance Rory Clarke - UKRI STFC via Tech-talk

Navigate by Date:
Prev: Re: MySQL statement in caMonitor code Aaron Brown via Tech-talk
Next: Re: MySQL statement in caMonitor code Mark Rivers via Tech-talk
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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Phoebus and Archiver Appliance Rory Clarke - UKRI STFC via Tech-talk
Next: MySQL statement in caMonitor code Aaron Brown via Tech-talk
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  <20192020  2021  2022  2023  2024 
ANJ, 03 Dec 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·