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!
tomcat logs
Re: tomcat logs
Someone has deployed a windows configuration file on your server.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: tomcat logs
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:
[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
First a clue:
Second clue:
By default, grep ir <tomcat_home>/conf/* for what was it? C:?
So look in the log for that app.SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Second clue:
SEVERE: Context [/portal] startup failed due to previous errors
I don't see that in what you posted.Tomcat is creating this weird folder;
By default, grep ir <tomcat_home>/conf/* for what was it? C:?