[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/25866] rmi - UnicastRemoteObject.exportObject() broken
From: |
audriusa at bluewin dot ch |
Subject: |
[Bug classpath/25866] rmi - UnicastRemoteObject.exportObject() broken |
Date: |
16 Feb 2006 08:09:21 -0000 |
------- Comment #1 from audriusa at bluewin dot ch 2006-02-16 08:09 -------
I will start working on this. When possible, please provide the test case
(upload zipped if consists of multiple files). Without knowing that and why are
you doing it is difficult to suggest workaround, but I wonder, why do not you
use something like
/**
* Return the remote database, connected to the given remote server.
*
* @param the address of the remote machine, where the database server is
* running.
*
* @return the connected remote database object or null if the connection
* failed.
*/
public static RemoteDataBase connect(String url) throws Exception {
try {
RemoteDataBase client = new RemoteDataBase();
Registry r = LocateRegistry.getRegistry(url, Server.RMI_REGISTRY_PORT);
client.remoteServer =
(DBMainRmi) r.lookup(Server.DATABASE_SERVER_NAME);
return client;
}
catch (Exception ex) {
return null;
}
}
--
audriusa at bluewin dot ch changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |audriusa at bluewin dot ch
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-02-16 08:09:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25866
- [Bug classpath/25866] rmi - UnicastRemoteObject.exportObject() broken,
audriusa at bluewin dot ch <=