[sword-cvs] sword/bindings/corba/java/src/org/crosswire/sword/orb SwordOrb.java,1.8,1.9
sword@www.crosswire.org
sword@www.crosswire.org
Wed, 17 Sep 2003 15:41:09 -0700
Update of /usr/local/cvsroot/sword/bindings/corba/java/src/org/crosswire/sword/orb
In directory www:/tmp/cvs-serv19972/src/org/crosswire/sword/orb
Modified Files:
SwordOrb.java
Log Message:
Added back in the code to kill the session orb when the session goes out of scope.
Index: SwordOrb.java
===================================================================
RCS file: /usr/local/cvsroot/sword/bindings/corba/java/src/org/crosswire/sword/orb/SwordOrb.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- SwordOrb.java 31 Aug 2003 01:58:13 -0000 1.8
+++ SwordOrb.java 17 Sep 2003 22:41:07 -0000 1.9
@@ -54,10 +54,11 @@
public void valueUnbound(HttpSessionBindingEvent httpSessionBindingEvent) {
try {
- throw new Exception("value unbound; showing stacktrace");
-// getSWMgrInstance().terminate();
+// throw new Exception("value unbound; showing stacktrace");
+ getSWMgrInstance().terminate();
}
- catch (Exception e) {e.printStackTrace();} // we know this doesn't return property cuz we killed the orb! :)
+ catch (Exception e) {} // we know this doesn't return properly cuz we killed the orb! :)
+// catch (Exception e) {e.printStackTrace();} // we know this doesn't return properly cuz we killed the orb! :)
}