-
-
Notifications
You must be signed in to change notification settings - Fork 751
AtmosphereHandlerService: No AtmosphereHandler found. Make sure you define it inside
jfarcand edited this page Mar 18, 2013
·
6 revisions
If you see the following exception when using the @AtmosphereHandlerService exception
[org.atmosphere.cpr.AsynchronousProcessor] No AtmosphereHandler found.
Make sure you define it inside META-INF/atmosphere.xml
or annotate using @AtmosphereHandlerService.
Make sure you have added the Annotation Processor to your WEB-INF/lib:
<dependency>
<groupId>eu.infomas</groupId>
<artifactId>annotation-detector</artifactId>
<version>3.0.1</version>
</dependency>
If found, the following message will be displayed at deployment time
Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor
for processing annotations
If you did that and still see the exception, it means the Annotation Processor wasn't been able to find your AtmosphereHandler, try to add the following in your web.xml
<init-param>
<param-name>org.atmosphere.cpr.packages</param-name>
<param-value>packages of your classes</param-value>
</init-param>
- Understanding Atmosphere
- Understanding @ManagedService
- Using javax.inject.Inject and javax.inject.PostConstruct annotation
- Understanding Atmosphere's Annotation
- Understanding AtmosphereResource
- Understanding AtmosphereHandler
- Understanding WebSocketHandler
- Understanding Broadcaster
- Understanding BroadcasterCache
- Understanding Meteor
- Understanding BroadcastFilter
- Understanding Atmosphere's Events Listeners
- Understanding AtmosphereInterceptor
- Configuring Atmosphere for Performance
- Understanding JavaScript functions
- Understanding AtmosphereResourceSession
- Improving Performance by using the PoolableBroadcasterFactory
- Using Atmosphere Jersey API
- Using Meteor API
- Using AtmosphereHandler API
- Using Socket.IO
- Using GWT
- Writing HTML5 Server-Sent Events
- Using STOMP protocol
- Streaming WebSocket messages
- Configuring Atmosphere's Classes Creation and Injection
- Using AtmosphereInterceptor to customize Atmosphere Framework
- Writing WebSocket sub protocol
- Configuring Atmosphere for the Cloud
- Injecting Atmosphere's Components in Jersey
- Sharing connection between Browser's windows and tabs
- Understanding AtmosphereResourceSession
- Manage installed services
- Server Side: javadoc API
- Server Side: atmosphere.xml and web.xml configuration
- Client Side: atmosphere.js API