Netscape 7.02 + LiveConnect problems

fulat2k

Registered
Hi folks,

I've been trying to get a Java applet which uses LiveConnect for Java-JavaScript calls to work with Netscape 7.02 + Java 1.3/1.4 on both OSX 10.2 and 10.3 with very strange results.

Upon the loading the site the first time via HTTPS, the applet loads properly. But when JavaScript tries to access the applet, it simply dies. I'll have to reload the page and retry. The 2nd time I submit the page, everything works fine. Applet is called properly and everything is fine. Additionally, the following stack trace is displayed in the Java console:

Code:
<<< ProxyClassLoader: defined LiveConnectProxy class. >>>
<<< Here're the permisssions you've got: >>>
<<< java.security.Permissions@2cfd62 (
 (java.util.PropertyPermission java.vendor read)
 (java.util.PropertyPermission java.specification.version read)
 (java.util.PropertyPermission com.apple.macos.useScreenMenuBar read,write)
 (java.util.PropertyPermission line.separator read)
 (java.util.PropertyPermission java.class.version read)
 (java.util.PropertyPermission mrj.version read)
 (java.util.PropertyPermission java.specification.name read)
 (java.util.PropertyPermission java.vendor.url read)
 (java.util.PropertyPermission java.vm.version read)
 (java.util.PropertyPermission os.name read)
 (java.util.PropertyPermission os.arch read)
 (java.util.PropertyPermission os.version read)
 (java.util.PropertyPermission java.version read)
 (java.util.PropertyPermission java.vm.specification.version read)
 (java.util.PropertyPermission java.vm.specification.name read)
 (java.util.PropertyPermission java.specification.vendor read)
 (java.util.PropertyPermission java.vm.vendor read)
 (java.util.PropertyPermission file.separator read)
 (java.util.PropertyPermission path.separator read)
 (java.util.PropertyPermission com.apple.hwaccel read,write)
 (java.util.PropertyPermission java.vm.name read)
 (java.util.PropertyPermission java.vm.specification.vendor read)
 (java.net.SocketPermission 192.168.0.3 connect,accept,resolve)
 (java.net.SocketPermission localhost:1024- listen,resolve)
 (java.lang.RuntimePermission stopThread)
 (java.lang.RuntimePermission accessClassInPackage.sun.audio)
)
 >>>

So it all boils down to this: if the stack trace is displayed, then things are ok; if it's not, it means to say that the applet is not called properly.

Anyone has any ideas what's wrong?


Thanks!
 
Back
Top