equal
deleted
inserted
replaced
251 Naming.rebind(name, this); |
251 Naming.rebind(name, this); |
252 System.out.println("Bridge RMI bound to " + name); |
252 System.out.println("Bridge RMI bound to " + name); |
253 } catch (java.rmi.ConnectException e) { |
253 } catch (java.rmi.ConnectException e) { |
254 System.err.println("failed to contact as " + name + " (creating RMI-Server on localhost: 1099)"); |
254 System.err.println("failed to contact as " + name + " (creating RMI-Server on localhost: 1099)"); |
255 try { |
255 try { |
256 LocateRegistry.createRegistry(1099); |
256 LocateRegistry.createRegistry(1097); |
|
257 // LocateRegistry.createRegistry(1099); |
257 } catch (java.rmi.RemoteException exc2) { |
258 } catch (java.rmi.RemoteException exc2) { |
258 System.err.println("can not create registry: " + exc2.getMessage()); |
259 System.err.println("can not create registry: " + exc2.getMessage()); |
259 System.exit(1); |
260 System.exit(1); |
260 } |
261 } |
261 rmiBind(); |
262 rmiBind(); |