Author: degenaro
Date: Wed Nov 11 22:38:33 2015
New Revision: 1713941

URL: http://svn.apache.org/viewvc?rev=1713941&view=rev
Log:
UIMA-4577 DUCC Database (DB) post-install should first create state directory 
then initialize DB

Modified:
    uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install

Modified: uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install
URL: 
http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install?rev=1713941&r1=1713940&r2=1713941&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install (original)
+++ uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install Wed Nov 11 
22:38:33 2015
@@ -414,9 +414,6 @@ class PostInstall():
         # insure java is configured and installed
         self.java_bindir = self.get_java_bindir()
 
-        # configure the database for local system and initialize the schema
-        self.configure_database()
-
         # As of DUCC 2.0, always set here on installation
         print 'ActiveMQ is automanaged on node ', self.localhost
 
@@ -433,6 +430,9 @@ class PostInstall():
         if ( not os.path.exists(historydir) ):
             os.mkdir(historydir)
 
+        # configure the database for local system and initialize the schema
+        self.configure_database()
+
         self.keytool = self.get_java_keytool(self.java_bindir)
         print 'Java version:', self.get_java_version()
         print 'Java is verified.'


Reply via email to