Jump to content
We've recently updated our Privacy Statement, available here ×

Tomcat gives errors on startup and shutdown


andrew_50

Recommended Posts

I am running Jasper Server 7.8 on ubuntu 20.04.2 (64 bit), with openjdk 8

Starting tomcat up gives a bunch of warnings (but everything runs, tomcat and jasper server) - tomcat status is running/ok

Stopping tomcat gives a bunch of errors, but does stop.

I have attached a copy of catalina.out

 

Colour me unamused.

Hoping someone will be able to offer me some insight/wisdom/correction.

 

My tomcat.service file is as follows:

[unit]Description=Tomcat 9After=network.target[service]Type=forkingEnvironment=JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64Environment=CATALINA_PID=/opt/tomcat/current/temp/tomcat.pidEnvironment=CATALINA_HOME=/opt/tomcat/currentEnvironment=CATALINA_BASE=/opt/tomcat/currentEnvironment='CATALINA_OPTS=-Xms4G -Xmx5G -server -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=20 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70'Environment='JAVA_OPTS=-Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8484 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=192.168.1.98'ExecStart=/opt/tomcat/current/bin/startup.shExecStop=/opt/tomcat/current/bin/shutdown.shUser=tomcatGroup=tomcatUMask=0007RestartSec=10Restart=always[install]WantedBy=multi-user.target

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...