tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Comet example at Tomcat 6
Date Fri, 27 Jul 2007 01:59:28 GMT
Enable debugging for your tomcat instance
http://tomcat.apache.org/faq/development.html
be sure to install and configure either
commons-logging
OR
Log4J

Martin
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "john x" <longying23@gmail.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, July 26, 2007 9:50 PM
Subject: Re: Comet example at Tomcat 6


> 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@siemens.com>:
>>
>> 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@hanik.com]
>> > 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: users-unsubscribe@tomcat.apache.org
>> > For additional commands, e-mail: users-help@tomcat.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message