On 11/27/22 10:05, Amn Ojee Uw wrote:
Thank you folks for the help, but as you might've guess, I am not well
verse in Tomcat, I am just a student of it, let alone trouble shooting
it. So, in '/opt/tomecat/opt' I found these files, which just might be
able to shed some light in the eyes of a experienced Tomecat user.
========== currurnt.out ==========
/opt/tomcat/bin/catalina.sh: 1: eval:
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java: not found
/opt/tomcat/bin/catalina.sh: 1: eval:
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java: not found
/opt/tomcat/bin/catalina.sh: 1: eval:
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java: not found
/opt/tomcat/bin/catalina.sh: 1: eval:
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java: not found
/opt/tomcat/bin/catalina.sh: 1: eval:
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java: not found
/opt/tomcat/bin/catalina.sh: 1: eval:
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java: not found
What is the date of "currurnt.out" (ls -l currurnt.out)? Please don't
show a screen shot, just the text. Is '/opt/tomecate/opt' the actual
location?
Do you have JAVA_HOME or JAVAHOME set in your environment? echo
$JAVA_HOME; echo $JAVAHOME
========== localhost.2022-11-27.log ==========
27-Nov-2022 11:52:28.422 INFO [main]
org.apache.catalina.core.ApplicationContext.log ContextListener:
contextInitialized()
27-Nov-2022 11:52:28.422 INFO [main]
org.apache.catalina.core.ApplicationContext.log SessionListener:
contextInitialized()
27-Nov-2022 11:52:28.435 INFO [main]
org.apache.catalina.core.ApplicationContext.log ContextListener:
attributeAdded('StockTicker', 'async.Stockticker@186978a6')
27-Nov-2022 11:53:07.817 INFO [Thread-1]
org.apache.catalina.core.ApplicationContext.log SessionListener:
contextDestroyed()
27-Nov-2022 11:53:07.817 INFO [Thread-1]
org.apache.catalina.core.ApplicationContext.log ContextListener:
contextDestroyed()
Where is this log found and is this log from manually starting tomcat
(using catalina.sh) or from systemctl start tomcat. We see here that
java has in fact been found, tomcat has started and found a web-app
(Stockticker) I believe. Then stopped. I assume there are more lines
in the log file?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org