gudii9
asked on
tomcat wont start in debug
tomcat wont start in debug
where as tomcat is staring fine in regular mode.
i increased time out from 45 to 450 still similar error.
Server Tomcat v8.0 Server at localhost was unable to start within 450 seconds. If the server requires more time, try increasing the timeout in the server editor.
i wonder why server starts in regular mode but takes forever to start in debug mode.
regular startup happens in 10 seconds asap.
Aug 14, 2017 5:40:21 PM org.apache.tomcat.util.dig ester.SetP ropertiesR ule begin
WARNING: [SetPropertiesRule]{Server /Service/E ngine/Host /Context} Setting property 'source' to 'org.eclipse.jst.jee.serve r:wsdlfirs tws' did not find a matching property.
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: Server version: Apache Tomcat/8.0.39
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: Server built: Nov 9 2016 08:48:39 UTC
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: Server number: 8.0.39.0
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: OS Name: Windows 10
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: OS Version: 10.0
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: Architecture: amd64
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: Java Home: C:\Program Files\Java\jre1.8.0_102
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: JVM Version: 1.8.0_102-b14
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: JVM Vendor: Oracle Corporation
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: CATALINA_BASE: C:\Users\saiganesh\mars_wo rkspace\.m etadata\.p lugins\org .eclipse.w st.server. core\tmp0
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: CATALINA_HOME: C:\gpSoftwares\apache-tomc at-8.0.39- windows-x6 4\apache-t omcat-8.0. 39
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: Command line argument: -Dcatalina.base=C:\Users\s aiganesh\m ars_worksp ace\.metad ata\.plugi ns\org.ecl ipse.wst.s erver.core \tmp0
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: Command line argument: -Dcatalina.home=C:\gpSoftw ares\apach e-tomcat-8 .0.39-wind ows-x64\ap ache-tomca t-8.0.39
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: Command line argument: -Dwtp.deploy=C:\Users\saig anesh\mars _workspace \.metadata \.plugins\ org.eclips e.wst.serv er.core\tm p0\wtpweba pps
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: Command line argument: -Djava.endorsed.dirs=C:\gp Softwares\ apache-tom cat-8.0.39 -windows-x 64\apache- tomcat-8.0 .39\endors ed
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.VersionL oggerListe ner log
INFO: Command line argument: -Dfile.encoding=Cp1252
Aug 14, 2017 5:40:21 PM org.apache.catalina.core.A prLifecycl eListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_102\bi n;C:\WINDO WS\Sun\Jav a\bin;C:\W INDOWS\sys tem32;C:\W INDOWS;C:/ Program Files/Java/jre1.8.0_102/bi n/server;C :/Program Files/Java/jre1.8.0_102/bi n;C:/Progr am Files/Java/jre1.8.0_102/li b/amd64;C: \oraclexe\ app\oracle \product\1 1.2.0\serv er\bin;C:\ ProgramDat a\Oracle\J ava\javapa th;C:\Prog ram Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system3 2;C:\WINDO WS;C:\WIND OWS\System 32\Wbem;C: \WINDOWS\S ystem32\Wi ndowsPower Shell\v1.0 \;C:\Progr am Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Skype\Phone\;C:\Prog ram Files\Java\jdk1.8.0_102\bi n;C:\gpSof twares\apa che-maven- 3.3.9-bin\ apache-mav en-3.3.9\b in;C:\User s\saiganes h\AppData\ Local\Micr osoft\Wind owsApps;C: \Program Files\Java\jdk1.8.0_102\bi n;;C:\gpSo ftwares\ec lipse-jee- mars-2-win 32-x86_64\ eclipse;;.
Aug 14, 2017 5:40:21 PM org.apache.coyote.Abstract Protocol init
INFO: Initializing ProtocolHandler ["http-nio-8924"]
Aug 14, 2017 5:40:21 PM org.apache.tomcat.util.net .NioSelect orPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Aug 14, 2017 5:40:21 PM org.apache.coyote.Abstract Protocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Aug 14, 2017 5:40:21 PM org.apache.tomcat.util.net .NioSelect orPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu p.Catalina load
INFO: Initialization processed in 976 ms
Aug 14, 2017 5:40:21 PM org.apache.catalina.core.S tandardSer vice startInternal
INFO: Starting service Catalina
Aug 14, 2017 5:40:21 PM org.apache.catalina.core.S tandardEng ine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.39
Aug 14, 2017 5:40:22 PM org.apache.jasper.servlet. TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14, 2017 5:40:28 PM org.apache.jasper.servlet. TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14, 2017 5:40:28 PM org.apache.catalina.core.A pplication Context log
INFO: No Spring WebApplicationInitializer types detected on classpath
Aug 14, 2017 5:40:29 PM org.springframework.contex t.support. AbstractAp plicationC ontext prepareRefresh
INFO: Refreshing Root WebApplicationContext: startup date [Mon Aug 14 17:40:29 EDT 2017]; root of context hierarchy
Aug 14, 2017 5:40:29 PM org.springframework.beans. factory.xm l.XmlBeanD efinitionR eader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
Aug 14, 2017 5:40:29 PM org.springframework.beans. factory.xm l.XmlBeanD efinitionR eader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [file:/C:/Users/saiganesh/ mars_works pace/.meta data/.plug ins/org.ec lipse.wst. server.cor e/tmp0/wtp webapps/ws dlfirstws/ WEB-INF/cx f-servlet. xml]
Aug 14, 2017 5:40:29 PM org.springframework.beans. factory.su pport.Defa ultListabl eBeanFacto ry preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans. factory.su pport.Defa ultListabl eBeanFacto ry@1789f3a d: defining beans [cxf,org.apache.cxf.bus.sp ring.BusWi ringBeanFa ctoryPostP rocessor,o rg.apache. cxf.bus.sp ring.Jsr25 0BeanPostP rocessor,o rg.apache. cxf.bus.sp ring.BusEx tensionPos tProcessor ,customerO rdersWs,cx f.config0] ; root of factory hierarchy
Aug 14, 2017 5:40:30 PM org.apache.cxf.wsdl.servic e.factory. Reflection ServiceFac toryBean buildServiceFromWSDL
INFO: Creating Service {http://trainings.ws.bharath.com/}CustomerOrdersService from WSDL: WEB-INF/wsdl/CustomerOrder s.wsdl
Aug 14, 2017 5:40:31 PM org.apache.cxf.frontend.Ab stractWSDL BasedEndpo intFactory createEndpoint
WARNING: Could not find endpoint/port for {http://impl.trainings.ws.bharath.com/}CustomersOrdersWSImplPor t in wsdl. Using {http://trainings.ws.bharath.com/}CustomerOrdersPort.
Aug 14, 2017 5:40:31 PM org.apache.cxf.endpoint.Se rverImpl initDestination
INFO: Setting the server's publish address to be /customerOrders
Aug 14, 2017 5:40:32 PM org.apache.coyote.Abstract Protocol start
INFO: Starting ProtocolHandler ["http-nio-8924"]
Aug 14, 2017 5:40:32 PM org.apache.coyote.Abstract Protocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Aug 14, 2017 5:40:32 PM org.apache.catalina.startu p.Catalina start
INFO: Server startup in 10408 ms
where i can se tomcat 8 server log which is embedded to eclipse mars?
please advise
where as tomcat is staring fine in regular mode.
i increased time out from 45 to 450 still similar error.
Server Tomcat v8.0 Server at localhost was unable to start within 450 seconds. If the server requires more time, try increasing the timeout in the server editor.
i wonder why server starts in regular mode but takes forever to start in debug mode.
regular startup happens in 10 seconds asap.
Aug 14, 2017 5:40:21 PM org.apache.tomcat.util.dig
WARNING: [SetPropertiesRule]{Server
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: Server version: Apache Tomcat/8.0.39
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: Server built: Nov 9 2016 08:48:39 UTC
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: Server number: 8.0.39.0
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: OS Name: Windows 10
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: OS Version: 10.0
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: Architecture: amd64
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: Java Home: C:\Program Files\Java\jre1.8.0_102
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: JVM Version: 1.8.0_102-b14
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: JVM Vendor: Oracle Corporation
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: CATALINA_BASE: C:\Users\saiganesh\mars_wo
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: CATALINA_HOME: C:\gpSoftwares\apache-tomc
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: Command line argument: -Dcatalina.base=C:\Users\s
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: Command line argument: -Dcatalina.home=C:\gpSoftw
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: Command line argument: -Dwtp.deploy=C:\Users\saig
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: Command line argument: -Djava.endorsed.dirs=C:\gp
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: Command line argument: -Dfile.encoding=Cp1252
Aug 14, 2017 5:40:21 PM org.apache.catalina.core.A
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_102\bi
Aug 14, 2017 5:40:21 PM org.apache.coyote.Abstract
INFO: Initializing ProtocolHandler ["http-nio-8924"]
Aug 14, 2017 5:40:21 PM org.apache.tomcat.util.net
INFO: Using a shared selector for servlet write/read
Aug 14, 2017 5:40:21 PM org.apache.coyote.Abstract
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Aug 14, 2017 5:40:21 PM org.apache.tomcat.util.net
INFO: Using a shared selector for servlet write/read
Aug 14, 2017 5:40:21 PM org.apache.catalina.startu
INFO: Initialization processed in 976 ms
Aug 14, 2017 5:40:21 PM org.apache.catalina.core.S
INFO: Starting service Catalina
Aug 14, 2017 5:40:21 PM org.apache.catalina.core.S
INFO: Starting Servlet Engine: Apache Tomcat/8.0.39
Aug 14, 2017 5:40:22 PM org.apache.jasper.servlet.
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14, 2017 5:40:28 PM org.apache.jasper.servlet.
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14, 2017 5:40:28 PM org.apache.catalina.core.A
INFO: No Spring WebApplicationInitializer types detected on classpath
Aug 14, 2017 5:40:29 PM org.springframework.contex
INFO: Refreshing Root WebApplicationContext: startup date [Mon Aug 14 17:40:29 EDT 2017]; root of context hierarchy
Aug 14, 2017 5:40:29 PM org.springframework.beans.
INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
Aug 14, 2017 5:40:29 PM org.springframework.beans.
INFO: Loading XML bean definitions from URL [file:/C:/Users/saiganesh/
Aug 14, 2017 5:40:29 PM org.springframework.beans.
INFO: Pre-instantiating singletons in org.springframework.beans.
Aug 14, 2017 5:40:30 PM org.apache.cxf.wsdl.servic
INFO: Creating Service {http://trainings.ws.bharath.com/}CustomerOrdersService from WSDL: WEB-INF/wsdl/CustomerOrder
Aug 14, 2017 5:40:31 PM org.apache.cxf.frontend.Ab
WARNING: Could not find endpoint/port for {http://impl.trainings.ws.bharath.com/}CustomersOrdersWSImplPor
Aug 14, 2017 5:40:31 PM org.apache.cxf.endpoint.Se
INFO: Setting the server's publish address to be /customerOrders
Aug 14, 2017 5:40:32 PM org.apache.coyote.Abstract
INFO: Starting ProtocolHandler ["http-nio-8924"]
Aug 14, 2017 5:40:32 PM org.apache.coyote.Abstract
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Aug 14, 2017 5:40:32 PM org.apache.catalina.startu
INFO: Server startup in 10408 ms
where i can se tomcat 8 server log which is embedded to eclipse mars?
please advise
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To be specific, I searched for variables that are begin with CATALINA. Its there in the logs you provided. It contains not only the path, but the information related to the environment too. Please study the logs.
Refer the attached image, i have highlighted few settings.
tomcat-log.png
Refer the attached image, i have highlighted few settings.
tomcat-log.png
ASKER
To be specific, I searched for variables that are begin with CATALINA. Its there in the logs you provided. It contains not only the path, but the information related to the environment too. Please study the logs.not sure what could be wrong tith tomcat and why it wont start in debug whereas it starts in regular mode.
rather than wasting valuable time checking tomcat environment is it better to uninstalll and reinstall tomcat?
ASKER
what did you search on to find above two directories of log folders?