Probier mal ein bischen mehr darüber herauszufinden was für ein Fehler auftritt:
Code:
private boolean connect(String host){
//System.setSecurityManager(new RMISecurityManager());
try {
server = (SpielInterface)Naming.lookup("//localhost/SchifferlVersenken");
return true;
}
catch (Exception e) {
System.err.println("Fehler: " + e.getMessage());
System.err.println(e.getClass().getName());
e.printStackTrace();
return false;
}
____________________________________
Join the DNRC |
Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)