Page 1 of 1

tomcat logs

Posted: 2019/04/17 16:12:42
by quqonlik
Hello,

I have a questions if you guys can help. We have tomcat server and we hosts multiple websites on one server. All logs were created for virtual host sites under: /var/log/tomcat8
Not sure when change happened but website logs started stamping in different directory called: C:\HOSTS\Portal which is very weird. Only catalina logs are in correct place. Any idea what could have changed possible?

Thanks for your help!

Re: tomcat logs

Posted: 2019/04/17 16:28:17
by TrevorH
Someone has deployed a windows configuration file on your server.

Re: tomcat logs

Posted: 2019/05/15 15:25:43
by quqonlik
Here is logs from when that folder gets created after . Any idea? Tomcat is creating this weird folder;

[21685]: May 14, 2019 4:02:20 PM org.apache.catalina.core.ApplicationContext log
[21685]: INFO: Log4jServletContextListener ensuring that Log4j starts up properly.
[21685]: May 14, 2019 4:02:20 PM org.apache.catalina.core.StandardContext startInternal
[21685]: SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
[21685]: May 14, 2019 4:02:20 PM org.apache.catalina.core.StandardContext startInternal
[21685]: SEVERE: Context [/portal] startup failed due to previous errors
[21685]: May 14, 2019 4:02:20 PM org.apache.catalina.core.ApplicationContext log
[21685]: INFO: Log4jServletContextListener ensuring that Log4j shuts down properly.
[21685]: May 14, 2019 4:02:20 PM org.apache.catalina.core.ApplicationContext log
[21685]: INFO: Removing LoggerContext
[21685]: May 14, 2019 4:02:20 PM org.apache.catalina.core.ApplicationContext log
[21685]: INFO: Closing Spring root WebApplicationContext
[21685]: May 14, 2019 4:02:21 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
[21685]: WARNING: The web application [portal] appears to have started a thread named [AsyncAppender-ASYNC] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:

Re: tomcat logs

Posted: 2019/05/15 17:46:53
by aks
First a clue:
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
So look in the log for that app.

Second clue:
SEVERE: Context [/portal] startup failed due to previous errors
Tomcat is creating this weird folder;
I don't see that in what you posted.

By default, grep ir <tomcat_home>/conf/* for what was it? C:?