Einzelnen Beitrag anzeigen
Alt 25.05.2006, 11:12   #2
jak
Inventar
 
Registriert seit: 13.06.2001
Beiträge: 1.830


Standard

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)
jak ist offline   Mit Zitat antworten