Closed machette2612 closed 6 years ago
Hi,
I just tested LogNavigator on tomcat 8.5 and it works great !
Hi,
When I deploy your WAR in a tomcat8.5, I have the following error : type Rapport d''état
message /lognavigator/
description La ressource demandée n''est pas disponible.
which means that the application is not started.
Port 8080 is opened and I can access to my tomcat management page. Do you know which can be the root cause of this problem ?
Many thanks in advance for your answer,
Best regards,
Thomas
Strange...
Do you have some error logs in tomcat ? (catalina.out, catalina-
Yes,
Some tips before: All the informations you need are in the logs (version of tomcat, openjdk, ...) You need to know that the tomcat is running into a docker container, but it's change nothing to his real behaviour. And here are the tomcat logs :
Strange to see you get absolutely no error log about LogNavigator deployment. Usually, when you have a 404 error while accessing home page, it is because war deployment fails on tomcat.
In tomcat management app, do you see "lognavigator" ? Is the status "started" ?
Another thing is that LogNavigator app logs by default on standard console.
I don't see in your logs, any logs from LogNavigator app (using log4j pattern defined by LogNavigator app). Do you have standard console logs ?
By the way, you can customize log4j configuration, using java system property "-Dlog4j.configuration=file:/path/to/log4j.properties"
Finally, I notice in the log line below, that your java home is a JRE. It is a problem for LogNavigator because it uses JSP technology that requires compilation (so a JDK)
Log line that indicates java home :
23-Jan-2018 08:38:27.498 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/jre
The logs I shared to you is the standard console logs (by default, the container logs in stdout). But I think it's more a JAVA_HOME problem. For the logging, we will manage to display something about lognav with log4j properties.
Many thanks for your quick answers. I keep contact with you in case of others problems.
Best regards,
Thomas
I also think that java_home value is your problem. Hope that it will solve your problem.
Hello,
Is your web application tomcat 8.5 compliant ?
Kind regards,
Thomas