All libraries are included in the wicket application. The difference is
created in the web.xml. I have set the following parameter to false

<init-param>
<param-name> org.atmosphere.useNative </ param-name>
<param-value> true </ param-value>
</ Init-param>
And to deploy the application log tells me that the Atmosphere is started,
but on entering the application, I still returns the 404, but now and does
not draw any trace. The content of my web.xml is being
<servlet>
<description> Atmospherefilter </ description>
<servlet-name> Atmospherefilter </ servlet-name>
<servlet-class> org.atmosphere.cpr.AtmosphereServlet </ servlet-class>
<init-param>
<param-name> org.atmosphere.filter </ param-name>
<param-value> org.apache.wicket.protocol.http.WicketFilter </ param-value>
</ Init-param>
<init-param>
<param-name> applicationClassName </ param-name>
<param-value> com.myCompany.MyApplication </ param-value>
</ Init-param>
<init-param>
<param-name> org.atmosphere.useWebSocket </ param-name>
<param-value> true </ param-value>
</ Init-param>
<init-param>
<param-name> org.atmosphere.useNative </ param-name>
<param-value> false</ param-value>
</ Init-param>
<init-param>
<param-name> org.atmosphere.cpr.sessionSupport </ param-name>
<param-value> true </ param-value>
</ Init-param>
<init-param>
<param-name> org.atmosphere.websocket.WebSocketProtocol </ param-name>
<param-value> org.atmosphere.websocket.protocol.EchoProtocol </ param-value>
</ Init-param>
<init-param>
<param-name> org.atmosphere.cpr.broadcastFilterClasses </ param-name>
<param-value> org.apache.wicket.atmosphere.TrackMessageSizeFilter </
param-value>
</ Init-param>
<init-param>
<param-name> filterMappingUrlPattern </ param-name>
<param-value> / * </ param-value>
</ Init-param>

<load-on-startup> 0 </ load-on-startup>
</ Servlet>

<servlet-mapping>
<servlet-name> Atmospherefilter </ servlet-name>
<url-pattern> / * </ url-pattern>
</ Servlet-mapping>

And the web.xml before using Atmosphere, (which worked fine). was this.

<filter>
<filter-name> wicket.netwie </ filter-name>
<filter-class> org.apache.wicket.protocol.http.WicketFilter </ filter-class>
<init-param>
<param-name> applicationClassName </ param-name>
<param-value> com.myCompany.MyApplication </ param-value>
</ Init-param>
</ Filter>
<filter-mapping>
<filter-name> wicket.netwie </ filter-name>
<url-pattern> / * </ url-pattern>
</ Filter-mapping>
<session-config>
<session-timeout> 30 </ session-timeout>
</ Session-config>

With the new web.xml, although always displays the context returns 404.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Atmosphere-problem-with-JBoss-7-1-tp4657907p4657931.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to