All,

I've only just started running Tomcat under the Eclipse Debugger and it
seemed to take forever to launch -- due to web application deployment.
See below for the catalina.out log for a launch this morning.

Note the initial log timestamp (10:54:57) and the final one (11:00:59).
That's 4 minutes to launch and deploy docs, examples, host-manager,
manager, and ROOT. That seems like an awfully long time.

I'm running on Oracle Java 1.7.0-51 64-bit, Mac OS X 10.9, Eclipse
Kepler (why can't they use sane version numbers?). Max heap size looks
like 2GiB (JVM default, not specified in the command-line), though it's
not anywhere near that limit. Intel i7 single-chip, quad-core ht CPU, so
8 logical cores. 8 GiB of RAM.

Any ideas? Or is that just the cost of the debugger?

Thanks,
-chris


Mar 25, 2014 10:54:57 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/Users/chris/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
Mar 25, 2014 10:54:58 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Mar 25, 2014 10:54:58 AM org.apache.tomcat.util.net.NioSelectorPool
getSharedSelector
INFO: Using a shared selector for servlet write/read
Mar 25, 2014 10:54:58 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Mar 25, 2014 10:54:58 AM org.apache.tomcat.util.net.NioSelectorPool
getSharedSelector
INFO: Using a shared selector for servlet write/read
Mar 25, 2014 10:54:58 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 578 ms
Mar 25, 2014 10:54:58 AM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Mar 25, 2014 10:54:58 AM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/@VERSION@
Mar 25, 2014 10:54:58 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/Users/chris/Documents/Eclipse/tomcat-trunk/output/build/webapps/docs
Mar 25, 2014 10:56:52 AM 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.
Mar 25, 2014 10:56:53 AM org.apache.catalina.util.SessionIdGenerator
createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using
[SHA1PRNG] took [377] milliseconds.
Mar 25, 2014 10:56:53 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/Users/chris/Documents/Eclipse/tomcat-trunk/output/build/webapps/examples
Mar 25, 2014 10:59:01 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Mar 25, 2014 10:59:01 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Mar 25, 2014 10:59:01 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/Users/chris/Documents/Eclipse/tomcat-trunk/output/build/webapps/host-manager
Mar 25, 2014 10:59:04 AM 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.
Mar 25, 2014 10:59:04 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/Users/chris/Documents/Eclipse/tomcat-trunk/output/build/webapps/manager
Mar 25, 2014 10:59:06 AM 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.
Mar 25, 2014 10:59:06 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/Users/chris/Documents/Eclipse/tomcat-trunk/output/build/webapps/ROOT
Mar 25, 2014 11:00:58 AM 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.
Mar 25, 2014 11:00:59 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Mar 25, 2014 11:00:59 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Mar 25, 2014 11:00:59 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 361118 ms

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to