avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mati" <m...@ncdc.pl>
Subject Re: Cornerstone questions
Date Fri, 22 Nov 2002 17:58:57 GMT
Hi


I am trying to set up alt-rmi to work but i get following exception on
client side

org.apache.excalibur.altrmi.common.AltrmiConnectionException: Class
Retrieval Failed - This AltRMI server does not support class forwarding

AltrmiHostContext arhc = new SocketObjectStreamHostContext("127.0.0.1",
2001);
ServerClassAltrmiFactory af = new ServerClassAltrmiFactory( false );
af.setHostContext( arhc );


String[] list = af.list();
for (int i=0; i<list.length; i++) System.out.println(list[i]);
Object o = af.lookup("ModelRepository");
af.close();


--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message