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  2022  <20232024  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  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Problem deploying Archiver Appliance
From: Eusebio Naif Al-Soliman Fuentes via Tech-talk <tech-talk at aps.anl.gov>
To: "Kasemir, Kay" <kasemirk at ornl.gov>
Cc: Tech Talk <tech-talk at aps.anl.gov>
Date: Wed, 29 Nov 2023 17:27:38 +0100
Hello Kay.
 
I've tried with Apache Tomcat 9.0.83 and now the error doesn't appear in the log. However, I'm still getting the error 404 when I'm trying to access the web page. In the browser, it appears this:

HTTP Status 404 – Not found


Type Status Report

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.


Apache Tomcat/9.0.83

I'm going through multiple log files, but I haven't found anything useful so far. Any idea about which file I should be looking at?
 
Thanks, Eusebio.

---

Saludos/Best regards

University of Granada  

Eusebio Naif Al-Soliman Fuentes
MSc. Data Science and Computer Engineering

eunaif at correo.ugr.es



El 2023-11-29 16:52, Kasemir, Kay escribió:
:/home/usuario/archappl_install/apache-tomcat-10.1.16/lib …
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener


Looks like you’re using Tomcat 10, which changed the API.
Classes javax/servlet have been renamed/moved to Jakarta/servlet.
Try using tomcat 9 which still has the javax/servlet classes


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Eusebio Naif Al-Soliman Fuentes via Tech-talk <tech-talk at aps.anl.gov>
Date: Wednesday, November 29, 2023 at 10:47 AM
To: Tech Talk <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] Problem deploying Archiver Appliance
Hello everybody.

I'm deploying a basic Archiver Appliance in a Virtual Machine with the install_scripts/single_machine_install.sh script. I have encountered the next error in the retrieval/logs/catalina.err file:

Nov 29, 2023 4:00:30 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class [org.epics.archiverappliance.config.ArchServletContextListener]
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
    at java.base/java.lang.ClassLoader.defineClass1(Native Method)
    at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
    at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
    at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2352)
    at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:800)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1317)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1165)
    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:491)
    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:473)
    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:143)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4349)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4860)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:712)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:975)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1952)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
    at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:776)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1659)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114)
    at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
    at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:345)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:893)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:845)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1332)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1322)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
    at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:866)
    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:240)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:433)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:917)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:795)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:347)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:235)
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContextListener
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1353)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1165)
    ... 55 more

Has someone encountered this problem? It also happens when I use the quickstart.sh script. I have tried with a CentOS 7 and Debian 10 VMs and in both I have the same issue.

There is another minor problem in the log:

Nov 29, 2023 4:00:21 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/home/usuario/archappl_install/retrieval/webapps/mgmt/WEB-INF/lib/native/linux-x86_64:/home/usuario/archappl_install/etl/webapps/mgmt/WEB-INF/lib/native/linux-x86_64:/home/usuario/archappl_install/engine/webapps/mgmt/WEB-INF/lib/native/linux-x86_64:/home/usuario/archappl_install/mgmt/webapps/mgmt/WEB-INF/lib/native/linux-x86_64:/home/usuario/EPICS/epics-base/lib/linux-x86_64:/home/usuario/archappl_install/apache-tomcat-10.1.16/lib:/usr/lib/jvm/jdk-17-oracle-x64/lib/server:/usr/lib/jvm/jdk-17-oracle-x64/lib:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]
However, I don't think that this is the problem which it's blocking me, but it's still interesting to know what's happening with the SSL library, because I think that the dependencies are already installed.

Thanks in advance. Eusebio.
--

Saludos/Best regards

University of Granada


Eusebio Naif Al-Soliman Fuentes
MSc. Data Science and Computer Engineering

eunaif at correo.ugr.es

Replies:
Re: Problem deploying Archiver Appliance Wang, Lin via Tech-talk
References:
Problem deploying Archiver Appliance Eusebio Naif Al-Soliman Fuentes via Tech-talk
Re: [EXTERNAL] Problem deploying Archiver Appliance Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] Problem deploying Archiver Appliance Kasemir, Kay via Tech-talk
Next: Re: [EXTERNAL] Problem deploying Archiver Appliance Shankar, Murali 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  2022  <20232024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Problem deploying Archiver Appliance Kasemir, Kay via Tech-talk
Next: Re: Problem deploying Archiver Appliance Wang, Lin 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  2022  <20232024 
ANJ, 29 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·