Skip to content

Instantly share code, notes, and snippets.

@SakaDream
Created March 24, 2017 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SakaDream/c9efb3a8057981297def88ea03ca7be6 to your computer and use it in GitHub Desktop.
Save SakaDream/c9efb3a8057981297def88ea03ca7be6 to your computer and use it in GitHub Desktop.
D:\Documents\Source\Repos\Java-In-Heroku>mvn package && java -jar .\target\dependency\webapp-runner.jar .\target\*.war
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Java-In-Heroku Maven Webapp 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ Java-In-Heroku ---
[WARNING] Using platform encoding (Cp1258 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ Java-In-Heroku ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ Java-In-Heroku ---
[WARNING] Using platform encoding (Cp1258 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\Documents\Source\Repos\Java-In-Heroku\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ Java-In-Heroku ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ Java-In-Heroku ---
[INFO]
[INFO] --- maven-war-plugin:2.2:war (default-war) @ Java-In-Heroku ---
[INFO] Packaging webapp
[INFO] Assembling webapp [Java-In-Heroku] in [D:\Documents\Source\Repos\Java-In-Heroku\target\Java-In-Heroku]
[INFO] Processing war project
[INFO] Copying webapp resources [D:\Documents\Source\Repos\Java-In-Heroku\src\main\webapp]
[INFO] Webapp assembled in [1419 msecs]
[INFO] Building war: D:\Documents\Source\Repos\Java-In-Heroku\target\Java-In-Heroku.war
[INFO] WEB-INF\web.xml already added, skipping
[INFO]
[INFO] --- maven-dependency-plugin:2.3:copy (default) @ Java-In-Heroku ---
[INFO] Configured Artifact: com.github.jsimone:webapp-runner:8.5.11.2:jar
[INFO] com.github.jsimone:webapp-runner:8.5.11.2:jar already exists in D:\Documents\Source\Repos\Java-In-Heroku\target\dependency
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.499 s
[INFO] Finished at: 2017-03-24T22:46:47+07:00
[INFO] Final Memory: 18M/222M
[INFO] ------------------------------------------------------------------------
Mar 24, 2017 10:46:49 PM org.apache.catalina.startup.ExpandWar expand
INFO: An expanded directory [D:\Documents\Source\Repos\Java-In-Heroku\target\tomcat.8080\webapps\expanded] was found with a last modified time that did no
t match the associated WAR. It will be deleted.
Expanding Java-In-Heroku.war into D:\Documents\Source\Repos\Java-In-Heroku\target\tomcat.8080\webapps\expanded
Adding Context for D:\Documents\Source\Repos\Java-In-Heroku\target\tomcat.8080\webapps\expanded
Mar 24, 2017 10:46:51 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Mar 24, 2017 10:46:51 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Mar 24, 2017 10:46:51 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 24, 2017 10:46:51 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.11
Mar 24, 2017 10:46:53 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
Mar 24, 2017 10:47:03 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.
Mar 24, 2017 10:47:03 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Mar 24, 2017 10:47:03 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Mar 24, 2017 10:47:03 PM org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
Mar 24, 2017 10:47:03 PM org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh
INFO: Refreshing Root WebApplicationContext: startup date [Fri Mar 24 22:47:03 ICT 2017]; root of context hierarchy
Mar 24, 2017 10:47:04 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/mvc-dispatcher-servlet.xml]
Mar 24, 2017 10:47:06 PM org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 3221 ms
Mar 24, 2017 10:47:06 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [321] milliseconds.
Mar 24, 2017 10:47:07 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'mvc-dispatcher'
Mar 24, 2017 10:47:07 PM org.springframework.web.servlet.DispatcherServlet initServletBean
INFO: FrameworkServlet 'mvc-dispatcher': initialization started
Mar 24, 2017 10:47:07 PM org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh
INFO: Refreshing WebApplicationContext for namespace 'mvc-dispatcher-servlet': startup date [Fri Mar 24 22:47:07 ICT 2017]; parent: Root WebApplicationCon
text
Mar 24, 2017 10:47:07 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/mvc-dispatcher-servlet.xml]
Mar 24, 2017 10:47:07 PM org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping registerHandler
INFO: Root mapping to handler 'homeController'
Mar 24, 2017 10:47:07 PM org.springframework.web.servlet.DispatcherServlet initServletBean
INFO: FrameworkServlet 'mvc-dispatcher': initialization completed in 936 ms
Mar 24, 2017 10:47:07 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [http-nio-8080]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment