1.1 --- a/src/java-tests/isac/util/users/TestUser.java Wed May 14 12:22:45 2008 +0200
1.2 +++ b/src/java-tests/isac/util/users/TestUser.java Thu May 15 09:20:31 2008 +0200
1.3 @@ -55,7 +55,7 @@
1.4
1.5 user_manager.login("x", "x");
1.6
1.7 - // here TestAll may fail, if not the WHOLE system has been restarted
1.8 + // here TestAll FAILS, if not the WHOLE system has been restarted
1.9 // for running the tests.
1.10 user = user_manager.getUser("0");
1.11
2.1 --- a/src/java/isac/browserdialog/BrowserDialog.java Wed May 14 12:22:45 2008 +0200
2.2 +++ b/src/java/isac/browserdialog/BrowserDialog.java Thu May 15 09:20:31 2008 +0200
2.3 @@ -198,11 +198,13 @@
2.4 */
2.5 public void registerBrowserFrame(IToGUI browser_frame)
2.6 throws RemoteException {
2.7 + System.out.println("registerBrowserFrame init");
2.8 browser_frame_rmi_ = browser_frame;
2.9
2.10 UIActionOnHierarchy ui_action_on_hierarchy = new UIActionOnHierarchy(
2.11 EUIElement.UI_BROWSER_HIERARCHY,
2.12 EUIContext.UI_CONTEXT_HIERARCHY, user_language_, hierarchy_);
2.13 + System.out.println("registerBrowserFrame after 'new UIActionOnHierarchy'");
2.14 try {
2.15 browser_frame_rmi_.doUIAction(ui_action_on_hierarchy);
2.16 } catch (RemoteException e) {
3.1 --- a/src/java/isac/gui/WindowApplication.java Wed May 14 12:22:45 2008 +0200
3.2 +++ b/src/java/isac/gui/WindowApplication.java Thu May 15 09:20:31 2008 +0200
3.3 @@ -164,12 +164,24 @@
3.4 logger.info("WA->UM: login");
3.5 try {
3.6 current_session_ = user_manager_.login(username, password);
3.7 - System.out.println("Login success");
3.8 + System.out.println("Login success, starting 'current_session_."
3.9 + + "registerBrowserFrame((IToGUI) this);'");
3.10 + System.out
3.11 + .println("?Error?: if the system stops here some minutes, ");
3.12 + System.out
3.13 + .println("this is because the ObjectManager cannot connect");
3.14 + System.out.println("back to the WindowApplication via javaRMI");
3.15 + System.out.println("Solution: WindowApplication and ObjectManager "
3.16 + + "MUST RUN WITHIN THE SAME SUB-NET !");
3.17 current_session_.registerBrowserFrame((IToGUI) this);
3.18 + System.out.println("NO Error: registerBrowserFrame success");
3.19 } catch (RemoteException e) {
3.20 System.err
3.21 .println("PANIC RK isac.gui.Windowapplication#login(String,String)");
3.22 System.err.println("login exception: " + e.getMessage());
3.23 + System.err
3.24 + .println("Error detection: compare the IPs of the error above "
3.25 + + "with the IPs of WindowApplication and ObjectManager.");
3.26 if (logger.isDebugEnabled())
3.27 logger.error("login", e.detail);
3.28 }
3.29 @@ -642,8 +654,8 @@
3.30 }
3.31
3.32 /**
3.33 - * handles the user-action clicking X to close WindowApplication.
3.34 - * WN071011 copied from http://mindprod.com/jgloss/close.html
3.35 + * handles the user-action clicking X to close WindowApplication. WN071011
3.36 + * copied from http://mindprod.com/jgloss/close.html
3.37 */
3.38 static WindowListener windowListener = new WindowAdapter() {
3.39 // anonymous WindowAdapter class