Created
April 7, 2014 06:37
-
-
Save fcamblor/10015702 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-04-07 08:35:20,124 [main ] [ ] INFO restx.monitor.MetricsConfiguration - registering Metrics JVM metrics | |
2014-04-07 08:35:53,210 [qtp21621940-22 ] [ ] WARN o.e.jetty.servlet.ServletHandler - Error for /api/@/ui/ | |
java.lang.NoSuchMethodError: restx.factory.Factory.prepare()Lrestx/factory/Factory; | |
at restx.RestxMainRouterFactory$PerRequestFactoryLoader.route(RestxMainRouterFactory.java:208) ~[restx-core-0.32-SNAPSHOT.jar:na] | |
at restx.RestxMainRouterFactory$RecordingMainRouter.route(RestxMainRouterFactory.java:174) ~[restx-core-0.32-SNAPSHOT.jar:na] | |
at restx.RestxMainRouterFactory$CompilationManagerRouter.route(RestxMainRouterFactory.java:326) ~[restx-core-0.32-SNAPSHOT.jar:na] | |
at restx.servlet.AbstractRestxMainRouterServlet.service(AbstractRestxMainRouterServlet.java:48) ~[restx-servlet-0.32-SNAPSHOT.jar:na] | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) ~[javax.servlet-3.0.0.v201112011016.jar:na] | |
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) ~[jetty-servlet-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) [jetty-servlet-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:536) [jetty-security-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382) [jetty-servlet-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.Server.handle(Server.java:365) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635) [jetty-http-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) [jetty-io-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-8.1.8.v20121106.jar:8.1.8.v20121106] | |
at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
restx app new | |
=============================================================================== | |
== WELCOME TO RESTX SHELL - 0.31.1 - BATCH MODE | |
=============================================================================== | |
> app new | |
Welcome to RESTX APP bootstrap! | |
This command will ask you a few questions to generate your brand new RESTX app. | |
For any question you can get help by answering '??' (without the quotes). | |
App name? hello | |
target directory [hello]? | |
group id [hello]? | |
artifact id [hello]? | |
main package [hello]? | |
version [0.1-SNAPSHOT]? | |
generate module descriptor (ivy/pom/none/all) [all]? | |
restx version [0.32-SNAPSHOT]? | |
signature key (to sign cookies) [hello -603683461712844995 0b28f669-27b3-45b5-8d68-3ab702061e63 hello]? | |
admin password (to authenticate on restx console) [4234]? | |
default port [8080]? | |
base API path [/api]? | |
generate hello resource example [Y/n]? | |
do you want to use srv/ui layout [y/N]?y | |
How do you want to bootstrap your UI (yo/restx/none) [restx]? | |
Select the template you want to use: | |
[ 1] HTML5 Boilerplate | |
Use this if you want a very basic HTML5 bootstrap, with no additional tool required. | |
[ 2] Angular, Twitter Bootstrap | |
Use this if you want a more convenient bootstrap, with no additional tool required. | |
[ 3] Angular, Twitter Bootstrap. Use grunt for building and bower to manage dependencies. | |
Use this if you want a convenient bootstrap using the very popular frontend tools. | |
You will need: | |
- nodejs: http://nodejs.org/download/ | |
- grunt: http://gruntjs.com/getting-started | |
- bower: http://bower.io/ | |
Which template do you want [1]? 3 | |
scaffolding app to `/private/tmp/hello` ... | |
scaffolding ui with restx in `hello/ui` ... | |
scaffolding srv with restx in `hello/srv` ... | |
generating module.ivy ... | |
generating pom.xml ... | |
generating hello resource ... | |
Congratulations! - Your app is now ready in /private/tmp/hello | |
Your app has 2 modules: ui and srv | |
In srv, you can: | |
- open the module in your IDE by importing the Maven pom, and run the | |
`hello.AppServer` class to launch | |
- run it from restx shell, using: | |
deps install | |
to install its dependencies | |
app run | |
to run it | |
In ui you can: | |
- open and edit your front end source files with your favorite editor | |
- install local grunt with | |
npm install | |
- install app frontend dependencies listed in bower.json with | |
bower install | |
- run development server with: | |
grunt server | |
At root level you can: | |
- build a production ready war using Maven (Linux/MacOS only): | |
mvn package | |
Enjoy! | |
Do you want to install its deps and run it now? [y/N]y | |
restx> deps install | |
:: loading settings :: url = jar:file:/Users/fcamblor/.restx/lib/restx-shell-0.31.1.jar!/restx/shell/ivysettings.xml | |
resolving dependencies... | |
:: resolving dependencies :: hello#hello;0.1 | |
confs: [default, runtime, test] | |
found io.restx#restx-core;0.32-SNAPSHOT in sonatype-snapshots | |
[0.32-SNAPSHOT] io.restx#restx-core;latest.integration | |
found com.fasterxml.jackson.core#jackson-core;2.3.0 in public | |
found com.fasterxml.jackson.core#jackson-annotations;2.3.0 in public | |
found com.fasterxml.jackson.core#jackson-databind;2.3.0 in public | |
found com.fasterxml.jackson.datatype#jackson-datatype-joda;2.3.0 in public | |
found com.fasterxml.jackson.datatype#jackson-datatype-guava;2.3.0 in public | |
found io.restx#restx-factory;0.32-SNAPSHOT in sonatype-snapshots | |
found io.restx#restx-common;0.32-SNAPSHOT in sonatype-snapshots | |
found com.google.guava#guava;15.0 in public | |
found joda-time#joda-time;2.3 in public | |
found org.reflections#reflections;0.9.9-RC1 in public | |
found org.javassist#javassist;3.16.1-GA in public | |
found dom4j#dom4j;1.6.1 in public | |
found xml-apis#xml-apis;1.0.b2 in public | |
found com.samskivert#jmustache;1.8 in public | |
found javax.inject#javax.inject;1 in public | |
found org.slf4j#slf4j-api;1.7.5 in public | |
found com.codahale.metrics#metrics-core;3.0.1 in public | |
found io.restx#restx-classloader;0.32-SNAPSHOT in sonatype-snapshots | |
found com.codahale.metrics#metrics-healthchecks;3.0.1 in public | |
found org.hibernate#hibernate-validator;5.0.1.Final in public | |
found javax.validation#validation-api;1.1.0.Final in public | |
found org.jboss.logging#jboss-logging;3.1.1.GA in public | |
found com.fasterxml#classmate;0.8.0 in public | |
found org.yaml#snakeyaml;1.13 in public | |
found io.restx#restx-security-basic;0.32-SNAPSHOT in sonatype-snapshots | |
[0.32-SNAPSHOT] io.restx#restx-security-basic;latest.integration | |
found io.restx#restx-core-annotation-processor;0.32-SNAPSHOT in sonatype-snapshots | |
found org.mindrot#jbcrypt;0.3m in public | |
found io.restx#restx-core-annotation-processor;0.32-SNAPSHOT in sonatype-snapshots | |
[0.32-SNAPSHOT] io.restx#restx-core-annotation-processor;latest.integration | |
found io.restx#restx-factory;0.32-SNAPSHOT in sonatype-snapshots | |
[0.32-SNAPSHOT] io.restx#restx-factory;latest.integration | |
found io.restx#restx-factory-admin;0.32-SNAPSHOT in sonatype-snapshots | |
[0.32-SNAPSHOT] io.restx#restx-factory-admin;latest.integration | |
found io.restx#restx-admin;0.32-SNAPSHOT in sonatype-snapshots | |
found io.restx#restx-monitor-admin;0.32-SNAPSHOT in sonatype-snapshots | |
[0.32-SNAPSHOT] io.restx#restx-monitor-admin;latest.integration | |
found com.codahale.metrics#metrics-jvm;3.0.1 in public | |
found com.codahale.metrics#metrics-graphite;3.0.1 in public | |
found io.restx#restx-server-jetty;0.32-SNAPSHOT in sonatype-snapshots | |
[0.32-SNAPSHOT] io.restx#restx-server-jetty;latest.integration | |
found javax.servlet#javax.servlet-api;3.0.1 in public | |
found io.restx#restx-servlet;0.32-SNAPSHOT in sonatype-snapshots | |
found org.codehaus.janino#janino;2.6.1 in public | |
found org.codehaus.janino#commons-compiler;2.6.1 in public | |
found javax.servlet#servlet-api;2.5 in public | |
found org.eclipse.jetty#jetty-server;8.1.8.v20121106 in public | |
found org.eclipse.jetty.orbit#javax.servlet;3.0.0.v201112011016 in public | |
found org.eclipse.jetty#jetty-continuation;8.1.8.v20121106 in public | |
found org.eclipse.jetty#jetty-http;8.1.8.v20121106 in public | |
found org.eclipse.jetty#jetty-io;8.1.8.v20121106 in public | |
found org.eclipse.jetty#jetty-util;8.1.8.v20121106 in public | |
found org.eclipse.jetty#jetty-servlet;8.1.8.v20121106 in public | |
found org.eclipse.jetty#jetty-security;8.1.8.v20121106 in public | |
found org.eclipse.jetty#jetty-webapp;8.1.8.v20121106 in public | |
found org.eclipse.jetty#jetty-xml;8.1.8.v20121106 in public | |
found org.eclipse.jetty#jetty-servlets;8.1.8.v20121106 in public | |
found org.eclipse.jetty#jetty-client;8.1.8.v20121106 in public | |
found io.restx#restx-apidocs;0.32-SNAPSHOT in sonatype-snapshots | |
[0.32-SNAPSHOT] io.restx#restx-apidocs;latest.integration | |
found com.fasterxml.jackson.module#jackson-module-jsonSchema;2.3.0 in public | |
found io.restx#restx-specs-admin;0.32-SNAPSHOT in sonatype-snapshots | |
[0.32-SNAPSHOT] io.restx#restx-specs-admin;latest.integration | |
found io.restx#restx-specs-tests;0.32-SNAPSHOT in sonatype-snapshots | |
found junit#junit;4.11 in public | |
found org.hamcrest#hamcrest-core;1.3 in public | |
found org.assertj#assertj-core;1.5.0 in public | |
found com.github.kevinsawicki#http-request;5.5 in public | |
found com.googlecode.java-diff-utils#diffutils;1.3.0 in public | |
found io.restx#restx-admin;0.32-SNAPSHOT in sonatype-snapshots | |
[0.32-SNAPSHOT] io.restx#restx-admin;latest.integration | |
found ch.qos.logback#logback-classic;1.0.13 in public | |
found ch.qos.logback#logback-core;1.0.13 in public | |
found io.restx#restx-specs-tests;0.32-SNAPSHOT in sonatype-snapshots | |
[0.32-SNAPSHOT] io.restx#restx-specs-tests;latest.integration | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-core/0.32-SNAPSHOT/restx-core-0.32-20140406.192805-7.jar ... | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-core/0.32-SNAPSHOT/restx-core-0.32-20140406.192805-7.jar | |
[======================================================================] 100% | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-core/0.32-SNAPSHOT/restx-core-0.32-20140406.192805-7.jar.sha1 | |
[======================================================================] 100% | |
[SUCCESSFUL ] io.restx#restx-core;0.32-SNAPSHOT!restx-core.jar (3027ms) | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-security-basic/0.32-SNAPSHOT/restx-security-basic-0.32-20140406.192851-7.jar ... | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-security-basic/0.32-SNAPSHOT/restx-security-basic-0.32-20140406.192851-7.jar | |
[======================================================================] 100% | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-security-basic/0.32-SNAPSHOT/restx-security-basic-0.32-20140406.192851-7.jar.sha1 | |
[======================================================================] 100% | |
[SUCCESSFUL ] io.restx#restx-security-basic;0.32-SNAPSHOT!restx-security-basic.jar (1016ms) | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-factory-admin/0.32-SNAPSHOT/restx-factory-admin-0.32-20140406.193755-6.jar ... | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-factory-admin/0.32-SNAPSHOT/restx-factory-admin-0.32-20140406.193755-6.jar | |
[======================================================================] 100% | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-factory-admin/0.32-SNAPSHOT/restx-factory-admin-0.32-20140406.193755-6.jar.sha1 | |
[======================================================================] 100% | |
[SUCCESSFUL ] io.restx#restx-factory-admin;0.32-SNAPSHOT!restx-factory-admin.jar (1251ms) | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-monitor-admin/0.32-SNAPSHOT/restx-monitor-admin-0.32-20140406.193746-6.jar ... | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-monitor-admin/0.32-SNAPSHOT/restx-monitor-admin-0.32-20140406.193746-6.jar | |
[======================================================================] 100% | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-monitor-admin/0.32-SNAPSHOT/restx-monitor-admin-0.32-20140406.193746-6.jar.sha1 | |
[======================================================================] 100% | |
[SUCCESSFUL ] io.restx#restx-monitor-admin;0.32-SNAPSHOT!restx-monitor-admin.jar (1197ms) | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-server-jetty/0.32-SNAPSHOT/restx-server-jetty-0.32-20140406.193643-7.jar ... | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-server-jetty/0.32-SNAPSHOT/restx-server-jetty-0.32-20140406.193643-7.jar | |
[======================================================================] 100% | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-server-jetty/0.32-SNAPSHOT/restx-server-jetty-0.32-20140406.193643-7.jar.sha1 | |
[======================================================================] 100% | |
[SUCCESSFUL ] io.restx#restx-server-jetty;0.32-SNAPSHOT!restx-server-jetty.jar (1005ms) | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-apidocs/0.32-SNAPSHOT/restx-apidocs-0.32-20140406.193736-7.jar ... | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-apidocs/0.32-SNAPSHOT/restx-apidocs-0.32-20140406.193736-7.jar | |
[======================================================================] 100% | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-apidocs/0.32-SNAPSHOT/restx-apidocs-0.32-20140406.193736-7.jar.sha1 | |
[======================================================================] 100% | |
[SUCCESSFUL ] io.restx#restx-apidocs;0.32-SNAPSHOT!restx-apidocs.jar (1193ms) | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-specs-admin/0.32-SNAPSHOT/restx-specs-admin-0.32-20140406.193812-6.jar ... | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-specs-admin/0.32-SNAPSHOT/restx-specs-admin-0.32-20140406.193812-6.jar | |
[======================================================================] 100% | |
downloading https://oss.sonatype.org/content/repositories/snapshots/io/restx/restx-specs-admin/0.32-SNAPSHOT/restx-specs-admin-0.32-20140406.193812-6.jar.sha1 | |
[======================================================================] 100% | |
[SUCCESSFUL ] io.restx#restx-specs-admin;0.32-SNAPSHOT!restx-specs-admin.jar (1025ms) | |
:: resolution report :: resolve 46075ms :: artifacts dl 9776ms | |
:: evicted modules: | |
joda-time#joda-time;2.1 by [joda-time#joda-time;2.3] in [default, test] | |
com.google.guava#guava;14.0.1 by [com.google.guava#guava;15.0] in [default, test] | |
com.google.guava#guava;11.0.2 by [com.google.guava#guava;15.0] in [default, test] | |
--------------------------------------------------------------------- | |
| | modules || artifacts | | |
| conf | number| search|dwnlded|evicted|| number|dwnlded| | |
--------------------------------------------------------------------- | |
| default | 65 | 11 | 7 | 3 || 62 | 7 | | |
| runtime | 0 | 0 | 0 | 0 || 0 | 0 | | |
| test | 35 | 4 | 1 | 3 || 32 | 1 | | |
--------------------------------------------------------------------- | |
synchronizing dependencies in hello/srv/target/dependency ... | |
:: retrieving :: hello#hello [sync] | |
confs: [default, runtime, test] | |
62 artifacts copied, 0 already retrieved (11294kB/229ms) | |
DONE | |
restx> app run | |
compiling App... [DONE] | |
copying resources... [DONE] | |
starting hello.AppServer... - type `stop` to stop it and go back to restx shell | |
2014-04-07 08:35:17,802 [main ] [ ] INFO org.eclipse.jetty.server.Server - jetty-8.1.8.v20121106 | |
LoginService=HashLoginService[null] identityService=org.eclipse.jetty.security.DefaultIdentityService@24178bc3 | |
2014-04-07 08:35:18,438 [main ] [ ] INFO restx.RestxMainRouterFactory - LOADING MAIN ROUTER | |
2014-04-07 08:35:18,441 [main ] [ ] INFO restx.RestxMainRouterFactory - | |
-------------------------------------- | |
-- RESTX >> LOAD ON REQUEST << >> DEV MODE << >> AUTO COMPILE << | |
-- for admin console, | |
-- VISIT http://127.0.0.1:8080/api/@/ui/ | |
-- | |
2014-04-07 08:35:19,875 [pool-1-thread-1 ] [ ] INFO restx.classloader.CompilationManager - compilation finished: 5 sources compiled in 1.244 s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment