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  2019  2020  2021  <20222023  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  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: phoebus alarm-logging UI blank
From: Paul Sichta via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 17 Feb 2022 17:15:15 -0500
I should add I am using Maven 3.0.5.  

The phoebus README said to use Maven 2.x .... but that uses http to access maven central plugins, so you get 501 code.
I was hoping maven v3 isn't the problem.


I also tried openJDK 11.0.2, same SLF4J issue
-ps

On Thu, Feb 17, 2022 at 12:23 PM Paul Sichta <psichta at pppl.gov> wrote:
I cannot get the Alarm Log Table to show anything.  I'm using the default phoebus installation with the Accelerator topic, everything on localhost.

Versions:
current phoebus from git
openJDK 14.0.1
Kafka 2.12-2.4.0,  running zk and kafka in separate terminals
elasticsearch 6.8.4,  this running as a service

The kafka and alarm-logger terminals show the alarm events, and the Elasticsearch shows the indices:
curl -XGET localhost:9200/_cat/indices/
yellow open accelerator_alarms_cmd_2022-02-01    6fGn4YdqS-OfVnnzYl8-lQ 5 1    3 0  14.4kb  14.4kb
yellow open accelerator_alarms_config_2022-02-01 jPrWr4h-SYqr-yiW29W_fw 5 1   77 0 179.5kb 179.5kb
yellow open accelerator_alarms_state_2022-02-01  gF3U7_gpQSGf3zilts2nkQ 5 1 3991 0 544.3kb 544.3kb


What is suspicious: During maven build there is a complaint about SLF4J:

[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ service-alarm-logger ---
[INFO] Building jar: /opt/phoebus/phoebus/services/alarm-logger/target/service-alarm-logger-4.6.6-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:2.1.6.RELEASE:repackage (default) @ service-alarm-logger ---
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] --- maven-assembly-plugin:3.2.0:single (make-assembly) @ service-alarm-logger ---


Do I need to add a dependency in the alarm-logger pom.xml file to get StaticLoggerBinder to be visible?  

Regards,
-ps


Replies:
AW: phoebus alarm-logging UI blank Gotz, Malte via Tech-talk
References:
phoebus alarm-logging UI blank Paul Sichta via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] Trying to create softIoc to group alarms in one variable Hartman, Steven via Tech-talk
Next: AW: phoebus alarm-logging UI blank Gotz, Malte 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  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: phoebus alarm-logging UI blank Paul Sichta via Tech-talk
Next: AW: phoebus alarm-logging UI blank Gotz, Malte 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  2019  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·