Repository: oodt
Updated Branches:
  refs/heads/master f8e7d9569 -> 038fdca69


- fix compilation errors

Project: http://git-wip-us.apache.org/repos/asf/oodt/repo
Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/038fdca6
Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/038fdca6
Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/038fdca6

Branch: refs/heads/master
Commit: 038fdca69310c46c9e4dfc22241a5a97f3e6450c
Parents: f8e7d95
Author: Chris Mattmann <[email protected]>
Authored: Fri Oct 13 23:08:52 2017 -0700
Committer: Chris Mattmann <[email protected]>
Committed: Fri Oct 13 23:08:52 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/oodt/commons/AvroExecServer.java | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oodt/blob/038fdca6/commons/src/main/java/org/apache/oodt/commons/AvroExecServer.java
----------------------------------------------------------------------
diff --git a/commons/src/main/java/org/apache/oodt/commons/AvroExecServer.java 
b/commons/src/main/java/org/apache/oodt/commons/AvroExecServer.java
index 6aa5d40..eb1c786 100644
--- a/commons/src/main/java/org/apache/oodt/commons/AvroExecServer.java
+++ b/commons/src/main/java/org/apache/oodt/commons/AvroExecServer.java
@@ -122,15 +122,15 @@ public class AvroExecServer {
 
         // I should create avro interface to this server
 
-        Responder responder = new GenericResponder() {
+        /*Responder responder = new GenericResponder() {
             @Override
             public Object respond(Protocol.Message message, Object o) throws 
Exception {
 
                 return null;
             }
-        }
-        server =new HttpServer();
-        server.
+        }*/
+       /* server =new HttpServer();
+        server.*/
 
 //        xmlrpcServer = new XmlRpcServer();
 //        xmlrpcServer.addHandler("server", this);
@@ -191,10 +191,7 @@ public class AvroExecServer {
             } catch (IllegalAccessException ex) {
                 System.err.println("Initializer \"" + iname + "\" isn't 
public; aborting");
                 throw new EDAException(ex);
-            } catch (EDAException ex) {
-                System.err.println("Initializer \"" + iname + "\" failed: " + 
ex.getMessage());
-                throw new EDAException(ex);
-            }
+            } 
         }
     }
 
@@ -276,8 +273,6 @@ public class AvroExecServer {
         } catch (SAXException ex) {
             System.err.println("Error " + ex.getClass().getName() + " while 
attempting to parse the configuration"
                     + " file: " + ex.getMessage());
-        } catch (javax.naming.NamingException ex) {
-            System.err.println("Naming/directory error: " + 
ex.getClass().getName() + ": " + ex.getMessage());
         } catch (java.lang.reflect.InvocationTargetException ex) {
             Throwable target = ex.getTargetException();
             System.err.println("Constructor for \"" + className + "\" threw " 
+ target.getClass().getName() + ": "

Reply via email to