Announcement

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

    Keeping getting this warning in console

    Hello there,

    SmartClient Version: v10.0p_2015-01-23/PowerEdition Deployment (built 2015-01-23)

    can somebody help me to get rid of this warning i keep getting every few seconds in my console.

    Code:
    [WARN] 404 - GET /dbilling/sc/messaging?ts=1426054640361&isc_noLog=1&type=connect&connectionID=isc_HiddenFrame_812&subscribedChannels=%7B%0D%20%20%20%20%229631BE51-4FA3-47C1-8481-365CF5AA1AE5%22%3A%7B%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20isc_DebugMaster%3A%7B%0D%20%20%20%20%7D%0D%7D&eventStream=true (127.0.0.1) 1392 bytes
       Request headers
          Host: 127.0.0.1:8888
          User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
          Accept: text/event-stream
          Accept-Language: en-US,en;q=0.5
          Accept-Encoding: gzip, deflate
          Referer: http://127.0.0.1:8888/dbilling/sc/system/helpers/Log.html
          Cookie: GLog=%7B%0D%20%20%20%20trackRPC%3Atrue%2C%20%0D%20%20%20%20pageGUID%3A%229755CC32-473D-4565-9B5B-119C7B8A616C%22%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20sgwtInternal%3A1%2C%20%0D%20%20%20%20%20%20%20%20Log%3A4%2C%20%0D%20%20%20%20%20%20%20%20ListGrid%3A3%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20left%3A-1536%2C%20%0D%20%20%20%20top%3A0%2C%20%0D%20%20%20%20width%3A1522%2C%20%0D%20%20%20%20height%3A802%0D%7D; JSESSIONID=h778cf2bnmu1durdtz9jmmtp; isc_cState=ready
          Connection: keep-alive
          Pragma: no-cache
          Cache-Control: no-cache
       Response headers
          X-Included-Test: true
          Content-Type: text/html;charset=ISO-8859-1
          Cache-Control: must-revalidate,no-cache,no-store
          Content-Length: 1392
    cheers
    zolf

    #2
    If you haven't already, try the latest nightly build.
    Also be sure to clear your browser cache when you upgrade to ensure you aren't looking at stale code.

    If that doesn't solve it, you may have a misconfiguration of the Realtime Messaging feature. Perhaps start with the overview here, and also take a look at the shipped samples demonstrating use of this feature.

    Regards
    Isomorphic Software

    Comment


      #3
      Hi Isomorphic,

      Thnaks for your feedback. The thing is I am not using this messaging feature in my application. I also checked the web.xml and there i dont have this messaging servlet. This is confusing me from where is this message getting into my application. Any idea??

      cheers
      Zolf

      Comment


        #4
        This is due to a Remote Debugging - see the overview in the docs on this.

        This would be expected to appear every 2 minutes, not every few seconds.

        The logging is your own or that of your Servlet container. SmartGWT is designed to avoiding logging when Messaging is used for Remote Debugging.

        Comment


          #5
          >>This would be expected to appear every 2 minutes, not every few seconds.

          you are wrong!!. Dont be so sure next time.look carefully at the time these warnings is being printed millisec ts=1426315982466....ts=1426315986485. it is few secs and not 2 mins.

          Code:
          [WARN] 404 - GET /dbilling/sc/messaging?ts=1426315982466&isc_noLog=1&type=connect&connectionID=isc_HiddenFrame_18&subscribedChannels=%7B%0D%20%20%20%20%223EFB044C-EC7A-450C-9FA9-24C32375064B%22%3A%7B%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20isc_DebugMaster%3A%7B%0D%20%20%20%20%7D%0D%7D&eventStream=true (127.0.0.1) 1392 bytes
             Request headers
                Host: 127.0.0.1:8888
                User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
                Accept: text/event-stream
                Accept-Language: en-US,en;q=0.5
                Accept-Encoding: gzip, deflate
                Referer: http://127.0.0.1:8888/dbilling/sc/system/helpers/Log.html
                Cookie: isc_cState=ready; JSESSIONID=2bght42s3he2qj1qibfoxuh3; GLog=%7B%0D%20%20%20%20pageGUID%3A%22CDD25893-658C-4F2C-A622-EF3AF25694E7%22%2C%20%0D%20%20%20%20trackRPC%3Atrue%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20sgwtInternal%3A1%2C%20%0D%20%20%20%20%20%20%20%20Log%3A4%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20left%3A-1543%2C%20%0D%20%20%20%20top%3A-7%2C%20%0D%20%20%20%20width%3A1536%2C%20%0D%20%20%20%20height%3A817%0D%7D
                Connection: keep-alive
                Pragma: no-cache
                Cache-Control: no-cache
             Response headers
                X-Included-Test: true
                Content-Type: text/html;charset=ISO-8859-1
                Cache-Control: must-revalidate,no-cache,no-store
                Content-Length: 1392
          [WARN] 404 - GET /dbilling/sc/messaging?ts=1426315986485&isc_noLog=1&type=connect&connectionID=isc_HiddenFrame_19&subscribedChannels=%7B%0D%20%20%20%20%223EFB044C-EC7A-450C-9FA9-24C32375064B%22%3A%7B%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20isc_DebugMaster%3A%7B%0D%20%20%20%20%7D%0D%7D&eventStream=true (127.0.0.1) 1392 bytes
             Request headers
                Host: 127.0.0.1:8888
                User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
                Accept: text/event-stream
                Accept-Language: en-US,en;q=0.5
                Accept-Encoding: gzip, deflate
                Referer: http://127.0.0.1:8888/dbilling/sc/system/helpers/Log.html
                Cookie: isc_cState=ready; JSESSIONID=2bght42s3he2qj1qibfoxuh3; GLog=%7B%0D%20%20%20%20pageGUID%3A%22CDD25893-658C-4F2C-A622-EF3AF25694E7%22%2C%20%0D%20%20%20%20trackRPC%3Atrue%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20sgwtInternal%3A1%2C%20%0D%20%20%20%20%20%20%20%20Log%3A4%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20left%3A-1543%2C%20%0D%20%20%20%20top%3A-7%2C%20%0D%20%20%20%20width%3A1536%2C%20%0D%20%20%20%20height%3A817%0D%7D
                Connection: keep-alive
                Pragma: no-cache
                Cache-Control: no-cache
             Response headers
                X-Included-Test: true
                Content-Type: text/html;charset=ISO-8859-1
                Cache-Control: must-revalidate,no-cache,no-store
                Content-Length: 1392
          [WARN] 404 - GET /dbilling/sc/messaging?ts=1426315990510&isc_noLog=1&type=connect&connectionID=isc_HiddenFrame_20&subscribedChannels=%7B%0D%20%20%20%20%223EFB044C-EC7A-450C-9FA9-24C32375064B%22%3A%7B%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20isc_DebugMaster%3A%7B%0D%20%20%20%20%7D%0D%7D&eventStream=true (127.0.0.1) 1392 bytes
             Request headers
                Host: 127.0.0.1:8888
                User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
                Accept: text/event-stream
                Accept-Language: en-US,en;q=0.5
                Accept-Encoding: gzip, deflate
                Referer: http://127.0.0.1:8888/dbilling/sc/system/helpers/Log.html
                Cookie: isc_cState=ready; JSESSIONID=2bght42s3he2qj1qibfoxuh3; GLog=%7B%0D%20%20%20%20pageGUID%3A%22CDD25893-658C-4F2C-A622-EF3AF25694E7%22%2C%20%0D%20%20%20%20trackRPC%3Atrue%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20sgwtInternal%3A1%2C%20%0D%20%20%20%20%20%20%20%20Log%3A4%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20left%3A-1543%2C%20%0D%20%20%20%20top%3A-7%2C%20%0D%20%20%20%20width%3A1536%2C%20%0D%20%20%20%20height%3A817%0D%7D
                Connection: keep-alive
                Pragma: no-cache
                Cache-Control: no-cache
             Response headers
                X-Included-Test: true
                Content-Type: text/html;charset=ISO-8859-1
                Cache-Control: must-revalidate,no-cache,no-store
                Content-Length: 1392
          [WARN] 404 - GET /dbilling/sc/messaging?ts=1426315994538&isc_noLog=1&type=connect&connectionID=isc_HiddenFrame_21&subscribedChannels=%7B%0D%20%20%20%20%223EFB044C-EC7A-450C-9FA9-24C32375064B%22%3A%7B%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20isc_DebugMaster%3A%7B%0D%20%20%20%20%7D%0D%7D&eventStream=true (127.0.0.1) 1392 bytes
             Request headers
                Host: 127.0.0.1:8888
                User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
                Accept: text/event-stream
                Accept-Language: en-US,en;q=0.5
                Accept-Encoding: gzip, deflate
                Referer: http://127.0.0.1:8888/diamondbilling/sc/system/helpers/Log.html
                Cookie: isc_cState=ready; JSESSIONID=2bght42s3he2qj1qibfoxuh3; GLog=%7B%0D%20%20%20%20pageGUID%3A%22CDD25893-658C-4F2C-A622-EF3AF25694E7%22%2C%20%0D%20%20%20%20trackRPC%3Atrue%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20sgwtInternal%3A1%2C%20%0D%20%20%20%20%20%20%20%20Log%3A4%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20left%3A-1543%2C%20%0D%20%20%20%20top%3A-7%2C%20%0D%20%20%20%20width%3A1536%2C%20%0D%20%20%20%20height%3A817%0D%7D
                Connection: keep-alive
                Pragma: no-cache
                Cache-Control: no-cache
             Response headers
                X-Included-Test: true
                Content-Type: text/html;charset=ISO-8859-1
                Cache-Control: must-revalidate,no-cache,no-store
                Content-Length: 1392

          Comment


            #6
            We said "This would be expected". That was correct.

            Review the docs at your leisure - no sign of any framework issue here.

            Comment


              #7
              OK, this message stops appearing as soon as I close the Developer Console. But again when i open the Developer console this message again keeps getting printed in my eclipse console.Can somebody help me as this get irritating when I am trying to debug in my eclipse console and this messsage keeps printing. Does anybody else have this issue.

              Comment


                #8
                thanks for your feedback. I looked that the remote debugging doc and there it mentions
                https://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/docs/RemoteDebugging.html

                "To enable remote debugging on a page, just add isc_remoteDebug=true to the page URL. For example:

                http://localhost:8080/?isc_remoteDebug=true"


                But I am not using this feature. I mean I am not entering this in my URL. Am i missing something here??.

                Comment


                  #9
                  When opened, the Developer Console automatically connects to the Messaging Servlet to check if any pages have registered for remote debugging.

                  For this warning to be any kind of nuisance you have to basically ignore best practices in 3 ways:

                  1. Have the Messaging Servlet disabled (it's enabled by default for this purpose)

                  2. Be reopening the Developer Console repeatedly instead of just leaving it open and reloading the page it's attached to

                  3. Have some kind of verbose logging of 404s turned on in Eclipse. These usually aren't worth seeing in the Eclipse console, or should at most be a one-line log that is easy to ignore

                  So this is probably why no one else has complained to date.

                  Comment


                    #10
                    thanks for your feedback. Regarding your this statement

                    1. Have the Messaging Servlet disabled (it's enabled by default for this purpose)


                    where can I disable this. In my server.properties I don't have any messaging. Also I checked in the web.xml in there also I don't see any messaging servlet.

                    Comment


                      #11
                      anybody there to give me a helping hand on how to disable the messaging module which is active by default as mentioned by Isomorphic

                      Comment


                        #12
                        The absence of the Messaging servlet in your web.xml is what disabled it.

                        Look at the web.xml that ships with the SDK, and the necessary declarations are there.

                        Comment


                          #13
                          so when I don't have this messageServlet in my web.xml then why is it showing this message. I have also attached my web.xml. Can you have a look. This messaging warning starts once I have this developer console open from last run as we discussed about it. But my point is when I have disabled this messageServelt in my web.xml then why show.
                          Attached Files

                          Comment


                            #14
                            When opened, the Developer Console automatically connects to the Messaging Servlet to check if any pages have registered for remote debugging.
                            If the Messaging servlet is not registered, will see a 404 Not Found - this means its not there.

                            What we're telling you is to match the default web.xml by *including* the Messaging servlet. You seem to think we indicated it should be removed, we did not say this.

                            If you're still confused, please re-read the previous messages.

                            Comment


                              #15
                              cheers....appreciate your help!!

                              Comment

                              Working...
                              X