#2259: tomcat9 dead at startup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

#2259: tomcat9 dead at startup

OSGeoLive
#2259: tomcat9 dead at startup
-----------------------+---------------------------
 Reporter:  darkblueb  |      Owner:  osgeolive@…
     Type:  defect     |     Status:  new
 Priority:  blocker    |  Milestone:  OSGeoLive14.0
Component:  OSGeoLive  |   Keywords:  java, tomcat9
-----------------------+---------------------------
 {{{
 user@osgeolive:~$ /usr/share/tomcat9/bin/version.sh
 Using CATALINA_BASE:   /usr/share/tomcat9
 Using CATALINA_HOME:   /usr/share/tomcat9
 Using CATALINA_TMPDIR: /usr/share/tomcat9/temp
 Using JRE_HOME:        /usr
 Using CLASSPATH:
 /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-
 juli.jar
 Server version: Apache Tomcat/9.0.31 (Ubuntu)
 Server built:   Oct 20 2020 12:27:39 UTC
 Server number:  9.0.31.0
 OS Name:        Linux
 OS Version:     5.4.0-42-generic
 Architecture:   amd64
 JVM Version:    1.8.0_275-8u275-b01-0ubuntu1~20.04-b01
 JVM Vendor:     Private Build

 }}}

 {{{
 user@osgeolive:~$ sudo service tomcat9 status
 ● tomcat9.service - Apache Tomcat 9 Web Application Server
      Loaded: loaded (/lib/systemd/system/tomcat9.service; disabled; vendor
 preset: enabled)
      Active: inactive (dead)
        Docs: https://tomcat.apache.org/tomcat-9.0-doc/index.html
 user@osgeolive:~$ cd /var/log
 }}}

 so, a funny thing happened in the boot sequence today
 adduser: add user "user" to group "users"
 a few of thise, and then    adduser: no such group as "tomcat8"
 cannot add user to group tomcat8 - hah



 logging is log4j;
 nothing in /var/log/tomcat9;
 in /etc/tomcat9/catalina.properties    some settings


 {{{
 user@osgeolive:/var/log$ sudo service tomcat9 restart
 user@osgeolive:/var/log$ sudo service tomcat9 status

 ● tomcat9.service - Apache Tomcat 9 Web Application Server
      Loaded: loaded (/lib/systemd/system/tomcat9.service; disabled; vendor
 preset: enabled)
      Active: active (running) since Fri 2020-11-20 06:47:05 UTC; 48s ago
        Docs: https://tomcat.apache.org/tomcat-9.0-doc/index.html
     Process: 3864 ExecStartPre=/usr/libexec/tomcat9/tomcat-update-
 policy.sh (code=exited, status=0/SUCCESS)
    Main PID: 3884 (java)
       Tasks: 41 (limit: 4592)
      Memory: 359.5M
      CGroup: /system.slice/tomcat9.service
              └─3884 /usr/lib/jvm/default-java/bin/java
 -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.p>

 Nov 20 06:47:25 osgeolive tomcat9[3884]: Deployment of deployment
 descriptor [/etc/tomcat9/Catalina/localhost/host-man>
 Nov 20 06:47:25 osgeolive tomcat9[3884]: Deploying deployment descriptor
 [/etc/tomcat9/Catalina/localhost/manager.xml]
 Nov 20 06:47:25 osgeolive tomcat9[3884]: The path attribute with value
 [/manager] in deployment descriptor [/etc/tomca>
 Nov 20 06:47:26 osgeolive tomcat9[3884]: At least one JAR was scanned for
 TLDs yet contained no TLDs. Enable debug log>
 Nov 20 06:47:26 osgeolive tomcat9[3884]: Deployment of deployment
 descriptor [/etc/tomcat9/Catalina/localhost/manager.>
 Nov 20 06:47:26 osgeolive tomcat9[3884]: Deploying web application
 directory [/var/lib/tomcat9/webapps/ROOT]
 Nov 20 06:47:27 osgeolive tomcat9[3884]: At least one JAR was scanned for
 TLDs yet contained no TLDs. Enable debug log>
 Nov 20 06:47:27 osgeolive tomcat9[3884]: Deployment of web application
 directory [/var/lib/tomcat9/webapps/ROOT] has f>
 Nov 20 06:47:27 osgeolive tomcat9[3884]: Starting ProtocolHandler ["http-
 nio-8080"]
 Nov 20 06:47:27 osgeolive tomcat9[3884]: Server startup in [6,038]
 milliseconds
 lines 1-21/21 (END)

 }}}

--
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2259>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.

_______________________________________________
osgeolive mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeolive