Patches item #449214, was opened at 2001-08-08 10:34 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376687&aid=449214&group_id=22866 Category: JBossServer Group: v2.5 Rabbit Hole (unstable) Status: Open Resolution: None Priority: 5 Submitted By: Stewart Allen (mrallen) Assigned to: Nobody/Anonymous (nobody) Summary: allow running from arbitrary root Initial Comment: this patch touches two files: jboss/src/main/org/jboss/Main.java jboss/src/main/org/jboss/util/Shutdown.java in Main it removes the dependence for starting from within the $JBOSS/bin directory. this is required for embedding JBoss in another product. in Shutdown, it adds the shutdown hook and keeps a reference to the thread. when shutdown is called from within JBoss, it runs the thread directly instead of calling System.exit(). if the program is terminated externally (Ctrl-C) then the hook is called by the VM. this is another requirement for embedding since calling System.exit() is Bad(TM). ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376687&aid=449214&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
