[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3944) Chatroom example - messages not delivered

Norman Richards (JIRA) jira-events at lists.jboss.org
Fri Feb 13 15:35:44 EST 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-3944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12452647#action_12452647 ] 

Norman Richards commented on JBSEAM-3944:
-----------------------------------------

Index: remote.js
===================================================================
--- remote.js   (revision 10041)
+++ remote.js   (working copy)
@@ -670,7 +670,8 @@
           try
           {         
             asyncReq.responseXML.documentElement;
-            Seam.Remoting.processResponse(asyncReq.responseXML);
+            //Seam.Remoting.processResponse(asyncReq.responseXML);
+           callback(asyncReq.responseXML);
           }
           catch (ex)
           {
@@ -686,7 +687,8 @@
              {
                // If that fails, use standards
                var parser = new DOMParser();
-               Seam.Remoting.processResponse(parser.parseFromString(asyncReq.responseText, "text/xml"));
+               //Seam.Remoting.processResponse(parser.parseFromString(asyncReq.responseText, "text/xml"));
+              callback(parser.parseFromString(asyncReq.responseText, "text/xml")); 
              }
           } 
         }

> Chatroom example - messages not delivered
> -----------------------------------------
>
>                 Key: JBSEAM-3944
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3944
>             Project: Seam
>          Issue Type: Bug
>          Components: Examples, Remoting
>    Affects Versions: 2.1.2.CR1
>         Environment: JDK 5 update 16
> JBoss AS 4.2.3
> Firefox 3
>            Reporter: Jozef Hartinger
>             Fix For: 2.1.2.CR1
>
>         Attachments: chatroom.txt
>
>
> Example loads. I can log in, however sent messages are not delivered. After sending a first message after connection, attached exception appears in the log. When connecting from second browser instance, I can see the current user as well as the first logged in user list but messages are still not delivered. Tested on r10025

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list