[Geoserver-users] tomcat: one or more listeners failed to start.

Hello!

My objective is to use Geoserver to serve geoTIFF Topo maps from USGS as WMS tiles. There is a 250 mile walking trail that does not have a good map.

I have installed geoserver three different ways and have come up against the same roadblock on the server installs: Unable to log on as administrator due to browser HTTPS complaints.

  1. Stable Standalone on Ubuntu 22 LTS - AWS EC2 - NGINX HTTPS proxy
    I can not log on as administrator remotely due to the browsers HTTPS requirement. Geoserver works fine on HTTPS behind a nginx reverse proxy except for being able to log on.

  2. Stable WAR on Tomcat 10 ./ OJDK 11 - Ubuntu 22 - LTS AWS EC2
    Tomcat is full functional with HTTPS thanks to LetsEncrypt certificates. I have deployed the WAR to tomcat/webapps and it shows on the web management screen but will not start. The “SEVERE” log entry has to do with listeners that do not start.

Log Entry
22-Sep-2023 08:45:10.002 INFO [https-jsse-nio-8443-exec-3] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
22-Sep-2023 08:45:10.027 SEVERE [https-jsse-nio-8443-exec-3] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
22-Sep-2023 08:45:10.027 SEVERE [https-jsse-nio-8443-exec-3] org.apache.catalina.core.StandardContext.startInternal Context [/geoserver] startup failed due to previous errors

Tomcat Screen Shot

Server Enivironment
openjdk 11.0.20.1 2023-08-24
OpenJDK Runtime Environment (build 11.0.20.1+1-post-Ubuntu-0ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.20.1+1-post-Ubuntu-0ubuntu122.04, mixed mode, sharing)
ubuntu@…11837…:/usr/share/geoserver/bin$

Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
Using CATALINA_OPTS: -DGEOSERVER_DATA_DIR=/var/lib/geoserver_data

Geoserver versions tried
geoserver-2.22.5-bin.zip geoserver-2.23.2-bin.zip geoserver-2.23.x-latest-war.zip geoserver.war
geoserver-2.22.5-war.zip geoserver-2.23.2-war.zip

  1. Stable Standalone on Windows Laptop
    Works great but not a suitable platform for a server.

I read several posts that solved the listener-failed-to-start by changing their java and/or geoserver version. The geoserver WARs I have used show as good with OpenSDK 11 but still no joy.

Is there a Tomcat - Java - Geoserver combination that I should try?

Regards,

David Carlin

tomcat.PNG

It sounds as though the first option is working except for the HTTPS requirement - so either change browsers or configure NGINX to handle https properly. Transport encryption isn’t a geoserver problem - I know a lot of organisations that are happily running GeoServer in tomcat 9 on ubuntu 22.04 EC2s so that isn’t the issue.

Ian

···

Ian Turton