7 Replies Latest reply: May 8, 2013 2:23 AM by SathishPuttur RSS

    Oil 5.2:No SCORM API calls in java trace file

    user6676448
      Hi,
      I am running a java trace for SCORM 2004 course. I don't see any SCORM api calls or cmi variables in the java trace (initialize(""), setvalue, getValue etc..). The course is set to tracked and the DEBUG is ON. Is the SCO communicating with the LMS?
      I have tested other SCORM 2004 courses, and they do show api calls in the java trace file.

      Oracle ilearning 5.2; Course: SCORM 2004

      Appreciate your help.

      Sud
        • 1. Re: Oil 5.2:No SCORM API calls in java trace file
          scottymomo
          Does the java log indicate the SCORM 2004 applet was even loaded?

          I would check the page source in the player (player.jsp) to ensure the adapter is being used for this piece of content. Looking at the player.jsp page source when in the player, you should see a variable startingURL that should reference the SCORM 2004 adapter like:

          var startingUrl = "https://ilearning.company.com/Oracle_CMI_Adapter/Oracle_SCORM_2004_Adapter.html?starting_url=https%3A%2F%2Filearning.company.com%2Fimy_content%2Fmy_course.htm&lms_debug=on&LMS_URL=https%3A%2F%2Filearning.company.com%2Filearn%2Fen%2Flearner%2Fjsp%2Flms.jsp";

          If the startingUrl parameter does not contain the scorm 2004 adapter, then the adapter settings at the site level aren't matching the content starting URL.

          Scott
          http://www.seertechsolutions.com
          • 2. Re: Oil 5.2:No SCORM API calls in java trace file
            user6676448
            Hi Scott,
            Yes, the applet loaded. The course is also running, yet there are no SCORM API calls.
            Oracle iLearning SCORM 2004 Applet 5.2.1.0
            Oracle iLearning SCORM 2004 Applet 5.2.1.0

            I have checked the media.jsp file, and it does have the startingUrl with the Oracle_CMI_Adapter/Oracle_SCORM_2004_Adapter.html?

            Thanks
            Sud
            • 3. Re: Oil 5.2:No SCORM API calls in java trace file
              scottymomo
              Sounds like then the content isn't attempting to communicate with the LMS or it's failing, potentially due to a javascript error in finding the API. I'd check the javascript error log/console (depending on browser being used) and see if there are any javascript errors present when launching the content.

              Scott
              http://www.seertechsolutions.com
              • 4. Re: Oil 5.2:No SCORM API calls in java trace file
                user6676448
                Scott,
                I have used Forefox v20, java6 and the firebug for debug purpose. I didn't see any errors in the console. But, I did find some lines in red (errors) under DOM tab. Here is the output.
                -----------------------------
                g_strAPIInitFailed     "Found API but LMSInitialize failed."
                g_strAPINotFound     "Management system interface not found."
                g_strAPISetError     "Trying to set value but API not available."
                g_strAPITooDeep          "Cannot find API - too deeply nested."
                g_strAPIVersion          "cmi._version"
                g_strDisableErrorMsgs     "Select cancel to disable future warnings."
                g_strFSAPIError          "LMS API adapter returned error code: "%1"
                               When FScommand called API.%2
                               with "%3""
                ------------------------------

                Thanks
                Sud
                • 5. Re: Oil 5.2:No SCORM API calls in java trace file
                  scottymomo
                  I'd try setting the content to open in a new window, see if that helps.
                  • 6. Re: Oil 5.2:No SCORM API calls in java trace file
                    user6676448
                    Content is already opening in a new window.

                    Thanks
                    Sud
                    • 7. Re: Oil 5.2:No SCORM API calls in java trace file
                      SathishPuttur
                      Hi,

                      Normally you will get this message when JRE file version and machine file version not matching.

                      Try following
                      1) check java version at content server
                      2) check the local machine java version
                      3) uninstall other version
                      4) install required JRE
                      5) reset default setting of Internet explorer.


                      Sathish

                      Edited by: SathishPuttur on May 7, 2013 7:23 PM