Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Messaging factors

    Hi,
    We thought of integrating RTM module in our application. As of now we are just exploring the Real time messaging in SmartClient 6 Evaluation version.

    We have tested the sample chat application. It works fine. But in some rare cases it is not working.

    Is there any specif reason for this ?Any browser settings or dependencies that causes this problem?
    [ In our test lab, The Evaluation SDK server is running on a Linux machine and the client is IE browser on windows machine ]

    We have tried to implement a demo application for us. But in this specif case it fails and blocking us from proceeding further.

    Thanks.

    #2
    Could you elaborate on "it is not working"?

    Comment


      #3
      Hi,
      We have tested the sample chat program between 2 browsers with smartclient Evaluation SDK server is running on a Linux machine.

      Browser 1 : Mozilla ( from the machine where server is running )
      Browser 2 : IE 7 ( from a windows machine in the network )

      Now the messages from Browser 2 can able to reach Broewser 1
      But the messages from B1 is not at all reaching the B2.

      We have noticed that some contineuos fetching ( Wating for [url] messages in status window of the browser ) action in B2. But this is not updating the message from the browser 1.

      Comment


        #4
        What's "Mozilla"? A version of Firefox, or something pre-dating it?

        That configuration gets tested with various versions of Firefox.

        Comment


          #5
          Log info

          Hi
          The Mozilla version in this test case is Mozilla Firefox 1.5.0.1
          We don't find any problem with browser sending messages from the server machine.(Linux)

          But the browser (any of IE/Firefox) in the client machine (Windows XP - Laptop)cannot able to recieve the messages.

          To add more i am attaching the RPC log infos from the developer console
          Code:
          20:03:24.140:INFO:Log:initialized
          20:03:25.078:INFO:Log:isc.Page is loaded
          Global Log Priorities updated: Logging messages at priority 'Debug' and above for category 'RPCManagerResponse'.
          Global Log Priorities updated: Logging messages at priority 'Debug' and above for category 'RPCManager'.
          20:04:07.109:MUP6:INFO:RPCManager:builtinApplication:performOperation(messagingSend)[undefined]:'1 records
          20:04:07.125:MUP6:DEBUG:RPCManager:Using ActiveX XMLHttpRequest via constructor: MSXML2.XMLHTTP
          20:04:07.156:MUP6:INFO:RPCManager:sendQueue[1]: 1 RPCRequest(s); transport: xmlHttpRequest; target: http://192.168.27.156:8080/isomorphic/IDACall?isc_rpc=1&isc_v=6.0&isc_xhr=1&isc_tnum=1
          20:04:07.171:MUP6:DEBUG:RPCManager:Using ActiveX XMLHttpRequest via constructor: MSXML2.XMLHTTP
          20:04:07.218:MUP6:DEBUG:RPCManager:XMLHttpRequest POST to http://192.168.27.156:8080/isomorphic/IDACall?isc_rpc=1&isc_v=6.0&isc_xhr=1&isc_tnum=1 contentType: application/x-www-form-urlencoded; charset=UTF-8 with body -->_transaction=<transaction xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:type="xsd:Object"><transactionNum xsi:type="xsd:long">1</transactionNum><operations xsi:type="xsd:List"><elem xsi:type="xsd:Object"><appID>builtinApplication</appID><operation>messagingSend</operation><values xsi:type="xsd:Object"><type>send</type><sendToChannels xsi:type="xsd:List"><elem>chatChannel</elem></sendToChannels><subscribedChannels xsi:type="xsd:Object"><chatChannel xsi:type="xsd:Object"><callback>chatLog.setContents(data + chatLog.contents)</callback></chatChannel></subscribedChannels><data>&lt;b&gt;dfds:&lt;/b&gt; fdfds&lt;br&gt;&lt;br&gt;</data></values></elem></operations></transaction>&protocolVersion=1.0<--
          20:04:07.281:XRP9:INFO:RPCManager:transaction 1 arrived after 110ms
          20:04:07.296:XRP9:DEBUG:RPCManager:Result string for transaction 1: "//isc_RPCResponseStart-->[
              {invalidateCache:false, status:0, isDSResponse:true}
          ]//isc_RPCResponseEnd"
          20:04:07.296:XRP9:INFO:RPCManager:rpcResponse(messagingSend)[undefined]: result: object[status=0]
          20:04:07.625:TMR1:INFO:RPCManager:Sending data via frame isc_HiddenFrame_12 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937247625
          20:04:11.703:TMR8:INFO:RPCManager:Sending data via frame isc_HiddenFrame_13 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937251703
          20:04:15.890:TMR0:INFO:RPCManager:Sending data via frame isc_HiddenFrame_14 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937255890
          20:04:20.093:TMR6:INFO:RPCManager:Sending data via frame isc_HiddenFrame_15 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937260093
          20:04:24.187:TMR8:INFO:RPCManager:Sending data via frame isc_HiddenFrame_16 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937264187
          20:04:28.390:TMR0:INFO:RPCManager:Sending data via frame isc_HiddenFrame_17 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937268390
          20:04:32.531:TMR2:INFO:RPCManager:Sending data via frame isc_HiddenFrame_18 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937272531
          20:04:36.656:TMR4:INFO:RPCManager:Sending data via frame isc_HiddenFrame_19 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937276656
          20:04:40.781:TMR6:INFO:RPCManager:Sending data via frame isc_HiddenFrame_20 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937280781
          20:04:44.921:TMR8:INFO:RPCManager:Sending data via frame isc_HiddenFrame_21 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937284921
          20:04:49.015:TMR0:INFO:RPCManager:Sending data via frame isc_HiddenFrame_22 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937289015
          20:04:53.093:TMR2:INFO:RPCManager:Sending data via frame isc_HiddenFrame_23 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937293093
          20:04:57.203:TMR4:INFO:RPCManager:Sending data via frame isc_HiddenFrame_24 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937297203
          20:05:01.343:TMR6:INFO:RPCManager:Sending data via frame isc_HiddenFrame_25 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937301343
          20:05:05.609:TMR8:INFO:RPCManager:Sending data via frame isc_HiddenFrame_26 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937305609
          20:05:09.687:TMR0:INFO:RPCManager:Sending data via frame isc_HiddenFrame_27 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937309687
          20:05:13.781:TMR2:INFO:RPCManager:Sending data via frame isc_HiddenFrame_28 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937313781
          20:05:17.875:TMR4:INFO:RPCManager:Sending data via frame isc_HiddenFrame_29 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937317875
          20:05:21.984:TMR6:INFO:RPCManager:Sending data via frame isc_HiddenFrame_30 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937321984
          20:05:26.093:TMR8:INFO:RPCManager:Sending data via frame isc_HiddenFrame_31 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937326093
          20:05:30.187:TMR0:INFO:RPCManager:Sending data via frame isc_HiddenFrame_32 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937330187
          20:05:34.281:TMR1:INFO:RPCManager:Sending data via frame isc_HiddenFrame_33 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937334281
          20:05:38.562:TMR3:INFO:RPCManager:Sending data via frame isc_HiddenFrame_34 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937338562
          20:05:42.828:TMR5:INFO:RPCManager:Sending data via frame isc_HiddenFrame_35 to server at URL: http://192.168.27.156:8080/isomorphic/messaging?ts=1205937342828

          Comment


            #6
            Could you clarify - is it correct that you have various machines running Firefox or IE that can chat with each other, and a lone Windows XP laptop that can't receive messages, regardless of what browser is used?

            Comment


              #7
              Yes.Exactly the same.
              But we don't have problem with other machines and browsers.Things are fine.
              We have started to evaluate this now.

              We have just tried to identify what might went wrong with that configuration.

              Thanks

              Comment

              Working...
              X