i will send later, i cant ftp from here. any other ideas?
i would like if somebody, who made this cometprocessor worked describe the things what have to do. I already done what is in tomcat docs (advanced NIO) regards, Saby 2007/5/29, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>:
send us a link to your test WAR file, and I can give it a shot, looks good to me. Filip Márton Szabolcs wrote: > Hi! > > i set my connector like this. > it should be correct, isnt it? > > <Connector port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol" > maxThreads="150" connectionTimeout="20000" > redirectPort="8443" /> > > <servlet> > <servlet-name>CometSampleServlet</servlet-name> > <servlet-class>sample.CometSampleServlet</servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>CometSampleServlet</servlet-name> > <url-pattern>/CometSampleServlet</url-pattern> > </servlet-mapping> > > public class CometSampleServlet > extends HttpServlet implements CometProcessor { > > protected ArrayList<HttpServletResponse> connections = > new ArrayList<HttpServletResponse>(); > protected MessageSender sender = null; > > /** > */ > public void event(CometEvent event) throws IOException, ServletException { > HttpServletRequest request = event.getHttpServletRequest(); > > .... > > but my service method still invoked.... > is any settings should take? > > > this example from: > http://journal.mycom.co.jp/special/2007/tomcat6/014.html > (its japanese, but you could see in the black text areas) > > regards, > Szabi > > 35% kedvezmény a Partvonal Kiadó köteteire - hogy minden olvasó kézhez kapja a maga könyvét. > http://ad.adverticum.net/b/cl,1,6022,172067,232579/click.prm > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.8.0/821 - Release Date: 5/27/2007 3:05 PM > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]