[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Tue Jul 19 15:28:28 UTC 2005


kawas
Tue Jul 19 11:28:28 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms
In directory pub.open-bio.org:/tmp/cvs-serv20365/org/biomoby/client/ui/graphical/servlet/forms

Modified Files:
	GetSignatureRDFResponse.java GetSignatureRDFForm.java 
Log Message:
changed the mobycentral registry to become the new one. Eddie

moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms GetSignatureRDFResponse.java,1.2,1.3 GetSignatureRDFForm.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFResponse.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFResponse.java	2005/04/07 21:02:01	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFResponse.java	2005/07/19 15:28:28	1.3
@@ -47,7 +47,7 @@
             + "<h1>Unable to update your information</h1>\r\n"
             + "<blockquote>\r\n"
             + "	<h3>Make sure that you specify a valid signature url! This field looks like the following: http://myAuthority.domain/path/to/rdf/for/service. Also make sure that you have specified the right case-sensitive service name, if applicable.</h3>\r\n"
-            + "	<p><a href=\"http://mobycentral.cbr.nrc.ca:8090/servlets/forms/getSignatureForm\" target=\"_self\"><strong>Back</strong></a></p>\r\n"
+            + "	<p><a href=\"http://mobycentral.icapture.ubc.ca:8090/servlets/forms/getSignatureForm\" target=\"_self\"><strong>Back</strong></a></p>\r\n"
             + "</blockquote>\r\n" + "</body>\r\n" + "</html>";
 
     protected void doGet(HttpServletRequest request,
@@ -100,10 +100,10 @@
 
         if (name.equals("")) {
             System.out.println("empty name");
-            con = "http://mobycentral.cbr.nrc.ca/cgi-bin/updateSignatureURL.cgi?authURI="
+            con = "http://mobycentral.icapture.ubc.ca/cgi-bin/updateSignatureURL.cgi?authURI="
                     + domain + "&URL=" + sigURL;
         } else {
-            con = "http://mobycentral.cbr.nrc.ca/cgi-bin/updateSignatureURL.cgi?authURI="
+            con = "http://mobycentral.icapture.ubc.ca/cgi-bin/updateSignatureURL.cgi?authURI="
                     + domain + "&URL=" + sigURL + "&serviceName=" + name;
         }
         URL url = new URL(con);

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFForm.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFForm.java	2005/04/07 21:02:01	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFForm.java	2005/07/19 15:28:28	1.3
@@ -34,7 +34,7 @@
     // some useful variables
     private final String newline = System.getProperty("line.separator");
 
-    private static final String DOMAIN = "mobycentral.cbr.nrc.ca:8090";
+    private static final String DOMAIN = "mobycentral.icapture.ubc.ca:8090";
 
     /* (non-Javadoc)
      * @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
@@ -169,6 +169,7 @@
             central = new CentralImpl();
             domains = central.getProviders();
         } catch (MobyException e) {
+        	e.printStackTrace();
             return;
         }
         // sort the array




More information about the MOBY-guts mailing list