Skip to content

Instantly share code, notes, and snippets.

@tfukushima
Created June 20, 2014 03:33
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 tfukushima/c6b6d165672098b315aa to your computer and use it in GitHub Desktop.
Save tfukushima/c6b6d165672098b315aa to your computer and use it in GitHub Desktop.
mvn test
/Users/tfukushima/java/atmosphere-extensions% mvn test
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] atmosphere-extensions-project
[INFO] atmosphere-rabbitmq
[INFO] atmosphere-cdi
[INFO] atmosphere-guice
[INFO] atmosphere-spring
[INFO] atmosphere-jgroups
[INFO] atmosphere-jms
[INFO] atmosphere-redis
[INFO] atmosphere-xmpp
[INFO] atmosphere-hazelcast
[INFO] atmosphere-weblogic
[INFO] atmosphere-socketio
[INFO] atmosphere-cometd
[INFO] atmosphere-gwt20-project
[INFO] atmosphere-gwt20
[INFO] atmosphere-gwt20-common
[INFO] atmosphere-gwt20-client
[INFO] atmosphere-gwt20-jersey
[INFO] atmosphere-gwt20-server
[INFO] atmosphere-gwt20-jackson
[INFO] atmosphere-gwt20-managed
[INFO] atmosphere-rmi
[INFO] atmosphere-sockjs
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building atmosphere-extensions-project 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven) @ atmosphere-extensions-project ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building atmosphere-rabbitmq 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven) @ atmosphere-rabbitmq ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ atmosphere-rabbitmq ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/tfukushima/Documents/workspace/Java/atmosphere-extensions/rabbitmq/modules/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ atmosphere-rabbitmq ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ atmosphere-rabbitmq ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/tfukushima/Documents/workspace/Java/atmosphere-extensions/rabbitmq/modules/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ atmosphere-rabbitmq ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ atmosphere-rabbitmq ---
[INFO] No tests to run.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building atmosphere-cdi 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven) @ atmosphere-cdi ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ atmosphere-cdi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/tfukushima/Documents/workspace/Java/atmosphere-extensions/cdi/modules/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ atmosphere-cdi ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ atmosphere-cdi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/tfukushima/Documents/workspace/Java/atmosphere-extensions/cdi/modules/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ atmosphere-cdi ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ atmosphere-cdi ---
[INFO] No tests to run.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building atmosphere-guice 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven) @ atmosphere-guice ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ atmosphere-guice ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ atmosphere-guice ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ atmosphere-guice ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ atmosphere-guice ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ atmosphere-guice ---
[INFO] Surefire report directory: /Users/tfukushima/Documents/workspace/Java/atmosphere-extensions/guice/modules/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNGMapConfigurator@1691a0c3
12:26:08,728 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
12:26:08,735 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
12:26:08,761 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:26:08,845 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org] to DEBUG
12:26:08,845 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com] to DEBUG
12:26:08,845 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to DEBUG
12:26:08,845 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
12:26:08,847 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [FILE]. Did you define it below in the config file?
12:26:08,847 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details.
12:26:08,847 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
12:26:08,348 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
12:26:08,348 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/Users/tfukushima/Documents/workspace/Java/atmosphere-extensions/guice/modules/target/test-classes/logback-test.xml]
12:26:08,728 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
12:26:08,735 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
12:26:08,761 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:26:08,845 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org] to DEBUG
12:26:08,845 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com] to DEBUG
12:26:08,845 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to DEBUG
12:26:08,845 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
12:26:08,847 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [FILE]. Did you define it below in the config file?
12:26:08,847 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details.
12:26:08,847 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
12:26:08,852 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@1f56ddc0 - Registering current configuration as safe fallback point
12:26:09.015 DEBUG [main] o.e.j.u.log [Log.java:157] Logging to Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog
12:26:09.034 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.server.Server@ac4b67b + SelectChannelConnector@0.0.0.0:59097 as connector
12:26:09.071 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.server.Server@ac4b67b + o.e.j.s.ServletContextHandler{/,null} as handler
12:26:09.089 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1210] filterNameMap={com.google.inject.servlet.GuiceFilter-1738765662=com.google.inject.servlet.GuiceFilter-1738765662}
12:26:09.092 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1211] pathFilters=[[/*]/[]==0=>com.google.inject.servlet.GuiceFilter-1738765662]
12:26:09.092 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1212] servletFilterMap={}
12:26:09.093 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1213] servletPathMap=null
12:26:09.093 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1214] servletNameMap={}
12:26:09.102 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1210] filterNameMap={com.google.inject.servlet.GuiceFilter-1738765662=com.google.inject.servlet.GuiceFilter-1738765662}
12:26:09.103 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1211] pathFilters=[[/*]/[]==0=>com.google.inject.servlet.GuiceFilter-1738765662]
12:26:09.103 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1212] servletFilterMap={}
12:26:09.103 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1213] servletPathMap={/=org.mortbay.jetty.servlet.DefaultServlet-1}
12:26:09.103 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1214] servletNameMap={org.mortbay.jetty.servlet.DefaultServlet-1=org.mortbay.jetty.servlet.DefaultServlet-1}
12:26:09.104 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting org.eclipse.jetty.server.Server@ac4b67b
12:26:09.104 INFO [main] o.e.j.s.Server [Server.java:252] jetty-7.6.0.v20120127
12:26:09.125 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.server.Server@ac4b67b + qtp64357340{8<=0<=0/254,-1} as threadpool
12:26:09.125 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting o.e.j.s.ServletContextHandler{/,null}
12:26:09.145 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.servlet.ServletHandler@1471c3b3 + com.google.inject.servlet.GuiceFilter-1738765662 as filter
12:26:09.145 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.servlet.ServletHandler@1471c3b3 + [/*]/[]==0=>com.google.inject.servlet.GuiceFilter-1738765662 as filterMapping
12:26:09.146 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.servlet.ServletHandler@1471c3b3 + org.mortbay.jetty.servlet.DefaultServlet-1 as servlet
12:26:09.146 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.servlet.ServletHandler@1471c3b3 + [/]=>org.mortbay.jetty.servlet.DefaultServlet-1 as servletMapping
12:26:09.146 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container o.e.j.s.ServletContextHandler{/,null} + org.eclipse.jetty.servlet.ServletHandler@1471c3b3 as handler
12:26:09.147 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting org.eclipse.jetty.servlet.ServletHandler@1471c3b3
12:26:09.148 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1210] filterNameMap={com.google.inject.servlet.GuiceFilter-1738765662=com.google.inject.servlet.GuiceFilter-1738765662}
12:26:09.148 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1211] pathFilters=[[/*]/[]==0=>com.google.inject.servlet.GuiceFilter-1738765662]
12:26:09.148 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1212] servletFilterMap={}
12:26:09.149 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1213] servletPathMap={/=org.mortbay.jetty.servlet.DefaultServlet-1}
12:26:09.149 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1214] servletNameMap={org.mortbay.jetty.servlet.DefaultServlet-1=org.mortbay.jetty.servlet.DefaultServlet-1}
12:26:09.150 DEBUG [main] o.e.j.s.h.AbstractHandler [AbstractHandler.java:52] starting org.eclipse.jetty.servlet.ServletHandler@1471c3b3
12:26:09.150 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:167] STARTED org.eclipse.jetty.servlet.ServletHandler@1471c3b3
12:26:09.150 DEBUG [main] o.e.j.s.h.AbstractHandler [AbstractHandler.java:52] starting o.e.j.s.ServletContextHandler{/,null}
12:26:09.477 INFO [main] o.e.j.s.h.ContextHandler [ContextHandler.java:737] started o.e.j.s.ServletContextHandler{/,null}
12:26:09.477 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting com.google.inject.servlet.GuiceFilter-1738765662
12:26:09.511 WARN [main] o.a.u.IOUtils [IOUtils.java:326] META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader
12:26:09.528 DEBUG [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:2794] Found ObjectFactory org.atmosphere.guice.GuiceObjectFactory
12:26:09.570 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:2532] Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
12:26:09.575 INFO [main] o.a.c.DefaultAnnotationProcessor [DefaultAnnotationProcessor.java:136] AnnotationProcessor class org.atmosphere.cpr.DefaultAnnotationProcessor$BytecodeBasedAnnotationProcessor being used
12:26:09.648 INFO [main] o.a.c.AnnotationHandler [AnnotationHandler.java:63] Found Annotation in class org.atmosphere.tests.guice.GuiceConfig$Resource being scanned: interface org.atmosphere.config.service.AtmosphereHandlerService
12:26:09.681 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:624] Installed AtmosphereHandler org.atmosphere.tests.guice.GuiceConfig$Resource mapped to context-path / and Broadcaster Class org.atmosphere.cpr.DefaultBroadcaster
12:26:09.696 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1885] Auto detecting WebSocketHandler in /WEB-INF/classes/
12:26:09.702 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1542] Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol
12:26:09.703 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1050] Installing Default AtmosphereInterceptor
12:26:09.707 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1090] org.atmosphere.interceptor.CorsInterceptor : CORS Interceptor Support
12:26:09.711 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1090] org.atmosphere.interceptor.CacheHeadersInterceptor : Default Response's Headers Interceptor
12:26:09.719 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1090] org.atmosphere.interceptor.PaddingAtmosphereInterceptor : Browser Padding Interceptor Support
12:26:09.727 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1090] org.atmosphere.interceptor.AndroidAtmosphereInterceptor : Android Interceptor Support
12:26:09.737 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1090] org.atmosphere.interceptor.HeartbeatInterceptor : Heartbeat Interceptor Support
12:26:09.743 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1090] org.atmosphere.interceptor.SSEAtmosphereInterceptor : SSE Interceptor Support
12:26:09.754 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1090] org.atmosphere.interceptor.JSONPAtmosphereInterceptor : JSONP Interceptor Support
12:26:09.763 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1090] org.atmosphere.interceptor.JavaScriptProtocol : Atmosphere JavaScript Protocol
12:26:09.794 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1090] org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor : org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor
12:26:09.799 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1090] org.atmosphere.interceptor.OnDisconnectInterceptor : Browser disconnection detection
12:26:09.806 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1090] org.atmosphere.interceptor.IdleResourceInterceptor : org.atmosphere.interceptor.IdleResourceInterceptor
12:26:09.806 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1080] Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults to disable them.
12:26:09.809 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:914] Using EndpointMapper class org.atmosphere.util.DefaultEndpointMapper
12:26:09.809 WARN [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:920] No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the org.atmosphere.cache.UUIDBroadcasterCache
12:26:09.809 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:928] Default Broadcaster Class: org.atmosphere.cpr.DefaultBroadcaster
12:26:09.810 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:929] Broadcaster Polling Wait Time 100
12:26:09.810 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:930] Shared ExecutorService supported: true
12:26:09.811 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:935] Messaging Thread Pool Size: Unlimited
12:26:09.811 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:937] Async I/O Thread Pool Size: 200
12:26:09.811 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:940] Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
12:26:09.811 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:941] Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
12:26:09.817 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:948] Invoke AtmosphereInterceptor on WebSocket message true
12:26:09.818 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:949] HttpSession supported: false
12:26:09.818 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:951] Atmosphere is using Guice ObjectFactory for dependency injection and object creation
12:26:09.818 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:952] Atmosphere is using async support: org.atmosphere.container.Jetty7CometSupport running under container: jetty/7.6.0.v20120127
12:26:09.820 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:954] Atmosphere Framework 2.2.0-SNAPSHOT started.
12:26:09.820 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:956]
For Atmosphere Framework Commercial Support, visit
http://www.async-io.org/ or send an email to support@async-io.org
12:26:09.820 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:167] STARTED com.google.inject.servlet.GuiceFilter-1738765662
12:26:09.821 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting org.mortbay.jetty.servlet.DefaultServlet-1
12:26:09.821 DEBUG [main] o.e.j.s.Holder [Holder.java:86] Holding class org.mortbay.jetty.servlet.DefaultServlet
12:26:09.822 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:167] STARTED org.mortbay.jetty.servlet.DefaultServlet-1
12:26:09.823 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:167] STARTED o.e.j.s.ServletContextHandler{/,null}
12:26:09.823 DEBUG [main] o.e.j.s.h.AbstractHandler [AbstractHandler.java:52] starting org.eclipse.jetty.server.Server@ac4b67b
12:26:09.823 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting qtp64357340{8<=0<=0/254,-1}
12:26:09.827 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:167] STARTED qtp64357340{8<=7<=8/254,0}
12:26:09.827 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting SelectChannelConnector@0.0.0.0:59097
12:26:09.837 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting null/null
12:26:09.841 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:167] STARTED PooledBuffers [0/1024@6144,0/1024@16384,0/1024@-]/PooledBuffers [0/1024@6144,0/1024@32768,0/1024@-]
12:26:09.841 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@24f3c89
12:26:09.849 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:167] STARTED org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@24f3c89
12:26:09.850 DEBUG [qtp64357340-10 Selector0] o.e.j.i.nio [SelectorManager.java:280] Starting Thread[qtp64357340-10 Selector0,5,main] on org.eclipse.jetty.io.nio.SelectorManager$1@f147c4c
12:26:09.851 INFO [main] o.e.j.s.AbstractConnector [AbstractConnector.java:333] Started SelectChannelConnector@0.0.0.0:59097
12:26:09.852 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:167] STARTED SelectChannelConnector@0.0.0.0:59097
12:26:09.852 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:167] STARTED org.eclipse.jetty.server.Server@ac4b67b
12:26:09.857 INFO [TestNGInvoker-testSuspendTimeout()] o.a.t.g.GuiceTest [GuiceTest.java:114] running test: testSuspendTimeout
12:26:10.086 DEBUG [TestNGInvoker-testSuspendTimeout()] c.n.h.c.p.n.NettyAsyncHttpProvider [NettyAsyncHttpProvider.java:1127]
Non cached request
DefaultHttpRequest(chunked: false)
GET /invoke HTTP/1.1
Host: 127.0.0.1:59097
Connection: keep-alive
Accept: */*
User-Agent: NING/1.0
using Channel
[id: 0xfd74df56, /127.0.0.1:59100 => /127.0.0.1:59097]
12:26:10.121 DEBUG [qtp64357340-10 Selector0] o.e.j.i.nio [SelectorManager.java:837] created SCEP@581bce9a{l(/127.0.0.1:59100)<->r(/127.0.0.1:59097),d=false,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=0}-{AsyncHttpConnection@9990da7,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
12:26:10.124 DEBUG [qtp64357340-12] o.e.j.h.HttpParser [HttpParser.java:277] filled 106/106
12:26:10.135 DEBUG [qtp64357340-12 - /invoke] o.e.j.s.Server [Server.java:344] REQUEST /invoke on AsyncHttpConnection@9990da7,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-5,l=8,c=0},r=1
12:26:10.136 DEBUG [qtp64357340-12 - /invoke] o.e.j.s.h.ContextHandler [ContextHandler.java:887] scope null||/invoke @ o.e.j.s.ServletContextHandler{/,null}
12:26:10.136 DEBUG [qtp64357340-12 - /invoke] o.e.j.s.h.ContextHandler [ContextHandler.java:959] context=||/invoke @ o.e.j.s.ServletContextHandler{/,null}
12:26:10.136 DEBUG [qtp64357340-12 - /invoke] o.e.j.s.ServletHandler [ServletHandler.java:392] servlet |/invoke|null -> org.mortbay.jetty.servlet.DefaultServlet-1
12:26:10.138 DEBUG [qtp64357340-12 - /invoke] o.e.j.s.ServletHandler [ServletHandler.java:454] chain=com.google.inject.servlet.GuiceFilter-1738765662->org.mortbay.jetty.servlet.DefaultServlet-1
12:26:10.139 DEBUG [qtp64357340-12 - /invoke] o.e.j.s.ServletHandler [ServletHandler.java:1328] call filter com.google.inject.servlet.GuiceFilter-1738765662
12:26:10.217 DEBUG [qtp64357340-12 - /invoke] o.e.j.s.Server [Server.java:346] RESPONSE /invoke 200
12:26:10.223 DEBUG [qtp64357340-12] o.e.j.h.HttpParser [HttpParser.java:277] filled 0/0
12:26:10.224 DEBUG [New I/O worker #1] c.n.h.c.p.n.NettyAsyncHttpProvider [NettyAsyncHttpProvider.java:2024]
Request DefaultHttpRequest(chunked: false)
GET /invoke HTTP/1.1
Host: 127.0.0.1:59097
Connection: keep-alive
Accept: */*
User-Agent: NING/1.0
Response DefaultHttpResponse(chunked: false)
HTTP/1.1 200 OK
X-Atmosphere-first-request: true
X-Atmosphere-tracking-id: 0ec5c28a-30b5-4cc4-b9b4-47483f972514
Expires: -1
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-Length: 6
Server: Jetty(7.6.0.v20120127)
12:26:10.226 DEBUG [New I/O worker #1] c.n.h.c.p.n.NettyConnectionsPool [NettyConnectionsPool.java:190] Adding uri: http://127.0.0.1:59097 for channel [id: 0xfd74df56, /127.0.0.1:59100 => /127.0.0.1:59097]
12:26:10.230 DEBUG [qtp64357340-13] o.e.j.i.n.ChannelEndPoint [ChannelEndPoint.java:113] ishut SCEP@581bce9a{l(/127.0.0.1:59100)<->r(/127.0.0.1:59097),d=true,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@9990da7,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=-3},r=1}
12:26:10.231 DEBUG [qtp64357340-13] o.e.j.h.HttpParser [HttpParser.java:277] filled -1/0
12:26:10.232 DEBUG [qtp64357340-13] o.e.j.i.n.ChannelEndPoint [ChannelEndPoint.java:204] close SCEP@581bce9a{l(/127.0.0.1:59100)<->r(/127.0.0.1:59097),d=true,open=true,ishut=true,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@9990da7,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=1}
12:26:10.234 DEBUG [qtp64357340-10 Selector0] o.e.j.i.nio [SelectorManager.java:846] destroyEndPoint SCEP@581bce9a{l(null)<->r(0.0.0.0/0.0.0.0:59097),d=false,open=false,ishut=true,oshut=true,rb=false,wb=false,w=true,i=1!}-{AsyncHttpConnection@9990da7,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=1}
12:26:10.235 DEBUG [qtp64357340-10 Selector0] o.e.j.s.AbstractHttpConnection [AbstractHttpConnection.java:669] closed AsyncHttpConnection@9990da7,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=1
12:26:10.242 DEBUG [main] o.a.c.DefaultBroadcasterFactory [DefaultBroadcasterFactory.java:160] Removing Broadcaster / factory size now 1
12:26:10.242 DEBUG [main] o.a.c.DefaultBroadcasterFactory [DefaultBroadcasterFactory.java:160] Removing Broadcaster /* factory size now 0
12:26:10.243 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping org.eclipse.jetty.server.Server@ac4b67b
12:26:10.244 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping SelectChannelConnector@0.0.0.0:59097
12:26:10.244 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@24f3c89
12:26:10.245 DEBUG [qtp64357340-10 Selector0] o.e.j.i.nio [SelectorManager.java:299] Stopped Thread[qtp64357340-10 Selector0,5,main] on org.eclipse.jetty.io.nio.SelectorManager$1@f147c4c
12:26:10.255 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@24f3c89
12:26:10.256 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping PooledBuffers [1/1024@6144,0/1024@16384,0/1024@-]/PooledBuffers [1/1024@6144,1/1024@32768,0/1024@-]
12:26:10.257 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED null/null
12:26:10.257 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED SelectChannelConnector@0.0.0.0:59097
12:26:10.258 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping o.e.j.s.ServletContextHandler{/,null}
12:26:10.258 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping org.eclipse.jetty.servlet.ServletHandler@1471c3b3
12:26:10.258 DEBUG [main] o.e.j.s.h.AbstractHandler [AbstractHandler.java:63] stopping org.eclipse.jetty.servlet.ServletHandler@1471c3b3
12:26:10.258 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping com.google.inject.servlet.GuiceFilter-1738765662
12:26:10.259 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED com.google.inject.servlet.GuiceFilter-1738765662
12:26:10.259 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping org.mortbay.jetty.servlet.DefaultServlet-1
12:26:10.259 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED org.mortbay.jetty.servlet.DefaultServlet-1
12:26:10.260 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED org.eclipse.jetty.servlet.ServletHandler@1471c3b3
12:26:10.260 DEBUG [main] o.e.j.s.h.AbstractHandler [AbstractHandler.java:63] stopping o.e.j.s.ServletContextHandler{/,null}
12:26:10.260 INFO [main] o.e.j.s.h.ContextHandler [ContextHandler.java:788] stopped o.e.j.s.ServletContextHandler{/,null}
12:26:10.261 DEBUG [main] o.e.j.u.c.Container [Container.java:219] Container o.e.j.s.ServletContextHandler{/,null} - org.eclipse.jetty.servlet.ServletHandler@1471c3b3 as handler
12:26:10.261 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED o.e.j.s.ServletContextHandler{/,null}
12:26:10.261 DEBUG [main] o.e.j.s.h.AbstractHandler [AbstractHandler.java:63] stopping org.eclipse.jetty.server.Server@ac4b67b
12:26:10.262 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping qtp64357340{8<=8<=8/254,0}
12:26:10.315 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED qtp64357340{8<=0<=0/254,5}
12:26:10.315 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED org.eclipse.jetty.server.Server@ac4b67b
12:26:10.317 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.server.Server@4b49ee25 + SelectChannelConnector@0.0.0.0:59101 as connector
12:26:10.317 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.server.Server@4b49ee25 + o.e.j.s.ServletContextHandler{/,null} as handler
12:26:10.318 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1210] filterNameMap={com.google.inject.servlet.GuiceFilter-637068939=com.google.inject.servlet.GuiceFilter-637068939}
12:26:10.319 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1211] pathFilters=[[/*]/[]==0=>com.google.inject.servlet.GuiceFilter-637068939]
12:26:10.319 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1212] servletFilterMap={}
12:26:10.319 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1213] servletPathMap=null
12:26:10.319 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1214] servletNameMap={}
12:26:10.320 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1210] filterNameMap={com.google.inject.servlet.GuiceFilter-637068939=com.google.inject.servlet.GuiceFilter-637068939}
12:26:10.320 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1211] pathFilters=[[/*]/[]==0=>com.google.inject.servlet.GuiceFilter-637068939]
12:26:10.320 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1212] servletFilterMap={}
12:26:10.321 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1213] servletPathMap={/=org.mortbay.jetty.servlet.DefaultServlet-1}
12:26:10.321 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1214] servletNameMap={org.mortbay.jetty.servlet.DefaultServlet-1=org.mortbay.jetty.servlet.DefaultServlet-1}
12:26:10.321 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting org.eclipse.jetty.server.Server@4b49ee25
12:26:10.322 INFO [main] o.e.j.s.Server [Server.java:252] jetty-7.6.0.v20120127
12:26:10.322 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.server.Server@4b49ee25 + qtp2011677478{8<=0<=0/254,-1} as threadpool
12:26:10.322 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting o.e.j.s.ServletContextHandler{/,null}
12:26:10.323 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.servlet.ServletHandler@10bd314a + com.google.inject.servlet.GuiceFilter-637068939 as filter
12:26:10.323 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.servlet.ServletHandler@10bd314a + [/*]/[]==0=>com.google.inject.servlet.GuiceFilter-637068939 as filterMapping
12:26:10.323 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.servlet.ServletHandler@10bd314a + org.mortbay.jetty.servlet.DefaultServlet-1 as servlet
12:26:10.323 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container org.eclipse.jetty.servlet.ServletHandler@10bd314a + [/]=>org.mortbay.jetty.servlet.DefaultServlet-1 as servletMapping
12:26:10.324 DEBUG [main] o.e.j.u.c.Container [Container.java:201] Container o.e.j.s.ServletContextHandler{/,null} + org.eclipse.jetty.servlet.ServletHandler@10bd314a as handler
12:26:10.324 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting org.eclipse.jetty.servlet.ServletHandler@10bd314a
12:26:10.324 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1210] filterNameMap={com.google.inject.servlet.GuiceFilter-637068939=com.google.inject.servlet.GuiceFilter-637068939}
12:26:10.325 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1211] pathFilters=[[/*]/[]==0=>com.google.inject.servlet.GuiceFilter-637068939]
12:26:10.325 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1212] servletFilterMap={}
12:26:10.325 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1213] servletPathMap={/=org.mortbay.jetty.servlet.DefaultServlet-1}
12:26:10.325 DEBUG [main] o.e.j.s.ServletHandler [ServletHandler.java:1214] servletNameMap={org.mortbay.jetty.servlet.DefaultServlet-1=org.mortbay.jetty.servlet.DefaultServlet-1}
12:26:10.325 DEBUG [main] o.e.j.s.h.AbstractHandler [AbstractHandler.java:52] starting org.eclipse.jetty.servlet.ServletHandler@10bd314a
12:26:10.326 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:167] STARTED org.eclipse.jetty.servlet.ServletHandler@10bd314a
12:26:10.326 DEBUG [main] o.e.j.s.h.AbstractHandler [AbstractHandler.java:52] starting o.e.j.s.ServletContextHandler{/,null}
12:26:10.347 INFO [main] o.e.j.s.h.ContextHandler [ContextHandler.java:737] started o.e.j.s.ServletContextHandler{/,null}
12:26:10.348 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting com.google.inject.servlet.GuiceFilter-637068939
12:26:10.349 WARN [main] o.a.u.IOUtils [IOUtils.java:326] META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader
12:26:10.351 DEBUG [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:2794] Found ObjectFactory org.atmosphere.guice.GuiceObjectFactory
12:26:10.354 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:2532] Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
12:26:10.354 INFO [main] o.a.c.DefaultAnnotationProcessor [DefaultAnnotationProcessor.java:136] AnnotationProcessor class org.atmosphere.cpr.DefaultAnnotationProcessor$BytecodeBasedAnnotationProcessor being used
12:26:10.388 INFO [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1831] Auto detecting atmosphere handlers /WEB-INF/classes/
12:26:10.395 DEBUG [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:1411] Missing META-INF/atmosphere.xml but found the Jersey runtime. Starting Jersey
12:26:10.472 ERROR [main] o.a.c.AtmosphereFramework [AtmosphereFramework.java:890] Failed to initialize Atmosphere Framework
javax.servlet.ServletException: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error
at org.atmosphere.cpr.AtmosphereFramework.loadConfiguration(AtmosphereFramework.java:1373) [atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:868) [atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:765) [atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:101) [atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:80) [atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at com.google.inject.servlet.ServletDefinition.init(ServletDefinition.java:83) [guice-servlet-2.0.jar:na]
at com.google.inject.servlet.ManagedServletPipeline.init(ManagedServletPipeline.java:84) [guice-servlet-2.0.jar:na]
at com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:106) [guice-servlet-2.0.jar:na]
at com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:168) [guice-servlet-2.0.jar:na]
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:102) [jetty-servlet-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:747) [jetty-servlet-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) [jetty-servlet-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.Server.doStart(Server.java:261) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.startServer(JettyGuiceJerseyTest.java:146) [test-classes/:na]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.setUpGlobal(JettyGuiceJerseyTest.java:106) [test-classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeMethod(Invoker.java:427) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.runWorkers(TestRunner.java:712) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.privateRun(TestRunner.java:582) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.run(TestRunner.java:477) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runTest(SuiteRunner.java:324) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.run(SuiteRunner.java:198) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.runSuitesLocally(TestNG.java:788) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.run(TestNG.java:708) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:159) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) [surefire-testng-2.12.4.jar:2.12.4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) [surefire-api-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) [surefire-booter-2.12.4.jar:2.12.4]
Caused by: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error
at com.google.inject.InjectorImpl.getProvider(InjectorImpl.java:784) ~[guice-2.0.jar:na]
at com.google.inject.InjectorImpl.getProvider(InjectorImpl.java:743) ~[guice-2.0.jar:na]
at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793) ~[guice-2.0.jar:na]
at org.atmosphere.guice.AtmosphereGuiceServlet$1.configureDetectedFramework(AtmosphereGuiceServlet.java:49) ~[classes/:na]
at org.atmosphere.cpr.AtmosphereFramework.detectSupportedFramework(AtmosphereFramework.java:1419) [atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereFramework.loadConfiguration(AtmosphereFramework.java:1367) [atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
... 54 common frames omitted
12:26:10.475 WARN [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:199] FAILED com.google.inject.servlet.GuiceFilter-637068939: javax.servlet.ServletException: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error
javax.servlet.ServletException: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error
at org.atmosphere.cpr.AtmosphereFramework.loadConfiguration(AtmosphereFramework.java:1373) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:868) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:765) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:101) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:80) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at com.google.inject.servlet.ServletDefinition.init(ServletDefinition.java:83) ~[guice-servlet-2.0.jar:na]
at com.google.inject.servlet.ManagedServletPipeline.init(ManagedServletPipeline.java:84) ~[guice-servlet-2.0.jar:na]
at com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:106) ~[guice-servlet-2.0.jar:na]
at com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:168) ~[guice-servlet-2.0.jar:na]
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:102) ~[jetty-servlet-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:747) [jetty-servlet-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) [jetty-servlet-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.Server.doStart(Server.java:261) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.startServer(JettyGuiceJerseyTest.java:146) [test-classes/:na]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.setUpGlobal(JettyGuiceJerseyTest.java:106) [test-classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeMethod(Invoker.java:427) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.runWorkers(TestRunner.java:712) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.privateRun(TestRunner.java:582) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.run(TestRunner.java:477) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runTest(SuiteRunner.java:324) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.run(SuiteRunner.java:198) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.runSuitesLocally(TestNG.java:788) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.run(TestNG.java:708) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:159) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) [surefire-testng-2.12.4.jar:2.12.4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) [surefire-api-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) [surefire-booter-2.12.4.jar:2.12.4]
Caused by: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error
at com.google.inject.InjectorImpl.getProvider(InjectorImpl.java:784) ~[guice-2.0.jar:na]
at com.google.inject.InjectorImpl.getProvider(InjectorImpl.java:743) ~[guice-2.0.jar:na]
at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793) ~[guice-2.0.jar:na]
at org.atmosphere.guice.AtmosphereGuiceServlet$1.configureDetectedFramework(AtmosphereGuiceServlet.java:49) ~[classes/:na]
at org.atmosphere.cpr.AtmosphereFramework.detectSupportedFramework(AtmosphereFramework.java:1419) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereFramework.loadConfiguration(AtmosphereFramework.java:1367) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
... 54 common frames omitted
12:26:10.478 WARN [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:199] FAILED o.e.j.s.ServletContextHandler{/,null}: javax.servlet.ServletException: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error
javax.servlet.ServletException: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error
at org.atmosphere.cpr.AtmosphereFramework.loadConfiguration(AtmosphereFramework.java:1373) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:868) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:765) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:101) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:80) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at com.google.inject.servlet.ServletDefinition.init(ServletDefinition.java:83) ~[guice-servlet-2.0.jar:na]
at com.google.inject.servlet.ManagedServletPipeline.init(ManagedServletPipeline.java:84) ~[guice-servlet-2.0.jar:na]
at com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:106) ~[guice-servlet-2.0.jar:na]
at com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:168) ~[guice-servlet-2.0.jar:na]
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:102) ~[jetty-servlet-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:747) ~[jetty-servlet-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) ~[jetty-servlet-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676) ~[jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.Server.doStart(Server.java:261) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.startServer(JettyGuiceJerseyTest.java:146) [test-classes/:na]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.setUpGlobal(JettyGuiceJerseyTest.java:106) [test-classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeMethod(Invoker.java:427) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.runWorkers(TestRunner.java:712) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.privateRun(TestRunner.java:582) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.run(TestRunner.java:477) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runTest(SuiteRunner.java:324) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.run(SuiteRunner.java:198) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.runSuitesLocally(TestNG.java:788) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.run(TestNG.java:708) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:159) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) [surefire-testng-2.12.4.jar:2.12.4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) [surefire-api-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) [surefire-booter-2.12.4.jar:2.12.4]
Caused by: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error
at com.google.inject.InjectorImpl.getProvider(InjectorImpl.java:784) ~[guice-2.0.jar:na]
at com.google.inject.InjectorImpl.getProvider(InjectorImpl.java:743) ~[guice-2.0.jar:na]
at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793) ~[guice-2.0.jar:na]
at org.atmosphere.guice.AtmosphereGuiceServlet$1.configureDetectedFramework(AtmosphereGuiceServlet.java:49) ~[classes/:na]
at org.atmosphere.cpr.AtmosphereFramework.detectSupportedFramework(AtmosphereFramework.java:1419) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereFramework.loadConfiguration(AtmosphereFramework.java:1367) ~[atmosphere-runtime-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
... 54 common frames omitted
12:26:10.479 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting SelectChannelConnector@0.0.0.0:59101
12:26:10.479 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting null/null
12:26:10.480 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:167] STARTED PooledBuffers [0/1024@6144,0/1024@16384,0/1024@-]/PooledBuffers [0/1024@6144,0/1024@32768,0/1024@-]
12:26:10.481 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:174] starting org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@600a281c
12:26:10.481 DEBUG [main] o.e.j.u.t.QueuedThreadPool [QueuedThreadPool.java:366] Dispatched org.eclipse.jetty.io.nio.SelectorManager$1@3acf7786 to stopped qtp2011677478{8<=0<=0/254,-1}
12:26:10.483 WARN [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:199] FAILED org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@600a281c: java.lang.IllegalStateException: !Selecting
java.lang.IllegalStateException: !Selecting
at org.eclipse.jetty.io.nio.SelectorManager.doStart(SelectorManager.java:309) ~[jetty-io-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:58) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:319) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.Server.doStart(Server.java:272) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.startServer(JettyGuiceJerseyTest.java:146) [test-classes/:na]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.setUpGlobal(JettyGuiceJerseyTest.java:106) [test-classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeMethod(Invoker.java:427) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.runWorkers(TestRunner.java:712) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.privateRun(TestRunner.java:582) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.run(TestRunner.java:477) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runTest(SuiteRunner.java:324) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.run(SuiteRunner.java:198) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.runSuitesLocally(TestNG.java:788) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.run(TestNG.java:708) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:159) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) [surefire-testng-2.12.4.jar:2.12.4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) [surefire-api-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) [surefire-booter-2.12.4.jar:2.12.4]
12:26:10.485 WARN [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:199] FAILED SelectChannelConnector@0.0.0.0:59101: java.lang.IllegalStateException: !Selecting
java.lang.IllegalStateException: !Selecting
at org.eclipse.jetty.io.nio.SelectorManager.doStart(SelectorManager.java:309) ~[jetty-io-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:58) ~[jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:319) ~[jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) ~[jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.server.Server.doStart(Server.java:272) [jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) [jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.startServer(JettyGuiceJerseyTest.java:146) [test-classes/:na]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.setUpGlobal(JettyGuiceJerseyTest.java:106) [test-classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeMethod(Invoker.java:427) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.runWorkers(TestRunner.java:712) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.privateRun(TestRunner.java:582) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.run(TestRunner.java:477) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runTest(SuiteRunner.java:324) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.run(SuiteRunner.java:198) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.runSuitesLocally(TestNG.java:788) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.run(TestNG.java:708) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:159) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) [surefire-testng-2.12.4.jar:2.12.4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) [surefire-api-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) [surefire-booter-2.12.4.jar:2.12.4]
12:26:10.486 WARN [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:199] FAILED org.eclipse.jetty.server.Server@4b49ee25: MultiException[javax.servlet.ServletException: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error, java.lang.IllegalStateException: !Selecting]
org.eclipse.jetty.util.MultiException: Multiple exceptions
at org.eclipse.jetty.server.Server.doStart(Server.java:254) ~[jetty-server-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) ~[jetty-util-7.6.0.v20120127.jar:7.6.0.v20120127]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.startServer(JettyGuiceJerseyTest.java:146) [test-classes/:na]
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.setUpGlobal(JettyGuiceJerseyTest.java:106) [test-classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeMethod(Invoker.java:427) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.runWorkers(TestRunner.java:712) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.privateRun(TestRunner.java:582) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestRunner.run(TestRunner.java:477) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runTest(SuiteRunner.java:324) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.SuiteRunner.run(SuiteRunner.java:198) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.runSuitesLocally(TestNG.java:788) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.testng.TestNG.run(TestNG.java:708) [testng-5.8-jdk15.jar:5.8-200803260806]
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:159) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99) [surefire-testng-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) [surefire-testng-2.12.4.jar:2.12.4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) [surefire-api-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) [surefire-booter-2.12.4.jar:2.12.4]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) [surefire-booter-2.12.4.jar:2.12.4]
12:26:10.492 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping org.eclipse.jetty.server.Server@4b49ee25
12:26:10.492 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping SelectChannelConnector@0.0.0.0:59101
12:26:10.493 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping PooledBuffers [0/1024@6144,0/1024@16384,0/1024@-]/PooledBuffers [0/1024@6144,0/1024@32768,0/1024@-]
12:26:10.494 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED null/null
12:26:10.494 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED SelectChannelConnector@0.0.0.0:59101
12:26:10.495 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping o.e.j.s.ServletContextHandler{/,null}
12:26:10.495 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping org.eclipse.jetty.servlet.ServletHandler@10bd314a
12:26:10.495 DEBUG [main] o.e.j.s.h.AbstractHandler [AbstractHandler.java:63] stopping org.eclipse.jetty.servlet.ServletHandler@10bd314a
12:26:10.495 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:182] stopping com.google.inject.servlet.GuiceFilter-637068939
12:26:10.496 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED com.google.inject.servlet.GuiceFilter-637068939
12:26:10.497 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED org.eclipse.jetty.servlet.ServletHandler@10bd314a
12:26:10.497 DEBUG [main] o.e.j.s.h.AbstractHandler [AbstractHandler.java:63] stopping o.e.j.s.ServletContextHandler{/,null}
12:26:10.498 INFO [main] o.e.j.s.h.ContextHandler [ContextHandler.java:788] stopped o.e.j.s.ServletContextHandler{/,null}
12:26:10.498 DEBUG [main] o.e.j.u.c.Container [Container.java:219] Container o.e.j.s.ServletContextHandler{/,null} - org.eclipse.jetty.servlet.ServletHandler@10bd314a as handler
12:26:10.498 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED o.e.j.s.ServletContextHandler{/,null}
12:26:10.499 DEBUG [main] o.e.j.s.h.AbstractHandler [AbstractHandler.java:63] stopping org.eclipse.jetty.server.Server@4b49ee25
12:26:10.499 DEBUG [main] o.e.j.u.c.AbstractLifeCycle [AbstractLifeCycle.java:191] STOPPED org.eclipse.jetty.server.Server@4b49ee25
Tests run: 3, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 2.541 sec <<< FAILURE!
setUpGlobal(org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest) Time elapsed: 0.64 sec <<< FAILURE!
MultiException[javax.servlet.ServletException: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error, java.lang.IllegalStateException: !Selecting]
at org.eclipse.jetty.server.Server.doStart(Server.java:254)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.startServer(JettyGuiceJerseyTest.java:146)
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.setUpGlobal(JettyGuiceJerseyTest.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:427)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
at org.testng.TestRunner.runWorkers(TestRunner.java:712)
at org.testng.TestRunner.privateRun(TestRunner.java:582)
at org.testng.TestRunner.run(TestRunner.java:477)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
at org.testng.SuiteRunner.run(SuiteRunner.java:198)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821)
at org.testng.TestNG.runSuitesLocally(TestNG.java:788)
at org.testng.TestNG.run(TestNG.java:708)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:159)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
javax.servlet.ServletException: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error
at org.atmosphere.cpr.AtmosphereFramework.loadConfiguration(AtmosphereFramework.java:1373)
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:868)
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:765)
at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:101)
at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:80)
at com.google.inject.servlet.ServletDefinition.init(ServletDefinition.java:83)
at com.google.inject.servlet.ManagedServletPipeline.init(ManagedServletPipeline.java:84)
at com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:106)
at com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:168)
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:102)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:747)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.startServer(JettyGuiceJerseyTest.java:146)
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.setUpGlobal(JettyGuiceJerseyTest.java:106)
Caused by: com.google.inject.ConfigurationException: Guice configuration errors:
1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at com.sun.jersey.guice.spi.container.servlet.GuiceContainer.class(GuiceContainer.java:108)
while locating com.sun.jersey.guice.spi.container.servlet.GuiceContainer
1 error
at com.google.inject.InjectorImpl.getProvider(InjectorImpl.java:784)
at com.google.inject.InjectorImpl.getProvider(InjectorImpl.java:743)
at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
at org.atmosphere.guice.AtmosphereGuiceServlet$1.configureDetectedFramework(AtmosphereGuiceServlet.java:49)
at org.atmosphere.cpr.AtmosphereFramework.detectSupportedFramework(AtmosphereFramework.java:1419)
at org.atmosphere.cpr.AtmosphereFramework.loadConfiguration(AtmosphereFramework.java:1367)
... 54 more
java.lang.IllegalStateException: !Selecting
at org.eclipse.jetty.io.nio.SelectorManager.doStart(SelectorManager.java:309)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:58)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:319)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.startServer(JettyGuiceJerseyTest.java:146)
at org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest.setUpGlobal(JettyGuiceJerseyTest.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:427)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
at org.testng.TestRunner.runWorkers(TestRunner.java:712)
at org.testng.TestRunner.privateRun(TestRunner.java:582)
at org.testng.TestRunner.run(TestRunner.java:477)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
at org.testng.SuiteRunner.run(SuiteRunner.java:198)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821)
at org.testng.TestNG.runSuitesLocally(TestNG.java:788)
at org.testng.TestNG.run(TestNG.java:708)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:159)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Results :
Failed tests: setUpGlobal(org.atmosphere.tests.guice.jersey.JettyGuiceJerseyTest): Multiple exceptions
Tests run: 3, Failures: 1, Errors: 0, Skipped: 1
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] atmosphere-extensions-project ..................... SUCCESS [ 0.386 s]
[INFO] atmosphere-rabbitmq ............................... SUCCESS [ 0.798 s]
[INFO] atmosphere-cdi .................................... SUCCESS [ 0.391 s]
[INFO] atmosphere-guice .................................. FAILURE [ 3.658 s]
[INFO] atmosphere-spring ................................. SKIPPED
[INFO] atmosphere-jgroups ................................ SKIPPED
[INFO] atmosphere-jms .................................... SKIPPED
[INFO] atmosphere-redis .................................. SKIPPED
[INFO] atmosphere-xmpp ................................... SKIPPED
[INFO] atmosphere-hazelcast .............................. SKIPPED
[INFO] atmosphere-weblogic ............................... SKIPPED
[INFO] atmosphere-socketio ............................... SKIPPED
[INFO] atmosphere-cometd ................................. SKIPPED
[INFO] atmosphere-gwt20-project .......................... SKIPPED
[INFO] atmosphere-gwt20 .................................. SKIPPED
[INFO] atmosphere-gwt20-common ........................... SKIPPED
[INFO] atmosphere-gwt20-client ........................... SKIPPED
[INFO] atmosphere-gwt20-jersey ........................... SKIPPED
[INFO] atmosphere-gwt20-server ........................... SKIPPED
[INFO] atmosphere-gwt20-jackson .......................... SKIPPED
[INFO] atmosphere-gwt20-managed .......................... SKIPPED
[INFO] atmosphere-rmi .................................... SKIPPED
[INFO] atmosphere-sockjs ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.589 s
[INFO] Finished at: 2014-06-20T12:26:10+09:00
[INFO] Final Memory: 19M/222M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project atmosphere-guice: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/tfukushima/Documents/workspace/Java/atmosphere-extensions/guice/modules/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :atmosphere-guice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment