Fetching latest changes from git... Created new instance in /opt/apprunner/data/temp/home/instances/1514356109442 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building home 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ home --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ home --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 13 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ home --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /opt/apprunner/data/temp/home/instances/1514356109442/target/classes [INFO] /opt/apprunner/data/temp/home/instances/1514356109442/src/main/java/com/danielflower/apprunner/HomeController.java: /opt/apprunner/data/temp/home/instances/1514356109442/src/main/java/com/danielflower/apprunner/HomeController.java uses unchecked or unsafe operations. [INFO] /opt/apprunner/data/temp/home/instances/1514356109442/src/main/java/com/danielflower/apprunner/HomeController.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ home --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /opt/apprunner/data/temp/home/instances/1514356109442/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ home --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ home --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ home --- [INFO] Building jar: /opt/apprunner/data/temp/home/instances/1514356109442/target/home-1.0-SNAPSHOT.jar [INFO] [INFO] --- maven-shade-plugin:2.4.3:shade (default) @ home --- [INFO] Including org.slf4j:slf4j-api:jar:1.7.21 in the shaded jar. [INFO] Including ch.qos.logback:logback-classic:jar:1.1.7 in the shaded jar. [INFO] Including ch.qos.logback:logback-core:jar:1.1.7 in the shaded jar. [INFO] Including org.apache.commons:commons-lang3:jar:3.5 in the shaded jar. [INFO] Including commons-io:commons-io:jar:2.5 in the shaded jar. [INFO] Including org.apache.commons:commons-exec:jar:1.3 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-server:jar:9.3.14.v20161028 in the shaded jar. [INFO] Including javax.servlet:javax.servlet-api:jar:3.1.0 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-http:jar:9.3.14.v20161028 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-io:jar:9.3.14.v20161028 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-util:jar:9.3.14.v20161028 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-servlet:jar:9.3.14.v20161028 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-security:jar:9.3.14.v20161028 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-proxy:jar:9.3.14.v20161028 in the shaded jar. [INFO] Including com.google.code.gson:gson:jar:2.8.0 in the shaded jar. [INFO] Including org.thymeleaf:thymeleaf:jar:3.0.2.RELEASE in the shaded jar. [INFO] Including ognl:ognl:jar:3.1.10 in the shaded jar. [INFO] Including org.javassist:javassist:jar:3.20.0-GA in the shaded jar. [INFO] Including org.attoparser:attoparser:jar:2.0.1.RELEASE in the shaded jar. [INFO] Including org.unbescape:unbescape:jar:1.1.4.RELEASE in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-client:jar:9.3.14.v20161028 in the shaded jar. [INFO] Including org.webjars:swagger-ui:jar:2.2.6 in the shaded jar. [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /opt/apprunner/data/temp/home/instances/1514356109442/target/home-1.0-SNAPSHOT.jar with /opt/apprunner/data/temp/home/instances/1514356109442/target/home-1.0-SNAPSHOT-shaded.jar [INFO] Dependency-reduced POM written at: /opt/apprunner/data/temp/home/instances/1514356109442/dependency-reduced-pom.xml [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.534 s [INFO] Finished at: 2017-12-27T19:28:54+13:00 [INFO] Final Memory: 18M/43M [INFO] ------------------------------------------------------------------------ /opt/apprunner/data/temp/home/instances/1514356109442> /usr/lib/jvm/java-8-oracle/jre/bin/java -Djava.io.tmpdir=/opt/apprunner/data/temp/home -jar target/home-1.0-SNAPSHOT.jar 19:28:55.752 [main] INFO org.eclipse.jetty.util.log - Logging initialized @1043ms 19:28:57.567 [main] INFO com.danielflower.apprunner.App - Will use /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs to create screenshots in /opt/apprunner/data/apps/home/data/screenshots 19:28:57.696 [main] INFO org.eclipse.jetty.server.Server - jetty-9.3.z-SNAPSHOT 19:28:57.822 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@6950e31{/home,null,AVAILABLE} 19:28:57.827 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@b7dd107{/home,null,AVAILABLE} 19:28:57.827 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@42eca56e{/home,null,AVAILABLE} 19:28:57.827 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@52f759d7{/home,null,AVAILABLE} 19:28:57.827 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@7cbd213e{/home/docs,null,AVAILABLE} 19:28:57.844 [main] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@5e9632bc{HTTP/1.1,[http/1.1]}{0.0.0.0:34391} 19:28:57.844 [main] INFO org.eclipse.jetty.server.Server - Started @3157ms 19:28:57.844 [main] INFO com.danielflower.apprunner.App - Started home at http://localhost:34391/home 19:28:58.489 [qtp1211888640-19] INFO c.d.apprunner.HomeController - GET http://localhost:34391/api/v1/apps 19:28:58.681 [qtp1211888640-19] ERROR c.d.apprunner.HomeController - Error while processing /home/ java.lang.RuntimeException: 404 while loading http://localhost:34391/api/v1/apps. Content was: Error 404

HTTP ERROR: 404

Problem accessing /api/v1/apps. Reason:

    Not Found


Powered by Jetty:// 9.3.z-SNAPSHOT
at com.danielflower.apprunner.HomeController.httpGet(HomeController.java:130) at com.danielflower.apprunner.HomeController.list(HomeController.java:81) at com.danielflower.apprunner.HomeController.handle(HomeController.java:51) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1182) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1116) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.j etty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:534) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Queu edThreadPool.java:671) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) at java.lang.Thread.run(Thread.java:748)