Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.1.0.RC1 contains bugs which are not in 1.1.0.beta3 #1007

Closed
confile opened this issue Apr 7, 2013 · 2 comments
Closed

1.1.0.RC1 contains bugs which are not in 1.1.0.beta3 #1007

confile opened this issue Apr 7, 2013 · 2 comments

Comments

@confile
Copy link

confile commented Apr 7, 2013

When I use compile

compile 'org.atmosphere:atmosphere-runtime:1.1.0.RC1'   
compile 'org.atmosphere:atmosphere-gwt-server:1.1.0.RC1'

instead of

compile 'org.atmosphere:atmosphere-runtime:1.1.0.beta3'
compile 'org.atmosphere:atmosphere-gwt-server:1.1.0.beta3'

I got the following error:

StandardWrapper.Throwable
Message: org.atmosphere.cpr.DefaultBroadcasterFactory$BroadcasterCreationException: java.lang.reflect.InvocationTargetException
Line | Method
->> 201 | in org.atmosphere.cpr.AtmosphereFramework$AtmosphereHandlerWrapper


| 268 | addAtmosphereHandler in org.atmosphere.cpr.AtmosphereFramework
| 289 | addAtmosphereHandler in ''
| 30 | doCall in myapp.MyAtmosphereServlet$_init_closure1
| 23 | init . . . . . . . . in myapp.MyAtmosphereServlet
| 334 | innerRun in java.util.concurrent.FutureTask$Sync
| 166 | run . . . . . . . . in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run in java.lang.Thread
Caused by BroadcasterCreationException: java.lang.reflect.InvocationTargetException
->> 177 | createBroadcaster in org.atmosphere.cpr.DefaultBroadcasterFactory


| 251 | lookup in ''
| 225 | lookup . . . . . . . in ''
| 217 | lookup in ''
| 196 | . . . . . . . in org.atmosphere.cpr.AtmosphereFramework$AtmosphereHandlerWrapper
| 268 | addAtmosphereHandler in org.atmosphere.cpr.AtmosphereFramework
| 289 | addAtmosphereHandler in ''
| 30 | doCall in myapp.MyAtmosphereServlet$_init_closure1
| 23 | init . . . . . . . . in myapp.MyAtmosphereServlet
| 334 | innerRun in java.util.concurrent.FutureTask$Sync
| 166 | run . . . . . . . . in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run in java.lang.Thread
Caused by InvocationTargetException: null
->> 157 | createBroadcaster in org.atmosphere.cpr.DefaultBroadcasterFactory


| 251 | lookup in ''
| 225 | lookup . . . . . . . in ''
| 217 | lookup in ''
| 196 | . . . . . . . in org.atmosphere.cpr.AtmosphereFramework$AtmosphereHandlerWrapper
| 268 | addAtmosphereHandler in org.atmosphere.cpr.AtmosphereFramework
| 289 | addAtmosphereHandler in ''
| 30 | doCall in myapp.MyAtmosphereServlet$_init_closure1
| 23 | init . . . . . . . . in myapp.MyAtmosphereServlet
| 334 | innerRun in java.util.concurrent.FutureTask$Sync
| 166 | run . . . . . . . . in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run in java.lang.Thread
Caused by RuntimeException: java.lang.ClassNotFoundException: org.atmosphere.cache.EventCacheBroadcasterCache
->> 147 | configureBroadcasterCache in org.atmosphere.cpr.BroadcasterConfig


| 109 | in ''
| 96 | . . . . . . . in ''
| 198 | createBroadcasterConfig in org.atmosphere.cpr.DefaultBroadcaster
| 160 | . . . . . . . in ''
| 188 | in ''
| 157 | createBroadcaster . in org.atmosphere.cpr.DefaultBroadcasterFactory
| 251 | lookup in ''
| 225 | lookup . . . . . . . in ''
| 217 | lookup in ''
| 196 | . . . . . . . in org.atmosphere.cpr.AtmosphereFramework$AtmosphereHandlerWrapper
| 268 | addAtmosphereHandler in org.atmosphere.cpr.AtmosphereFramework
| 289 | addAtmosphereHandler in ''
| 30 | doCall in myapp.MyAtmosphereServlet$_init_closure1
| 23 | init . . . . . . . . in myapp.MyAtmosphereServlet
| 334 | innerRun in java.util.concurrent.FutureTask$Sync
| 166 | run . . . . . . . . in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run in java.lang.Thread
Caused by ClassNotFoundException: org.atmosphere.cache.EventCacheBroadcasterCache
->> 175 | findClass in org.codehaus.groovy.tools.RootLoader


| 423 | loadClass in java.lang.ClassLoader
| 147 | loadClass . . . . . in org.codehaus.groovy.tools.RootLoader
| 356 | loadClass in java.lang.ClassLoader
| 132 | configureBroadcasterCache in org.atmosphere.cpr.BroadcasterConfig
| 109 | in ''
| 96 | . . . . . . . in ''
| 198 | createBroadcasterConfig in org.atmosphere.cpr.DefaultBroadcaster
| 160 | . . . . . . . in ''
| 188 | in ''
| 157 | createBroadcaster . in org.atmosphere.cpr.DefaultBroadcasterFactory
| 251 | lookup in ''
| 225 | lookup . . . . . . . in ''
| 217 | lookup in ''
| 196 | . . . . . . . in org.atmosphere.cpr.AtmosphereFramework$AtmosphereHandlerWrapper
| 268 | addAtmosphereHandler in org.atmosphere.cpr.AtmosphereFramework
| 289 | addAtmosphereHandler in ''
| 30 | doCall in myapp.MyAtmosphereServlet$_init_closure1
| 23 | init . . . . . . . . in myapp.MyAtmosphereServlet
| 334 | innerRun in java.util.concurrent.FutureTask$Sync
| 166 | run . . . . . . . . in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run in java.lang.Thread
| Error 2013-04-07 14:58:02,894 [localhost-startStop-1] ERROR [localhost].[/test-gwt] - Servlet /test-gwt threw load() exception
Message: org.atmosphere.cache.EventCacheBroadcasterCache
Line | Method
->> 175 | findClass in org.codehaus.groovy.tools.RootLoader


| 423 | loadClass in java.lang.ClassLoader
| 147 | loadClass . . . . . . . . in org.codehaus.groovy.tools.RootLoader
| 356 | loadClass in java.lang.ClassLoader
| 132 | configureBroadcasterCache in org.atmosphere.cpr.BroadcasterConfig
| 109 | in ''
| 96 | . . . . . . . . . in ''
| 198 | createBroadcasterConfig in org.atmosphere.cpr.DefaultBroadcaster
| 160 | . . . . . . . . . in ''
| 188 | in ''
| 157 | createBroadcaster . . . . in org.atmosphere.cpr.DefaultBroadcasterFactory
| 251 | lookup in ''
| 225 | lookup . . . . . . . . . in ''
| 217 | lookup in ''
| 196 | . . . . . . . . . in org.atmosphere.cpr.AtmosphereFramework$AtmosphereHandlerWrapper
| 268 | addAtmosphereHandler in org.atmosphere.cpr.AtmosphereFramework
| 289 | addAtmosphereHandler . . in ''
| 30 | doCall in myapp.MyAtmosphereServlet$_init_closure1
| 23 | init . . . . . . . . . . in myapp.MyAtmosphereServlet
| 334 | innerRun in java.util.concurrent.FutureTask$Sync
| 166 | run . . . . . . . . . . . in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run in java.lang.Thread

@jfarcand
Copy link
Member

jfarcand commented Apr 7, 2013

You need to configure the org.atmosphere.cache.UUIDBroadcasterCache, not the EventCacheBroadcasterCache, which has been renamed (I recommend you subscribe to the mailing list"

@jfarcand jfarcand closed this as completed Apr 7, 2013
@confile
Copy link
Author

confile commented Apr 11, 2013

@jfarcand So you mean in myl web.xml:

        <init-param>
            <param-name>org.atmosphere.cpr.broadcasterCacheClass</param-name>
            <param-value>org.atmosphere.cache.UUIDBroadcasterCache</param-value>   
        </init-param>

instead of

        <init-param>
            <param-name>org.atmosphere.cpr.broadcasterCacheClass</param-name>
            <param-value>org.atmosphere.cache.EventCacheBroadcasterCache</param-value>   
        </init-param>

This is still not working. What do I have to change when I move from 1.1.0 beta3 to 1.1.0 RC1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants