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  <20182019  2020  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Re: ArchiveEngine
From: Silver <[email protected]>
To: tech-talk <[email protected]>
Date: Wed, 12 Sep 2018 15:13:30 +0800
hi, Hartman:

I download the file from URL as your suggestions, but how to configure the database, is there some documents? I only find some informations on http://cs-studio.sourceforge.net/docbook/ch11.html#sec_archive_config_tool. 
and there is a example file in CSS source code \cs-studio-master\applications\archive\archive-plugins\org.csstudio.archive.engine\plugin_customization.ini 
Are there any hints?
Thanks a lot.

by using it, there is some messages:
2018-09-12 02:58:32.662 CONFIG [Thread 1] org.csstudio.vtype.pv.PVPlugin (start) - PV prefix pva provided by pva in org.csstudio.vtype.pv
2018-09-12 02:58:32.715 CONFIG [Thread 1] org.csstudio.vtype.pv.PVPlugin (start) - PV prefix ca provided by ca in org.csstudio.vtype.pv
2018-09-12 02:58:32.716 CONFIG [Thread 1] org.csstudio.vtype.pv.PVPlugin (start) - PV prefix ca provided by epics in org.csstudio.vtype.pv
2018-09-12 02:58:32.716 CONFIG [Thread 1] org.csstudio.vtype.pv.PVPlugin (start) - PV prefix loc provided by loc in org.csstudio.vtype.pv
2018-09-12 02:58:32.717 CONFIG [Thread 1] org.csstudio.vtype.pv.PVPlugin (start) - PV prefix sim provided by sim in org.csstudio.vtype.pv
2018-09-12 02:58:32.718 CONFIG [Thread 1] org.csstudio.vtype.pv.PVPlugin (start) - PV prefix mqtt provided by mqtt in org.csstudio.vtype.pv
2018-09-12 02:58:32.719 CONFIG [Thread 1] org.csstudio.vtype.pv.PVPlugin (start) - Default PV type ca
2018-09-12 02:58:32.721 INFO [Thread 1] org.csstudio.archive.engine.Application (start) - Archive Engine 4.0.0.201808301035
2018-09-12 02:58:32.810:INFO::main: Logging initialized @785ms to org.eclipse.jetty.util.log.StdErrLog
2018-09-12 02:58:33.018:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2018-09-12 02:58:33.018:INFO:oejs.session:main: No SessionScavenger set, using defaults
2018-09-12 02:58:33.019:INFO:oejs.session:main: Scavenging every 600000ms
2018-09-12 02:58:33.111 INFO [Thread 1] org.csstudio.archive.engine.server.EngineServer (<init>) - Engine HTTP Server on http://localhost:4812/main
2018-09-12 02:58:33.112 INFO [Thread 1] org.csstudio.archive.engine.Application (start) - Reading configuration '../archive-config-4.5.0/engineconfig'
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
2018-09-12 02:58:33.150 SEVERE [Thread 1] org.csstudio.archive.engine.Application (start) - Cannot read configuration
org.eclipse.core.runtime.CoreException: Plug-in "org.csstudio.archive.config.rdb" was unable to instantiate class "org.csstudio.archive.config.rdb.RDBArchiveConfig".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:186)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.csstudio.archive.config.ArchiveConfigFactory.getArchiveConfig(ArchiveConfigFactory.java:37)
at org.csstudio.archive.engine.Application.start(Application.java:220)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost/archive?rewriteBatchedStatements=true
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at org.csstudio.platform.utility.rdb.internal.MySQL_RDB.connect(MySQL_RDB.java:63)
at org.csstudio.platform.utility.rdb.RDBUtil.<init>(RDBUtil.java:179)
at org.csstudio.platform.utility.rdb.RDBUtil.connect(RDBUtil.java:143)
at org.csstudio.archive.config.rdb.RDBArchiveConfig.<init>(RDBArchiveConfig.java:82)
at org.csstudio.archive.config.rdb.RDBArchiveConfig.<init>(RDBArchiveConfig.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
... 18 more

2018-09-12 02:58:33.175:INFO:oejs.session:Framework stop: Stopped scavenging



  




Best wishes
Geyang 2018-09-12



##############on 2018-09-12, [email protected] wrote:###############
 
> I downloaded a pre-compiled version of CSS from https://ics-web.sns.ornl.gov/css/. But I can't find where is ArchiveEngine executable file. Need I download the source code from github and compile it to get ArchiveEngine file?
 
 
You need to download archive-engine separately . . .
 
https://ics-web.sns.ornl.gov/css/nightly/
 
You will likely also want archive-config.
 
 
--
Steven Hartman
 
 

References:
ArchiveEngine Silver
Re: ArchiveEngine Shen, Guobao
Re: ArchiveEngine Hartman, Steven M.

Navigate by Date:
Prev: Re: Re: ArchiveEngine Silver
Next: Re: 回复:Re: No reply from device using asyn+streamdevice Dirk Zimoch
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: ArchiveEngine Hartman, Steven M.
Next: Re: Re: ArchiveEngine Silver
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 12 Sep 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·