tomcat logs

General support questions
Post Reply
quqonlik
Posts: 16
Joined: 2019/01/19 23:29:32

tomcat logs

Post by quqonlik » 2019/04/17 16:12:42

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!

User avatar
TrevorH
Forum Moderator
Posts: 26297
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: tomcat logs

Post by TrevorH » 2019/04/17 16:28:17

Someone has deployed a windows configuration file on your server.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

quqonlik
Posts: 16
Joined: 2019/01/19 23:29:32

Re: tomcat logs

Post by quqonlik » 2019/05/15 15:25:43

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:

aks
Posts: 2807
Joined: 2014/09/20 11:22:14

Re: tomcat logs

Post by aks » 2019/05/15 17:46:53

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:?

Post Reply