Rajesh Patel <[EMAIL PROTECTED]>@lads.is.lmco.com on 28.06.2000
17:00:45

Please respond to "rpatel"@lads.is.lmco.com

Sent by:  [EMAIL PROTECTED]


To:   java-linux Mailing List <[EMAIL PROTECTED]>
cc:

Subject:  RMI and netscape


Hi all,
            I am dealing with security issues with netscape and plugins
for linux.  I am running RMI server application on my http server and
trying to run applet which connect to the RMI server and server passes
some information back to applet.
Things works fine if i use appletviewer but not with netscape!
I installed java plugins for jdk1.2 from blackdown.  Applet throws
netscape Security Exception on browser's java console as follows,

Netscape Communications Corporation -- Java 1.1.5
Type '?' for options.
Exporting the Applet
Looking up TimeService at: rmi://black.lads.is.lmco.com:10005/TimeServer

netscape.security.AppletSecurityException: security.Couldn't connect to
'158.186.60.220' with origin from 'local-classpath-classes'.
  at
netscape.security.AppletSecurity.checkConnect(AppletSecurity.java:776)
  at
netscape.security.AppletSecurity.checkAccept(AppletSecurity.java:760)
  at java.lang.SecurityManager.checkAccept(SecurityManager.java:839)
  at java.net.ServerSocket.implAccept(ServerSocket.java:246)
* at java.net.ServerSocket.accept(ServerSocket.java:224)
  at
sun.rmi.transport.proxy.HttpAwareServerSocket.accept(HttpAwareServerSocket.java:77)


  at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:394)
  at java.lang.Thread.run(Thread.java:504)
We have been registered!

Any response would be appreciated!
Thanks,

-Raj


Hello,

I seem the problem is that netscape don't use the plugin, but the intergrated JVM of 
Netscape.

When you will use the plugin your HTML page must look like the attachment

All messages from the Applet are written to Plugin console, please activate the console
in ~/.netscape/java/ControlPanel.html

Sven Daumann



(See attached file: applet.html)

Title: AppletTest

AppletTest

alt="Your browser understands the &lt;APPLET&gt; tag but isn't running the applet, for some reason." Your browser is completely ignoring the &lt;APPLET&gt; tag!

Reply via email to