Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Distributed Activatable Servers

0 views
Skip to first unread message

nm...@my-deja.com

unread,
Dec 10, 1999, 3:00:00 AM12/10/99
to
Hi,

I am assuming that I can run an activatable set-up program on
machine A, which defines an ActivatableDesc which refers to a
codebase on machine B. I'm assuming that I can have a kind of front end
server which passes lookup references to activatable servers back to
any requesting clients. These clients then contact ( and activate ) the
server designed to deal with their requests. It seems like you should
be able to distribute your activatable servers.

However, despite my efforts, when the location of the ActivatableDesc
is not 'localhost' I get the error shown below. I'm convinced that the
location/URL is correct.

Attempting to initialise front-end server.....
java.rmi.StubNotFoundException: unable to load class:
SmartServer.NewFrontEndServer; nested exception is:
java.net.MalformedURLException: no protocol:
//anothermachine:/homedir/sidney/RMIServer/
java.net.MalformedURLException: no protocol:
//anothermachine:/homedir/sidney/RMIServer/
at java.net.URL.<init>(URL.java:490)
at java.net.URL.<init>(URL.java:364)
at java.net.URL.<init>(URL.java:308)
at sun.rmi.server.LoaderHandler.pathToURLs
(LoaderHandler.java:314)
at sun.rmi.server.LoaderHandler.loadClass
(LoaderHandler.java:117)
at java.rmi.server.RMIClassLoader.loadClass
(RMIClassLoader.java:97)
at sun.rmi.server.ActivatableRef.getStub(ActivatableRef.java:71)
at java.rmi.activation.Activatable.register
(Activatable.java:222)
at SmartServer.RSOInitialiser.initialise(RSOInitialiser.java:48)
at SmartServer.RSOInitialiser.main(RSOInitialiser.java:16)


Sent via Deja.com http://www.deja.com/
Before you buy.

0 new messages