Tanks all of you !
I have success run it ;
But there still some problems;
The chat pape http://localhost:8080/examples/jsp/chat can't visit by
other clients,and the page visit speed on local
is very slow.
Additional,I run ok at tomcat6.0.10, it didn't work at tomcat6.0.13
the tomcat6.0.13 log show " ChatServlet: Error for session: " when I just
login.
Hope someone can help me.thank advance
2007/7/27, Reich, Matthias <matthias.reich@(protected)>:
>
> 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:devlists@(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@(protected)
> > To unsubscribe, e-mail: users-unsubscribe@(protected)
> > For additional commands, e-mail: users-help@(protected)
> >
> >
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>