voyent
Tomcat 6, NIO COnfiguration  XML
Forum Index -> Async HTTP Server
Author Message
wemu

Joined: 17/Apr/2008 00:00:00
Messages: 22
Offline


Hello

I plan to do some tests with the NIO configuration on Tomcat6 and ICEfaces 1.8.1.

The developer guide contains the following instructions for server.xml / web.xml:

Code:
 <Connector port="8080" 
   protocol="org.apache.coyote.http11.Http11NioProtocol"
   connectionTimeout="60000"
   redirectPort="8443" />
 


Code:
 <servlet>
   <servlet-name>Tomcat Push Servlet</servlet-name>
   <servlet-class>
     com.icesoft.faces.webapp.http.servlet.TomcatPushServlet
   </servlet-class>
   <load-on-startup> 1 </load-on-startup>
 </servlet>
 <servlet-mapping>
   <servlet-name>Tomcat Push Servlet</servlet-name>
   <url-pattern>/block/receive-updated-views/*</url-pattern>
 </servlet-mapping>
 


The web.xml already contains a mapping for the /block/* pattern:


Code:
 <servlet>
   <servlet-name>Blocking Servlet</servlet-name>
   <servlet-class>
     com.icesoft.faces.webapp.xmlhttp.BlockingServlet
   </servlet-class>
   <load-on-startup>20</load-on-startup>
 </servlet>
 <servlet-mapping>
   <servlet-name>Blocking Servlet</servlet-name>
   <url-pattern>/block/*</url-pattern>
 </servlet-mapping>
 


Is the tomcat push servlet added to the config or does it replace another servlet?

Is there a complete example available somewhere?


Thanks!
regards

werner
pandoo


Joined: 06/Feb/2008 00:00:00
Messages: 69
Offline


Hi Werner,

I'll take care of that issue and will ask our icefaces developers asap.
pandoo


Joined: 06/Feb/2008 00:00:00
Messages: 69
Offline


Have you already seen: http://www.icefaces.org/docs/v1_8_0/htmlguide/devguide/AdvancedTopics7.html#1047046
 
Forum Index -> Async HTTP Server
Go to:   
Powered by JForum 2.1.7ice © JForum Team