Re: Atmosphere NPE

2013-05-03 Thread Martin Grigorov
Hi,

Please create a quickstart and attach it to a ticket in Jira.
Thanks!


On Fri, May 3, 2013 at 7:36 AM, Noven noven_...@yahoo.com wrote:

 Hi all,

 I have issue with atmosphere, below is the log:

 2013-05-01 19:11:32.880602500 INFO  - AtmosphereBehavior -
 Resuming the streaming response from ip 127.0.0.101:41704
 2013-05-01 19:11:32.880714500 INFO  - AtmosphereBehavior -
 streaming connection dropped from ip 127.0.0.101:41704
 2013-05-01 19:11:32.886105500 ERROR - AtmosphereBehavior -
 2013-05-01 19:11:32.886106500 java.lang.NullPointerException
 2013-05-01 19:11:32.886106500 at
 org.apache.wicket.atmosphere.EventBus.get(EventBus.java:87)

 Also I found that this issue make my application become unresponsive and
 cause tomcat shut down.  Did anybody ever experiencing this?

 Any help will be appreciated. Thank you.

 Below is my web.xml

 context-param
 param-namecontextConfigLocation/param-name
 param-valueclasspath:applicationContext.xml/param-value
 /context-param
 listener

 listener-classorg.springframework.web.context.ContextLoaderListener/listener-class
 /listener
 servlet
 descriptionwicket.admin/description
 servlet-namewicket.admin/servlet-name
 servlet-classorg.atmosphere.cpr.AtmosphereServlet/servlet-class
 init-param
 param-nameapplicationClassName/param-name
 param-valuecom.admin.WicketApplication/param-value
 /init-param
 init-param
 param-nameconfiguration/param-name
 param-valuedeployment/param-value
 /init-param
 init-param
 param-nameorg.atmosphere.useWebSocket/param-name
 param-valuetrue/param-value
 /init-param
 init-param
 param-nameorg.atmosphere.useNative/param-name
 param-valuetrue/param-value
 /init-param
 init-param
 param-nameorg.atmosphere.cpr.sessionSupport/param-name
 param-valuetrue/param-value
 /init-param
 init-param
 param-namefilterMappingUrlPattern/param-name
 param-value/*/param-value
 /init-param
 init-param

 param-nameorg.atmosphere.websocket.WebSocketProtocol/param-name

 param-valueorg.atmosphere.websocket.protocol.EchoProtocol/param-value
 /init-param
 init-param

 param-nameorg.atmosphere.cpr.broadcastFilterClasses/param-name

 param-valueorg.apache.wicket.atmosphere.TrackMessageSizeFilter/param-value
 /init-param
 load-on-startup0/load-on-startup
 /servlet

 servlet-mapping
 servlet-namewicket.admin/servlet-name
 url-pattern/*/url-pattern
 /servlet-mapping




-- 
Martin Grigorov
Wicket Training  Consulting
http://jWeekend.com http://jweekend.com/


Atmosphere NPE

2013-05-02 Thread Noven
Hi all,

I have issue with atmosphere, below is the log:

2013-05-01 19:11:32.880602500 INFO  - AtmosphereBehavior         - Resuming the 
streaming response from ip 127.0.0.101:41704
2013-05-01 19:11:32.880714500 INFO  - AtmosphereBehavior         - streaming 
connection dropped from ip 127.0.0.101:41704
2013-05-01 19:11:32.886105500 ERROR - AtmosphereBehavior         - 
2013-05-01 19:11:32.886106500 java.lang.NullPointerException
2013-05-01 19:11:32.886106500     at 
org.apache.wicket.atmosphere.EventBus.get(EventBus.java:87)

Also I found that this issue make my application become unresponsive and cause 
tomcat shut down.  Did anybody ever experiencing this? 

Any help will be appreciated. Thank you.

Below is my web.xml

context-param
        param-namecontextConfigLocation/param-name
        param-valueclasspath:applicationContext.xml/param-value
    /context-param
    listener
        
listener-classorg.springframework.web.context.ContextLoaderListener/listener-class
    /listener
    servlet
        descriptionwicket.admin/description
        servlet-namewicket.admin/servlet-name
        servlet-classorg.atmosphere.cpr.AtmosphereServlet/servlet-class
        init-param
            param-nameapplicationClassName/param-name
            param-valuecom.admin.WicketApplication/param-value
        /init-param
        init-param
            param-nameconfiguration/param-name
            param-valuedeployment/param-value
        /init-param
        init-param
            param-nameorg.atmosphere.useWebSocket/param-name
            param-valuetrue/param-value
        /init-param
        init-param
            param-nameorg.atmosphere.useNative/param-name
            param-valuetrue/param-value
        /init-param
        init-param
            param-nameorg.atmosphere.cpr.sessionSupport/param-name
            param-valuetrue/param-value
        /init-param
        init-param
            param-namefilterMappingUrlPattern/param-name
            param-value/*/param-value
        /init-param
        init-param
            param-nameorg.atmosphere.websocket.WebSocketProtocol/param-name
            
param-valueorg.atmosphere.websocket.protocol.EchoProtocol/param-value
        /init-param
        init-param
            param-nameorg.atmosphere.cpr.broadcastFilterClasses/param-name
            
param-valueorg.apache.wicket.atmosphere.TrackMessageSizeFilter/param-value
        /init-param
        load-on-startup0/load-on-startup
    /servlet       
    
    servlet-mapping
        servlet-namewicket.admin/servlet-name
        url-pattern/*/url-pattern
    /servlet-mapping