You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dominique Fotso <do...@gmail.com> on 2007/07/05 13:26:36 UTC
Making the Tomcat 6 Comet Example (ChatServlet) Work
Hello:
I have installed tomcat 6.0.13 on my windows xp machine, and I cannot get
the chat example to work.
I have switched the connector to the NIO http connector. I do not see any
trace on the console. After I go past the login page, I get to the post page
but typing something on the message box just gets me nowhere.
I have been reading a message on a mailing list about this same
problem (http://www.nabble.com/Comet-example-Tomcat-6-not-working.-t3957585.html
)
and I changed just post.jsp to have an openWindow javascript function.
So far I don't get anything. Is there anything else I should be changing or
anything I am missing?
Any help is appreciated.
Dominique
Re: Making the Tomcat 6 Comet Example (ChatServlet) Work
Posted by Dominique Fotso <do...@gmail.com>.
Great!
I do not have a webapp yet, i would like to see the example first before I
venture with some code of my own. I saw talks that the example works only in
telnet. I dont know how to do that yet, I will see.
Maybe I'm just going to go ahead and write a test myself.
Good to know you at least saw the events.
Thanks for your reply.
Dominique
On 7/5/07, Szabolcs Márton <ma...@gmail.com> wrote:
>
> HI!
>
> i cannot get use this example too.
> but my big mistake was that i put the webapp library the catalina.jar!
> the project need catalina.jar for comet stuff, but you cannot deploy it in
> your webapp.
> maybe check that..
>
> If i removed i could use comet stuff. (but not the demo:) )
> I connected to comet with xmlhttprequest, but data arrived when server
> timeouted.
> But i saw the begin, read, write events on the server
>
> regards,
> Szabi
>
>
> 2007/7/5, Dominique Fotso <do...@gmail.com>:
> >
> > Hello:
> >
> > I have installed tomcat 6.0.13 on my windows xp machine, and I cannot
> get
> > the chat example to work.
> >
> > I have switched the connector to the NIO http connector. I do not see
> any
> > trace on the console. After I go past the login page, I get to the post
> > page
> > but typing something on the message box just gets me nowhere.
> >
> > I have been reading a message on a mailing list about this same
> > problem (
> > http://www.nabble.com/Comet-example-Tomcat-6-not-working.-t3957585.html
> > )
> > and I changed just post.jsp to have an openWindow javascript function.
> >
> > So far I don't get anything. Is there anything else I should be changing
> > or
> > anything I am missing?
> >
> >
> >
> > Any help is appreciated.
> >
> >
> >
> > Dominique
> >
>
Re: Making the Tomcat 6 Comet Example (ChatServlet) Work
Posted by Szabolcs Márton <ma...@gmail.com>.
HI!
i cannot get use this example too.
but my big mistake was that i put the webapp library the catalina.jar!
the project need catalina.jar for comet stuff, but you cannot deploy it in
your webapp.
maybe check that..
If i removed i could use comet stuff. (but not the demo:) )
I connected to comet with xmlhttprequest, but data arrived when server
timeouted.
But i saw the begin, read, write events on the server
regards,
Szabi
2007/7/5, Dominique Fotso <do...@gmail.com>:
>
> Hello:
>
> I have installed tomcat 6.0.13 on my windows xp machine, and I cannot get
> the chat example to work.
>
> I have switched the connector to the NIO http connector. I do not see any
> trace on the console. After I go past the login page, I get to the post
> page
> but typing something on the message box just gets me nowhere.
>
> I have been reading a message on a mailing list about this same
> problem (
> http://www.nabble.com/Comet-example-Tomcat-6-not-working.-t3957585.html
> )
> and I changed just post.jsp to have an openWindow javascript function.
>
> So far I don't get anything. Is there anything else I should be changing
> or
> anything I am missing?
>
>
>
> Any help is appreciated.
>
>
>
> Dominique
>