falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srik...@apache.org
Subject [3/4] git commit: FALCON-52 Main module configured used with jetty:run has issues with app start. Contributed by Srikanth Sundarrajan
Date Sat, 20 Jul 2013 18:35:34 GMT
FALCON-52 Main module configured used with jetty:run has issues with app start. Contributed
by Srikanth Sundarrajan


Project: http://git-wip-us.apache.org/repos/asf/incubator-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-falcon/commit/c823ce17
Tree: http://git-wip-us.apache.org/repos/asf/incubator-falcon/tree/c823ce17
Diff: http://git-wip-us.apache.org/repos/asf/incubator-falcon/diff/c823ce17

Branch: refs/heads/v0.3
Commit: c823ce1756b4da87c118f0631c76a8ce9dc35a54
Parents: 49baa28
Author: srikanth.sundarrajan <srikanth.sundarrajan@inmobi.com>
Authored: Sat Jul 20 23:48:36 2013 +0530
Committer: srikanth.sundarrajan <srikanth.sundarrajan@inmobi.com>
Committed: Sat Jul 20 23:48:36 2013 +0530

----------------------------------------------------------------------
 CHANGES.txt                                      | 3 +++
 webapp/src/main/java/org/apache/falcon/Main.java | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/c823ce17/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 5ba3339..4c655c8 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -8,6 +8,9 @@ Release Version: 0.3
 
   IMPROVEMENTS
 
+    FALCON-52 Main module configured used with jetty:run has issues with app 
+    start. (Srikanth Sundarrajan)
+
     FALCON-30 Enable embedding pig scripts directly in a process. (Venkatesh
     Seetharam via Srikanth Sundarrajan)
 

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/c823ce17/webapp/src/main/java/org/apache/falcon/Main.java
----------------------------------------------------------------------
diff --git a/webapp/src/main/java/org/apache/falcon/Main.java b/webapp/src/main/java/org/apache/falcon/Main.java
index 9a296a0..9eb9e8a 100644
--- a/webapp/src/main/java/org/apache/falcon/Main.java
+++ b/webapp/src/main/java/org/apache/falcon/Main.java
@@ -45,14 +45,14 @@ public final class Main {
             appPath = args[0];
             dataDir = System.getProperty("activemq.base") + "/data";
         }
-        EmbeddedServer server = new EmbeddedServer(15000, appPath);
-        server.start();
-
         BrokerService broker = new BrokerService();
         broker.setUseJmx(false);
         broker.setDataDirectory(dataDir);
         broker.addConnector("vm://localhost");
         broker.addConnector("tcp://localhost:61616");
         broker.start();
+
+        EmbeddedServer server = new EmbeddedServer(15000, appPath);
+        server.start();
     }
 }


Mime
View raw message