I am really struggling with an Eclipse project where Tomcat gives me a timeout. At first, I thought that this might be a mistake that I made in some configuration of the project, so I went back to an earlier version of my code. However, this still gives the same error! When I try to start a new project (Spring MVC) over the existing one, the new one seems to work fine and (if I disable the non-working one), the server now starts.
My question is actually: how can I get a more verbose output or log from Tomcat? The server telling me that “it was not able to start within the deadline” does not really help me. Most of the solutions that I found for this type of problem are indeed solutions, but “uninstall the server and add it again” or “Uninstall the eclipse workspace and start over”, etc. Is it really impossible to get Tomcat 7 to do the right debugging log to tell me what is going on?
Below is the whole conclusion:
mai 03, 2013 1:17:45 PM org.apache.catalina.core.AprLifecycleListener init mai 03, 2013 1:17:46 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:kneip' did not find a matching property. mai 03, 2013 1:17:46 PM org.apache.coyote.AbstractProtocolHandler init INFO: Initializing ProtocolHandler ["http-bio-8080"] mai 03, 2013 1:17:46 PM org.apache.coyote.AbstractProtocolHandler init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] mai 03, 2013 1:17:46 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 666 ms mai 03, 2013 1:17:46 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina mai 03, 2013 1:17:46 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.12 mai 03, 2013 1:17:57 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started INFO : org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Fri May 03 13:17:57 CEST 2013]; root of context hierarchy INFO : org.springframework.context.annotation.ClassPathBeanDefinitionScanner - JSR-330 'javax.inject.Named' annotation found and supported for component scanning INFO : org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Successfully resolved class for [net.krg.kneip.AppConfig] INFO : org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.s pringframework.beans.factory.support.DefaultListableBeanFactory@ 4cb8a2a9: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,appConfig,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,camel,jmsConfig,activeMq,pooledConnectionFactory,jmsConnectionFactory,applicationContextProvider]; root of factory hierarchy
Thanks in advance!
source share