Closed AngermannBR closed 7 years ago
To answer my own question:
More detailed logging can be enabled by adding a file named logging.properties to dm3-1.70.war/WEB-INF/classes the content of the file should be:
handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
org.apache.juli.FileHandler.level = FINE
org.apache.juli.FileHandler.directory = /var/log
org.apache.juli.FileHandler.prefix = myapp-tomcat.
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
If the application cannot connect to MySQL or MongoDB an uncaught exception will lead to the behavior I described earlier.
Best regards, Bastian
Hi,
could you provide some pointers troubleshooting the installation process? I've been able to build the application, but upon startup tomcat produces the error message
SEVERE: Error listenerStart
(full log attached).I've tried adding the following logging.properties to dm3-1.70.war/WEB-INF/classes
org.apache.catalina.core.ContainerBase.[Catalina].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler
but that does not produce any additional output.What might cause this issue, is there any way to produce more verbose output? Can I expect failures to connect with MongoDB or MySQL to be logged as such, or would these result in the error I am experiencing?
Thanks a lot, Bastian error.txt