That is correct...

I now tried to add some stuff in my web.xml and include the atmosphere.xml
from the example files... but I'm probaly still doing something wrong
-------> SEVERE: failed to initialize atmosphere framework

And probably I should try to include the same jars as in the example
project...

So I think i vill give this up for the moment

This is my web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";>
    <filter>
        <filter-name>WicketApplication</filter-name>
       
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
        <init-param>
            <param-name>applicationClassName</param-name>
            <param-value>asterix.webui.WebUI</param-value>
        </init-param>
        <init-param>
            <param-name>configuration</param-name>
            <param-value>deployment</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>WicketApplication</filter-name>
        <url-pattern>/wicket/*</url-pattern>
    </filter-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file/>
    </welcome-file-list>
    <servlet>
        <servlet-name>AtmosphereApplication</servlet-name>
        <servlet-class>org.atmosphere.cpr.AtmosphereServlet</servlet-class>
        <init-param>
            <param-name>applicationClassName</param-name>
            <param-value>asterix.webui.WebUI</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>true</param-value>
        </init-param>
        <init-param>
           
<param-name>org.atmosphere.cpr.CometSupport.maxInactiveActivity</param-name>
            <param-value>30000</param-value>
        </init-param>
        <init-param>
            <param-name>filterMappingUrlPattern</param-name>
            <param-value>/atmosphere/*</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>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>AtmosphereApplication</servlet-name>
        <url-pattern>/atmosphere/*</url-pattern>
    </servlet-mapping>
</web-app>

This is the atmosphere.xml

<atmosphere-handlers>
    <atmosphere-handler context-root="/*"
class-name="org.atmosphere.handler.ReflectorServletProcessor">
    <property name="filterClassName"
value="org.apache.wicket.protocol.http.WicketFilter" />
    </atmosphere-handler>
</atmosphere-handlers> 




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-0-0-Netbeans-Atmosphere-tp4651521p4651527.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