OODT-923 fix start script for SOLR

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

Branch: refs/heads/avrorpc
Commit: 4b61d06fc877900ee76f071c1e1d6a4675c2daf4
Parents: acaab48
Author: Tom Barber <[email protected]>
Authored: Tue Feb 9 22:12:54 2016 +0000
Committer: Tom Barber <[email protected]>
Committed: Tue Feb 9 22:12:54 2016 +0000

----------------------------------------------------------------------
 CHANGES.txt                                                      | 2 ++
 .../archetype-resources/distribution/src/main/resources/bin/oodt | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oodt/blob/4b61d06f/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index bbb551a..311b75a 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -4,6 +4,8 @@ Release 0.12 - Under development
 
 * OODT-781 Add missing XMLRPC endpoint for remove hashtable. (magicaltrout)
 
+* OODT-923 Fix start script for solr deployments (magicaltrout)
+
 Release 0.11 - 12/29/2015
 
 * OODT-918 - Created a prerequisite workflow condition for DRAT (Karanjeet

http://git-wip-us.apache.org/repos/asf/oodt/blob/4b61d06f/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/oodt
----------------------------------------------------------------------
diff --git 
a/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/oodt
 
b/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/oodt
index 6648bc7..3cd4e58 100755
--- 
a/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/oodt
+++ 
b/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/oodt
@@ -98,8 +98,10 @@ fi
 if [ "$1" = "start" ]; then
   exec "$FILEMGR_HOME"/bin/"$FILEMGR_EXEC" start "$@" >> "$OODT_OUT" 2>&1  &
   exec "$WORKFLOW_HOME"/bin/"$WORKFLOW_EXEC" start "$@" >> "$OODT_OUT" 2>&1  &
-  exec "$RESMGR_HOME"/bin/"$RESMGR_EXEC" start "$@" >> "$OODT_OUT" 2>&1  &  
+  exec "$RESMGR_HOME"/bin/"$RESMGR_EXEC" start "$@" >> "$OODT_OUT" 2>&1  &
+  cd  "$OODT_BASE"/tomcat
   exec "$OODT_BASE"/tomcat/bin/"$TOMCAT_EXEC" start "$@" >> "$OODT_OUT" 2>&1 &
+  cd "$OODT_BASE"
   sleep 0.2s
 # Print confirmation messages to the end user
 # FileManager

Reply via email to