public void starting() throws ServerException {
        if (log.isDebugEnabled())
            log.debug("Method call");
        ServerSocket s = null;
        try {
            s = new ServerSocket(readProp());
            while (true) {
                Socket socket = s.accept();
                try {
                    serverViewThread = new ServerViewThread(socket, controller, model);
                }
                catch (IOException e) {
                    socket.close();
                }
            }
        } catch (IOException e) {
            log.error("Error", e);
            ServerException ex = new ServerException (e);
            throw ex;
        } finally {
            try {
                if (s != null)
                s.close();
            } catch (IOException e) {
                log.error("Error", e);
                ServerException ex = new ServerException (e);
                throw ex;
            }
        }
    }