hi, Shankar, Murali:
Here is the grep result in logs:
-----------------------------------------------------------
arch.log:10495 [localhost-startStop-1] FATAL org.epics.archiverappliance.config.ArchServletContextListener - Exception initializing config service
arch.log:org.epics.archiverappliance.config.exception.ConfigException: The hostname from appliances.xml is appsvr0.ssrf.ac.cn and from a call to InetAddress.getLocalHost().getCanonicalHostName() (typially FQDN) is 159.226.222.248. These are not identical. They
are probably equivalent but to prevent multiple appliances binding to the same identity we enforce this equality.
arch.log:8507 [localhost-startStop-1] FATAL org.epics.archiverappliance.config.ArchServletContextListener - Exception initializing config service
arch.log:org.epics.archiverappliance.config.exception.ConfigException: The hostname from appliances.xml is appsvr0.ssrf.ac.cn and from a call to InetAddress.getLocalHost().getCanonicalHostName() (typially FQDN) is 159.226.222.248. These are not identical. They
are probably equivalent but to prevent multiple appliances binding to the same identity we enforce this equality.
arch.log:8446 [localhost-startStop-1] FATAL org.epics.archiverappliance.config.ArchServletContextListener - Exception initializing config service
arch.log:org.epics.archiverappliance.config.exception.ConfigException: The hostname from appliances.xml is appsvr0.ssrf.ac.cn and from a call to InetAddress.getLocalHost().getCanonicalHostName() (typially FQDN) is 159.226.222.248. These are not identical. They
are probably equivalent but to prevent multiple appliances binding to the same identity we enforce this equality.
arch.log:8573 [localhost-startStop-1] FATAL org.epics.archiverappliance.config.ArchServletContextListener - Exception initializing config service
arch.log:org.epics.archiverappliance.config.exception.ConfigException: The hostname from appliances.xml is appsvr0.ssrf.ac.cn and from a call to InetAddress.getLocalHost().getCanonicalHostName() (typially FQDN) is 159.226.222.248. These are not identical. They
are probably equivalent but to prevent multiple appliances binding to the same identity we enforce this equality.
arch.log:9066 [localhost-startStop-1] FATAL org.epics.archiverappliance.config.ArchServletContextListener - Exception initializing config service
arch.log:org.epics.archiverappliance.config.exception.ConfigException: The hostname from appliances.xml is appsvr0.ssrf.ac.cn and from a call to InetAddress.getLocalHost().getCanonicalHostName() (typially FQDN) is 159.226.222.248. These are not identical. They
are probably equivalent but to prevent multiple appliances binding to the same identity we enforce this equality.
arch.log.2015-11-30:7358 [localhost-startStop-1] FATAL org.epics.archiverappliance.config.ArchServletContextListener - Exception initializing config service
arch.log.2015-11-30:org.epics.archiverappliance.config.exception.ConfigException: The hostname from appliances.xml is appsvr0.ssrf.ac.cn and from a call to InetAddress.getLocalHost().getCanonicalHostName() (typially FQDN) is 159.226.222.248. These are not identical.
They are probably equivalent but to prevent multiple appliances binding to the same identity we enforce this equality.
catalina.err:SEVERE: Servlet.service() for servlet [StaticContent] in context with path [/mgmt] threw exception
catalina.err:java.lang.NullPointerException
catalina.err:SEVERE: Servlet.service() for servlet [BPLServlet] in context with path [/mgmt] threw exception
catalina.err:java.lang.NullPointerException
catalina.err:SEVERE: Servlet.service() for servlet [StaticContent] in context with path [/mgmt] threw exception
catalina.err:java.lang.NullPointerException
catalina.err:SEVERE: Servlet.service() for servlet [StaticContent] in context with path [/mgmt] threw exception
catalina.err:java.lang.NullPointerException
catalina.err:SEVERE: Servlet.service() for servlet [StaticContent] in context with path [/mgmt] threw exception
catalina.err:java.lang.NullPointerException
catalina.err:SEVERE: Servlet.service() for servlet [StaticContent] in context with path [/mgmt] threw exception
catalina.err:java.lang.NullPointerException
catalina.err:SEVERE: Servlet.service() for servlet [StaticContent] in context with path [/mgmt] threw exception
catalina.err:java.lang.NullPointerException
catalina.err:SEVERE: Servlet.service() for servlet [StaticContent] in context with path [/mgmt] threw exception
catalina.err:java.lang.NullPointerException
catalina.err:SEVERE: Servlet.service() for servlet [StaticContent] in context with path [/mgmt] threw exception
catalina.err:java.lang.NullPointerException
-----------------------------------------------------------
in appliances.xml, If I just deploy archiver in one machine without hostname, how to modify it?
-----------------------------------------------
<appliances>
<appliance>
<identity>appliance0</identity>
<cluster_inetport>appsvr0.ssrf.ac.cn:16670</cluster_inetport>
<mgmt_url>http://appsvr0.ssrf.ac.cn:17665/mgmt/bpl</mgmt_url>
<engine_url>http://appsvr0.ssrf.ac.cn:17666/engine/bpl</engine_url>
<etl_url>http://appsvr0.ssrf.ac.cn:17667/etl/bpl</etl_url>
<retrieval_url>http://localhost:17668/retrieval/bpl</retrieval_url>
<data_retrieval_url>http://appsvr0.ssrf.ac.cn:17668/retrieval</data_retrieval_url>
</appliance>
</appliances>
-----------------------------------------------
I checked the messages in tech-talk, it says caj doesn't support 64bit well, I just download caj-1.1.8.jar.
in apache-tomcat-7.0.65/logs, there is no logs newly created. If I visit 192.168.1.151:17665, the tomcat can be displayed correctly.
thanks a lot for your help.
Best wishes
Geyang 2015-12-01
There should be some kind of exception (probably initializing the MySQL connection pool since your quickstart is working).
Could you do a grep xception * in your mgmt/logs folder and see if you see any exceptions?
Regards,
Murali
From: Shankar, Murali
Sent: Monday, November 30, 2015 10:08 AM
To: [email protected]
Subject: EPICS Archiver Appliance problem
Hi Geyang,
I can help you out. Your ConfigService is not being initialized correctly. Can you send me the other log files from your Tomcat/logs folder?
Regards,
Murali
|