File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Servlet 3.0 Asynchronous Chat Sample NOT working? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet 3.0 Asynchronous Chat Sample NOT working?" Watch "Servlet 3.0 Asynchronous Chat Sample NOT working?" New topic
Author

Servlet 3.0 Asynchronous Chat Sample NOT working?

Namitha karupaiya
Ranch Hand

Joined: Mar 10, 2004
Posts: 89
Has anyone tested the Chat software which (features the Servlet 3.0 new Asynchronous feature) is included as a sample in the JavaEE 6 download?

This program is NOT working for me. Any small help from anyone is greatly appreciated!
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

Namitha karupaiya wrote:This program is NOT working for me.

It would be better if you specify more clearly what problem you are facing. Are you getting any exception, or unable to deploy it or something else??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Namitha karupaiya
Ranch Hand

Joined: Mar 10, 2004
Posts: 89
The program can be compiled & deployed without any problem. Say, now I am opening the chat page in two windows of my Firefox browsers. The first user "fox_a" is able to chat in the first window without any problem. But the 2nd user "fox_b" cannot view his/her chat text display in the 2nd window. (but fox_a is able to view messages from fox_b)

But if you use IE, the logging in button is not responding at all!

(I used Netbeans 6.8, Firefox 3.5, Glassfish 3, IE 8 & Chat application shipped with Java EE 6 download)
 
jQuery in Action, 2nd edition
 
subject: Servlet 3.0 Asynchronous Chat Sample NOT working?
 
Similar Threads
XML to PDF Servlet
help in asynchronous context
Notifying user using JSF after the Asynchronous session bean method completes
calling application through servlet
Information about OCPJWCD 6 / SCWCD 6 [CX-310-085]