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  2012  2013  2014  2015  2016  <20172018  2019  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: archiver quickstart
From: 梁雅翔 <[email protected]>
To: tech-talk <[email protected]>
Date: Thu, 29 Jun 2017 17:24:18 +0800 (GMT+08:00)
Hi all,
    I try to use quickstart of archiver, because I know nothing about java.
    I did it as the web said "http://slacmshankar.github.io/epicsarchiver_docs/quickstart.html";.  But I got some error.

All I did.
I installed the mysql-connector-java-5.1.38.tar.gz and caj and jac.

mysql:
**************************
[lyx@localhost archiver]$ mysql --version
mysql  Ver 14.14 Distrib 5.7.17, for Linux (x86_64) using  EditLine wrapper


java:
*********************
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)


The output of "./quickstart.sh apache-tomcat-9.0.0.M21.tar.gz":
*******************************
[root@localhost archiver]# ./quickstart.sh apache-tomcat-9.0.0.M21.tar.gz 
SRCDIR=/opt/archiver
DATADIR=/opt/archiver
Using org.epics.archiverappliance.config.persistence.InMemoryPersistence as the persistence layer
Found an older quickstart_tomcat folder. Stopping any existing instances.
Using CATALINA_BASE:   /opt/archiver/quickstart_tomcat/apache-tomcat-9.0.0.M21
Using CATALINA_HOME:   /opt/archiver/quickstart_tomcat/apache-tomcat-9.0.0.M21
Using CATALINA_TMPDIR: /opt/archiver/quickstart_tomcat/apache-tomcat-9.0.0.M21/temp
Using JRE_HOME:        /usr/java/jdk
Using CLASSPATH:       /opt/archiver/quickstart_tomcat/apache-tomcat-9.0.0.M21/bin/bootstrap.jar:/opt/archiver/quickstart_tomcat/apache-tomcat-9.0.0.M21/bin/tomcat-juli.jar
Jun 29, 2017 5:16:48 AM org.apache.catalina.startup.Catalina stopServer
SEVERE: Could not contact [localhost:[16000]]. Tomcat may not be running.
Jun 29, 2017 5:16:48 AM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop: 
java.net.ConnectException: Connection refused (Connection refused)
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at java.net.Socket.connect(Socket.java:538)
	at java.net.Socket.<init>(Socket.java:434)
	at java.net.Socket.<init>(Socket.java:211)
	at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:477)
	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.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:408)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:497)

Deleting an older quickstart_tomcat
/opt/archiver/quickstart_tomcat
total 4
drwxr-xr-x. 9 root root 4096 Jun 29 05:17 apache-tomcat-9.0.0.M21
Using 64 bit versions of libraries
Starting in the foreground...
Using CATALINA_BASE:   /opt/archiver/quickstart_tomcat/apache-tomcat-9.0.0.M21
Using CATALINA_HOME:   /opt/archiver/quickstart_tomcat/apache-tomcat-9.0.0.M21
Using CATALINA_TMPDIR: /opt/archiver/quickstart_tomcat/apache-tomcat-9.0.0.M21/temp
Using JRE_HOME:        /usr/java/jdk
Using CLASSPATH:       /opt/archiver/quickstart_tomcat/apache-tomcat-9.0.0.M21/bin/bootstrap.jar:/opt/archiver/quickstart_tomcat/apache-tomcat-9.0.0.M21/bin/tomcat-juli.jar
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128M; support was removed in 8.0
29-Jun-2017 05:17:19.878 SEVERE [main] org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
 java.lang.ClassNotFoundException: org.apache.catalina.core.JasperListener
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:116)
	at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1201)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1469)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:579)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:630)
	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.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494)

29-Jun-2017 05:17:19.882 WARNING [main] org.apache.catalina.startup.Catalina.load Catalina.start using conf/server.xml: Error at (20, 67) : org.apache.catalina.core.JasperListener
29-Jun-2017 05:17:19.886 SEVERE [main] org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
 java.lang.ClassNotFoundException: org.apache.catalina.core.JasperListener
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:116)
	at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1201)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1469)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:579)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:644)
	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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)

29-Jun-2017 05:17:19.887 WARNING [main] org.apache.catalina.startup.Catalina.load Catalina.start using conf/server.xml: Error at (20, 67) : org.apache.catalina.core.JasperListener
29-Jun-2017 05:17:19.887 SEVERE [main] org.apache.catalina.startup.Catalina.start Cannot start server. Server instance is not configured.

And my file list:
*****************************
[root@localhost archiver]# ls
Apache_2.0_License.txt
apache-tomcat-9.0.0.M21.tar.gz
appliances.xml
archappl_v0.0.1_SNAPSHOT_22-June-2017T14-44-56.tar.gz
engine.war
etl.war
install_scripts
LICENSE
LTS
mgmt.war
MTS
mysql-community-release-fc20-5.noarch.rpm
NOTICE
quickstart.sh
quickstart_tomcat
RELEASE_NOTES
retrieval.war
sample_site_specific_content


Could you tell me how to do it?
(Fedora 23 64 )

Thank you,
Liang yx


Navigate by Date:
Prev: RE: Area Detector and high performance NVME devices Mark S. Engbretson
Next: RE: Area Detector and high performance NVME devices ulrik.pedersen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: PVs disconnected in CSS BOY despite access through caget Iain Marcuson
Next: Re: archiver quickstart Shankar, Murali
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024