Making the Tomcat 6 Comet Example (ChatServlet) Work

2007-07-05 Thread Dominique Fotso

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

2007-07-05 Thread Dominique Fotso

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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]:

 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

2007-07-05 Thread Szabolcs Márton

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 [EMAIL PROTECTED]:


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