By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,448 Members | 877 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,448 IT Pros & Developers. It's quick & easy.

Liveconnect - init problem

P: n/a
Hi all,

The facts : a rich text editing applet, a HTML/Javascript toolbar and
Liveconnect to make them communicate alltogether.
- Java to JS communication (for updating the state of the toolbar -
text align, style, color) is OK
- JS to Java communication (for changing text align, style, color)
doesn't work as expected :

* Under Firefox, the first call of a Java method is DAMN SLOW (near 20
minutes !). The following calls are OK (1 to 2 seconds). Here is the
output of the Java console (the following message is displayed more
than a thousand times) :

liveconnect: javascript: calling Java system code
liveconnect: javascript: default security policy = file://

* Here is the output of the Java console under Opera :

com.opera.OriginNotAllowedException: LiveConnect origin check failed
for JavaScript trying to access Java object,
com.opera.LiveConnectPrivilegedActions.originCheck (


at :379)

* Under IE and Konqueror, it seems OK

Thank you for your answers

Jun 21 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a

Alexandre Lahure wrote:

* Under Firefox, the first call of a Java method is DAMN SLOW (near 20
minutes !).

Starting up the Java VM is damn slow (but certainly takes rather 20
seconds maybe, not 20 minutes). Although if you have an applet on the
page then it should already have started the Java VM.


Martin Honnen
Jun 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.