Perhaps you should add this to the example: protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { resp.sendError( HttpServletResponse.SC_INTERNAL_SERVER_ERROR, "you must be using the APR or NIO connector to get the event method called" ); }
> -----Original Message----- > From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 26, 2007 5:18 PM > To: Tomcat Users List > Subject: Re: Comet example at Tomcat 6 > > you must be using the APR or NIO connector > > <Connector .... > protocol="org.apache.coyote.http11.Http11NioProtocol" //or > protocol="org.apache.coyote.http11.Http11AprProtocol" > > > Filip > john x wrote: > > Hi! > > I just run the chat example ,but ,it seems did not work ; > > the code seems can't reach the line > > begin(event, request, response) > > > > please help me fix that,thanks; > > > > > > > > john > > > > > -------------------------------------------------------------- > ---------- > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.476 / Virus Database: 269.10.19/917 - Release > Date: 7/25/2007 1:16 AM > > > > > --------------------------------------------------------------------- > 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]