I am having serious problems with `java.rmi.server.codebase'
I discovered that JDK1.1 does not allow *.jar or mutliple
directories. These are new features only in JDK 1.2 !!!!! ARRRGHH!!!
So I tried to the HelloWorld example to try 
isolate the problems I am having.

I download the RMI Example and tried to run the Hello World applet
and got the following exception. If I go to AppletViewer's 
properties dilalog and switch the network access to unrestricted.
The applet works as expected.

Cpilgpe@poppy [74] > appletviewer http://localhost:9090/~pilgpe/hello.html
Trying to connect to `//localhost/HelloServer'
HelloApplet exception: checkconnect.networkhost1
sun.applet.AppletSecurityException: checkconnect.networkhost1
        at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:576)
        at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:618)
        at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:518)
        at
sun.rmi.transport.proxy.AsyncConnector.<init>(RMIMasterSocketFactory.java:320)
        at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
        at sun.rmi.transport.tcp.TCPChannel.openSocket(TCPChannel.java:253)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:125)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:67)
        at sun.rmi.transport.DGCImpl_Stub.dirty(DGCImpl_Stub.java:55)
        at sun.rmi.transport.DGCClient.referenced(DGCClient.java:237)
        at
sun.rmi.transport.ConnectionInputStream.registerRefs(ConnectionInputStream.java:101)
        at
sun.rmi.transport.StreamRemoteCall.releaseInputStream(StreamRemoteCall.java:137)
        at sun.rmi.transport.StreamRemoteCall.done(StreamRemoteCall.java:244)
        at sun.rmi.server.UnicastRef.done(UnicastRef.java:161)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:113)
        at java.rmi.Naming.lookup(Naming.java:53)
        at examples.hello.HelloApplet.init(HelloApplet.java:21)
        at sun.applet.AppletPanel.run(AppletPanel.java:281)
        at java.lang.Thread.run(Thread.java)


Any help greatly appreciated.

TIA

-- 

Adios
Peter

-----------------------------------------------------------------
import std.Disclaimer;          // More Java for your Lava, Mate.
"Give the man, what he wants. £££" [on Roy Keane, Quality Player]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to