Yeah, it really sounds as if your issue is not even BB directly, but
rather the fact that the RTE is taking a long time to load up and thus
initialize the API object.
This is a really really really long shot, try and see if these
settings in Java correct anything.
Control Panel -> Java -> Advanced tab -> Default Java for browsers
Make sure it is checked for "Mozilla family"
Control Panel -> Java -> Advanced tab -> Java Plug-in
Uncheck "Enable the next-generation Java Plug-in"
Aside from these options, the only other option I can even come up
with is to force the Java RTE to initialize as soon as you can by
calling some dummy applet right off on the first page.
Hope something here helps.
Charles P.
On Nov 3, 11:39 am, Ryan Meyer <
ryan.e.me...@gmail.com> wrote:
> Ted,
> Fiddler wouldn't show anything useful in this case. The call never even
> makes it to the applet, so no communication occurs. I haven't looked much at
> the Java console yet, but it might show something useful. I'll give it a
> shot today.
>
> This issue does *not* occur with IE, only Firefox (running 3.0.15 on Windows
> XP and Mac.) Firefox on Windows was able to be fixed by automatically
> reloading the window when I detect the "LMSInitialize is not a function"
> javascript error. Apparently, the Java Runtime has had a chance to "warm up"
> so the applet initializes before I make the first call on it. If i reload
> the page, or exit and come back quickly, it seems to work fine. But if I
> wait for a while (maybe a minute or two) before accessing the page again, it
> fails on the first attempt.
>
> On Firefox on Mac, it seems like it very rarely works even when I reload the
> page, or retry the call several times in a row after a 1-second delay. Or a
> combination of both.
>
> And on Safari on Mac, the course won't even launch due to Javascript issues
> in Blackboard's Open Standards Content Player!
>
> Here are some links describing the Javascript->Java issue in Firefox.
> Unfortunately, no good solutions:
http://www.velocityreviews.com/forums/t369914-java-js-applet-communic...http://support.mozilla.com/tiki-view_forum_thread.php?comments_offset...http://stackoverflow.com/questions/1536814/java-error-in-firefox-myap...http://userscripts.org/topics/34108
>
> Thanks,
> Ryan
>
>
>
> On Tue, Nov 3, 2009 at 10:56 AM, Ted Powers <
pow...@gmail.com> wrote:
> > Ryan,
> > I would try running the java console along with a network sniffer like
> > Fiddler2 while launching the course.
> > This may help us determine the timing of the applet being loaded and the
> > when the course is firing off the init.
> > It will also tell us if there is anything happening to the applet and to
> > see what kind of responses you are sending and receiving.
>
> > Does this same issue occur with IE? is your Firefox running on Vista or XP
> > or 7 or something else?
> > What version of Java do you have on your machine?
> > You can also make sure you are using the correct version of java by using:
> > about:plugins <
http://kb.mozillazine.org/About:plugins> to determin if the
> > correct plugin for java is being used.
>
> > Here is another site i found regarding java and firefox. it might be
> > helpful to you in figurig out what is happening to the applet.
>
> >
http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Java_not_work...
>
> > Ted
>
> > On Tue, Nov 3, 2009 at 9:16 AM, Ryan Meyer <
ryan.e.me...@gmail.com> wrote:
>
> >> Charles,
> >> Thanks for the help. Yes, this is all occuring onLoad. (Actually, it's in
> >> a separate page that pops up from the SCO, so it's delayed even further.)
> >> And yes, the SCORM calls are all wrapped with condition checks. The problem
> >> is that the initial calls to load in stored bookmark, etc. were assuming
> >> that LMSInitialize("") returned right away. I've changed them to wait until
> >> that call returns (which can take up to 10 seconds in Firefox). However, the
> >> issue with the LMSInitialize("") function not even being accessible on the
> >> applet is even nastier. It looks like a bug with Firefox and applets. When
> >> it occurs, the Javascript applet object is permanently messed up - the
> >> exposed functions are *never* made available. The page has to be reloaded so
> >> it can try again.
>
> >> Sounds like no one else has run into this problem. I can't see what I'm
> >> doing "out of the ordinary" though to cause any abnormal behavior. Anyway,
> >> sorry to have hijacked the thread!
>
> >> Thanks guys,
> >> Ryan
>
> >> On Tue, Nov 3, 2009 at 1:35 AM, Charles Parcell <
pokemonkil...@gmail.com>wrote:
>
> >>> Typically you will want to wait till the page has loaded before making
> >>> LMS calls. Are you executing your JS call to initialize in a function
> >>> triggered by onLoad? Or are you placing it in a header script of the HTML
> >>> page?
>
> >>> You may also want to consider (if you are not already) wrapping your
> >>> SCORM calls within conditions that make sure the API was found.
>
> >>> For example, the pipwerks API wraps the LMSInitialize call within 2
> >>> conditions. The first checks to make sure that the API was found. The second
> >>> makes sure there is a handle to that API.
>
> >>> Charles P.
>
> >>> On Mon, Nov 2, 2009 at 10:11 PM, Ryan Meyer <
ryan.e.me...@gmail.com>wrote:
>
> >>>> I'm targeting SCORM 1.2. The server versions are 8.x and 9.x (not sure
> >>>> of the exact sub-versions, but I could get them if it would help.)
>
> >>>> On Mon, Nov 2, 2009 at 9:29 PM, Charles Parcell <
> >>>>
pokemonkil...@gmail.com> wrote:
>
> >>>>> What version of BB is the server running? Which SCORM version are you
> >>>>> targeting?
>
> >>>>> Not at all the same situation but I found my issue because I was
> >>>>> debugging and the my code broke at the Initialize function call. It said the
> >>>>> method was not supported. That is when I realized that even though it had
> >>>>> found the SCORM 2004 handle, the BB SCORM player didn't know what the SCORM
> >>>>> 2004 method Initialize() was.
>
> >>>>> Charles P.
>