[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Wed Mar 15 21:33:02 UTC 2006


kawas
Wed Mar 15 16:33:02 EST 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority
In directory pub.open-bio.org:/tmp/cvs-serv982/org/biomoby/client/ui/graphical/servlet/lsid/authority

Modified Files:
	MobyAuthority.java 
Log Message:


moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority MobyAuthority.java,1.5,1.6
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority/MobyAuthority.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority/MobyAuthority.java	2006/03/15 16:22:37	1.5
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority/MobyAuthority.java	2006/03/15 21:33:02	1.6
@@ -124,6 +124,7 @@
 					properties.setProperty("lsid_domain", LSID_SERVER);
 				}
 			} catch (Exception ex) {
+				System.err.println(ex.getLocalizedMessage());
 			}
 
 			try {
@@ -132,9 +133,39 @@
 					properties.setProperty("lsid_port", LSID_PORT);
 				}
 			} catch (Exception ex) {
+				System.err.println(ex.getLocalizedMessage());
 			}
+			try {
+				String CONFIG = (String) c.lookup("java:comp/env/MOBY_CENTRAL_CONFIG");
+				if (CONFIG != null && !CONFIG.equals("")) {
+					System.setProperty("MOBY_CENTRAL_CONFIG", CONFIG);
+					properties.setProperty("MOBY_CENTRAL_CONFIG", CONFIG);
+				}
+			} catch (Exception ex) {
+				System.err.println(ex.getLocalizedMessage());
+			}
+			try {
+				String CONFIG = (String) c.lookup("java:comp/env/MOBY_SERVER");
+				if (CONFIG != null && !CONFIG.equals("")) {
+					properties.setProperty("MOBY_SERVER", CONFIG);
+					System.setProperty("MOBY_SERVER", CONFIG);
+				}
+			} catch (Exception ex) {
+				System.err.println(ex.getLocalizedMessage());
+			}
+			try {
+				String CONFIG = (String) c.lookup("java:comp/env/MOBY_URI");
+				if (CONFIG != null && !CONFIG.equals("")) {
+					System.setProperty("MOBY_URI", CONFIG);
+					properties.setProperty("MOBY_URI", CONFIG);
+				}
+			} catch (Exception ex) {
+				System.err.println(ex.getLocalizedMessage());
+			}
+			
 
 		} catch (Exception e) {
+			System.err.println(e.getLocalizedMessage());
 		}
 	}
 }
\ No newline at end of file




More information about the MOBY-guts mailing list