diff --git a/crawler/src/main/resources/bin/crawlctl b/crawler/src/main/resources/bin/crawlctl index ac99407..95ce271 100644 --- a/crawler/src/main/resources/bin/crawlctl +++ b/crawler/src/main/resources/bin/crawlctl @@ -15,4 +15,4 @@ # under the License. ########################################################################## -java -Djava.util.logging.config.file=../etc/logging.properties -Djava.ext.dirs=../lib org.apache.oodt.cas.crawl.daemon.CrawlDaemonController $@ +java -Djava.util.logging.config.file=../etc/logging.properties -classpath "../lib/*" org.apache.oodt.cas.crawl.daemon.CrawlDaemonController $@ diff --git a/crawler/src/main/resources/bin/crawler_launcher b/crawler/src/main/resources/bin/crawler_launcher index 4198615..e7615a7 100644 --- a/crawler/src/main/resources/bin/crawler_launcher +++ b/crawler/src/main/resources/bin/crawler_launcher @@ -68,7 +68,7 @@ fi cd "$CRAWLER_HOME"/bin "$_RUNJAVA" $JAVA_OPTS $OODT_OPTS \ - -Djava.ext.dirs="$CRAWLER_HOME"/lib \ + -classpath "$CRAWLER_HOME/lib/*" \ -Djava.util.logging.config.file="$CRAWLER_HOME"/etc/logging.properties \ -Dorg.apache.oodt.cas.crawl.bean.repo=file:"$CRAWLER_HOME"/policy/crawler-config.xml \ -Dorg.apache.oodt.cas.cli.action.spring.config=file:"$CRAWLER_HOME"/policy/cmd-line-actions.xml \ diff --git a/crawler/src/main/resources/etc/logging.properties b/crawler/src/main/resources/etc/logging.properties index c77a851..cfbeaed 100644 --- a/crawler/src/main/resources/etc/logging.properties +++ b/crawler/src/main/resources/etc/logging.properties @@ -20,11 +20,11 @@ handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler # Set the default logging level for the root logger -.level = ALL +.level = DEBUG # Set the default logging level for new ConsoleHandler instances -java.util.logging.ConsoleHandler.level = ALL -java.util.logging.FileHandler.level = ALL +java.util.logging.ConsoleHandler.level = DEBUG +java.util.logging.FileHandler.level = DEBUG # Set the default formatter for new ConsoleHandler instances java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter @@ -38,15 +38,15 @@ java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter # Set the default logging level for the subsystems -org.apache.oodt.cas.crawl.level = ALL +org.apache.oodt.cas.crawl.level = DEBUG -org.apache.oodt.cas.crawl.action.level = ALL +org.apache.oodt.cas.crawl.action.level = DEBUG -org.apache.oodt.cas.crawl.typedetection.level = ALL +org.apache.oodt.cas.crawl.typedetection.level = DEBUG -org.apache.oodt.cas.crawl.util.level = ALL +org.apache.oodt.cas.crawl.util.level = DEBUG -org.apache.oodt.cas.crawl.config.level = ALL +org.apache.oodt.cas.crawl.config.level = DEBUG # control the underlying commons-httpclient transport layer for xmlrpc org.apache.commons.httpclient.level = INFO diff --git a/distribution/pom.xml b/distribution/pom.xml index 6c74069..2dde7ba 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -30,7 +30,7 @@ Distribution (RADiX Distro of OODT) pom - 5.5.23 + 9.0.7 @@ -123,8 +123,8 @@ - tomcat - apache-tomcat + org.apache.tomcat + tomcat ${tomcat.version} zip false @@ -278,8 +278,8 @@ - tomcat - apache-tomcat + org.apache.tomcat + tomcat ${tomcat.version} zip false diff --git a/distribution/src/main/resources/bin/ingest b/distribution/src/main/resources/bin/ingest index 7633dea..79ab9c2 100755 --- a/distribution/src/main/resources/bin/ingest +++ b/distribution/src/main/resources/bin/ingest @@ -19,7 +19,7 @@ cd $DIR export DIR_PATH=`pwd` export FILEMGR_URL="http://localhost:9000" -export OODT_HOME="/usr/local/coal-sds-deploy" +export OODT_HOME="/usr/local/coal-sds-deploy" if [ "$#" -ne 1 ]; then echo "Usage: $0 " @@ -33,4 +33,4 @@ else --productPath $1 \ --metExtractor org.apache.oodt.cas.metadata.extractors.TikaCmdLineMetExtractor \ --metExtractorConfig $OODT_HOME/data/met/tika.conf -fi +fi \ No newline at end of file diff --git a/filemgr/src/main/resources/bin/filemgr b/filemgr/src/main/resources/bin/filemgr index 867b77c..cd18385 100644 --- a/filemgr/src/main/resources/bin/filemgr +++ b/filemgr/src/main/resources/bin/filemgr @@ -81,7 +81,7 @@ if [ "$1" = "start" ]; then cd "$FILEMGR_HOME"/bin "$_RUNJAVA" $JAVA_OPTS $OODT_OPTS \ - -Djava.ext.dirs="$FILEMGR_HOME"/lib \ + -classpath "$FILEMGR_HOME/lib/*" \ -Djava.util.logging.config.file="$FILEMGR_HOME"/etc/logging.properties \ -Dorg.apache.oodt.cas.filemgr.properties="$FILEMGR_HOME"/etc/filemgr.properties \ -Djava.io.tmpdir="$OODT_TMPDIR" \ diff --git a/filemgr/src/main/resources/bin/filemgr-client b/filemgr/src/main/resources/bin/filemgr-client index e30ebd2..dd2106b 100644 --- a/filemgr/src/main/resources/bin/filemgr-client +++ b/filemgr/src/main/resources/bin/filemgr-client @@ -69,7 +69,7 @@ fi cd "$FILEMGR_HOME"/bin "$_RUNJAVA" $JAVA_OPTS $OODT_OPTS \ - -Djava.ext.dirs="$FILEMGR_HOME"/lib \ + -classpath "$FILEMGR_HOME/lib/*" \ -Dorg.apache.oodt.cas.filemgr.properties="$FILEMGR_HOME"/etc/filemgr.properties \ -Djava.util.logging.config.file="$FILEMGR_HOME"/etc/logging.properties \ -Dorg.apache.oodt.cas.cli.action.spring.config=file:"$FILEMGR_HOME"/policy/cmd-line-actions.xml \ diff --git a/filemgr/src/main/resources/bin/query-tool b/filemgr/src/main/resources/bin/query-tool index ce02792..607f995 100644 --- a/filemgr/src/main/resources/bin/query-tool +++ b/filemgr/src/main/resources/bin/query-tool @@ -73,5 +73,5 @@ fi cd "$FILEMGR_HOME"/bin "$_RUNJAVA" $JAVA_OPTS $OODT_OPTS \ - -Djava.endorsed.dirs=../lib \ + -classpath "../lib/*" \ org.apache.oodt.cas.filemgr.tools.QueryTool "$@" diff --git a/filemgr/src/main/resources/etc/filemgr.fm-solr-catalog.properties b/filemgr/src/main/resources/etc/filemgr.fm-solr-catalog.properties index 015e72f..f721f8c 100644 --- a/filemgr/src/main/resources/etc/filemgr.fm-solr-catalog.properties +++ b/filemgr/src/main/resources/etc/filemgr.fm-solr-catalog.properties @@ -20,7 +20,7 @@ filemgr.repository.factory=org.apache.oodt.cas.filemgr.repository.XMLRepositoryM # Solr catalog factory filemgr.catalog.factory=org.apache.oodt.cas.filemgr.catalog.solr.SolrCatalogFactory -org.apache.oodt.cas.filemgr.catalog.solr.url=http://localhost:8080/solr/oodt-fm +org.apache.oodt.cas.filemgr.catalog.solr.url=http://localhost:8080/solr/#/oodt-fm # data transfer factory filemgr.datatransfer.factory=org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferFactory @@ -45,16 +45,16 @@ org.apache.oodt.cas.filemgr.catalog.lucene.writeLockTimeout.seconds=60 org.apache.oodt.cas.filemgr.catalog.lucene.mergeFactor=20 # XML repository manager configuration -org.apache.oodt.cas.filemgr.repositorymgr.dirs=file:///usr/local/coal-sds-deploy/policy/oodt +org.apache.oodt.cas.filemgr.repositorymgr.dirs=file:///usr/local/coal-sds-deploy/filemgr/policy/oodt # XML validation layer configuration -org.apache.oodt.cas.filemgr.validation.dirs=file:///usr/local/coal-sds-deploy/policy/oodt +org.apache.oodt.cas.filemgr.validation.dirs=file:///usr/local/coal-sds-deploy/filemgr/policy/oodt # remote data transfer configuration org.apache.oodt.cas.filemgr.datatransfer.remote.chunkSize=1024 # location of Mime-Type repository -org.apache.oodt.cas.filemgr.mime.type.repository=/usr/local/coal-sds-deploy/etc/mime-types.xml +org.apache.oodt.cas.filemgr.mime.type.repository=/usr/local/coal-sds-deploy/filemgr/etc/mime-types.xml ############ data source configuration ################################## diff --git a/filemgr/src/main/resources/etc/filemgr.properties b/filemgr/src/main/resources/etc/filemgr.properties index ffbc246..c1ca47d 100755 --- a/filemgr/src/main/resources/etc/filemgr.properties +++ b/filemgr/src/main/resources/etc/filemgr.properties @@ -29,6 +29,9 @@ filemgr.client=org.apache.oodt.cas.filemgr.system.rpc.AvroFileManagerClientFacto filemgr.catalog.factory=org.apache.oodt.cas.filemgr.catalog.solr.SolrCatalogFactory org.apache.oodt.cas.filemgr.catalog.solr.url=http://localhost:8080/solr/oodt-fm +# Lucene catalog factory +#filemgr.catalog.factory=org.apache.oodt.cas.filemgr.catalog.LuceneCatalogFactory + # data transfer factory filemgr.datatransfer.factory=org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferFactory diff --git a/filemgr/src/main/resources/etc/logging.properties b/filemgr/src/main/resources/etc/logging.properties index 4b1dcc1..108c44b 100644 --- a/filemgr/src/main/resources/etc/logging.properties +++ b/filemgr/src/main/resources/etc/logging.properties @@ -19,11 +19,11 @@ handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler # Set the default logging level for the root logger -.level = ALL +.level = DEBUG # Set the default logging level for new ConsoleHandler instances -java.util.logging.ConsoleHandler.level = ALL -java.util.logging.FileHandler.level = ALL +java.util.logging.ConsoleHandler.level = DEBUG +java.util.logging.FileHandler.level = DEBUG # Set the default formatter for new ConsoleHandler instances java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter diff --git a/pcs/src/main/resources/bin/pcs_ll b/pcs/src/main/resources/bin/pcs_ll index 28bbd1d..653972e 100644 --- a/pcs/src/main/resources/bin/pcs_ll +++ b/pcs/src/main/resources/bin/pcs_ll @@ -42,6 +42,6 @@ set DIR_PATH = `pwd` cd $ORIG_DIR java -Djava.util.logging.config.file=$DIR_PATH/../etc/logging.properties \ - -Djava.ext.dirs=$DIR_PATH/../lib:$DIR_PATH/../../filemgr/lib:$DIR_PATH/../../workflow/lib \ + -classpath "$DIR_PATH/../lib/*:$DIR_PATH/../../filemgr/lib/*:$DIR_PATH/../../workflow/lib/*" \ org.apache.oodt.pcs.tools.PCSLongLister \ $FILEMGR_URL $DIR_PATH/../policy/pcs-ll-conf.xml $argv[2-$#argv] diff --git a/pcs/src/main/resources/bin/pcs_stat b/pcs/src/main/resources/bin/pcs_stat index 0ae3a1d..5c6d17d 100644 --- a/pcs/src/main/resources/bin/pcs_stat +++ b/pcs/src/main/resources/bin/pcs_stat @@ -68,7 +68,7 @@ set DIR_PATH = `pwd` cd $ORIG_DIR java -Djava.util.logging.config.file=$DIR_PATH/../etc/logging.properties \ - -Djava.ext.dirs=$DIR_PATH/../lib:$DIR_PATH/../../filemgr/lib:$DIR_PATH/../workflow/lib:$DIR_PATH/../../resmgr/lib \ + -classpath "$DIR_PATH/../lib/*:$DIR_PATH/../../filemgr/lib/*:$DIR_PATH/../workflow/lib/*:$DIR_PATH/../../resmgr/lib/*" \ -Dorg.apache.oodt.cas.filemgr.properties=$DIR_PATH/../../filemgr/etc/filemgr.properties \ org.apache.oodt.pcs.tools.PCSHealthMonitor \ $FILEMGR_URL \ diff --git a/pcs/src/main/resources/bin/pcs_trace b/pcs/src/main/resources/bin/pcs_trace index 225db73..649d8e6 100644 --- a/pcs/src/main/resources/bin/pcs_trace +++ b/pcs/src/main/resources/bin/pcs_trace @@ -29,7 +29,7 @@ if ( $#argv != 1 ) then echo "Usage: $0 " exit 1 else - java -Djava.ext.dirs=$DIR_PATH/../lib:$DIR_PATH/../../filemgr/lib:$DIR_PATH/../../workflow/lib \ + java -classpath "$DIR_PATH/../lib/*:$DIR_PATH/../../filemgr/lib/*:$DIR_PATH/../../workflow/lib/*" \ -Djava.util.logging.config.file=$DIR_PATH/../etc/logging.properties \ -Dorg.apache.oodt.cas.filemgr.properties=$DIR_PATH/../../filemgr/etc/filemgr.properties \ org.apache.oodt.pcs.tools.PCSTrace \ diff --git a/pcs/src/main/resources/etc/logging.properties b/pcs/src/main/resources/etc/logging.properties index 47ddde4..591f219 100644 --- a/pcs/src/main/resources/etc/logging.properties +++ b/pcs/src/main/resources/etc/logging.properties @@ -19,10 +19,10 @@ handlers = java.util.logging.ConsoleHandler # Set the default logging level for the root logger -.level = ALL +.level = DEBUG # Set the default logging level for new ConsoleHandler instances -java.util.logging.ConsoleHandler.level = ALL +java.util.logging.ConsoleHandler.level = DEBUG # Set the default formatter for new ConsoleHandler instances java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter diff --git a/pom.xml b/pom.xml index 5a5ee08..bb9e312 100644 --- a/pom.xml +++ b/pom.xml @@ -19,16 +19,16 @@ com.github.capstone-coal coal-sds - Data Management System + coal-sds Data Management System pom - Data Management System Powered by Apache OODT delivered via RADiX + coal-sds Data Management System Powered by Apache OODT delivered via RADiX 0.1 UTF-8 UTF-8 - 1.2.2 - 1.2.2 + 1.2.5 + 1.2.5 3.7.0 2.20.1 @@ -137,4 +137,4 @@ distribution webapps - + \ No newline at end of file diff --git a/resmgr/src/main/resources/bin/batch_stub b/resmgr/src/main/resources/bin/batch_stub index efdca05..9e9948a 100644 --- a/resmgr/src/main/resources/bin/batch_stub +++ b/resmgr/src/main/resources/bin/batch_stub @@ -25,7 +25,7 @@ if ( $#argv != 1 ) then echo "Usage: $0 " exit 1 else - java -Djava.ext.dirs=../lib \ + java -classpath "../lib/*" \ org.apache.oodt.cas.resource.system.extern.XmlRpcBatchStub \ -Dorg.apache.oodt.cas.pge.task.metkeys.legacyMode="true" \ -Dorg.apache.oodt.cas.pge.task.status.legacyMode="true" \ diff --git a/resmgr/src/main/resources/bin/resmgr b/resmgr/src/main/resources/bin/resmgr index 7bd9db7..6737e0c 100644 --- a/resmgr/src/main/resources/bin/resmgr +++ b/resmgr/src/main/resources/bin/resmgr @@ -87,7 +87,7 @@ if [ "$1" = "start" ]; then cd "$RESMGR_HOME"/bin "$_RUNJAVA" $JAVA_OPTS $OODT_OPTS \ - -Djava.ext.dirs="$RESMGR_HOME"/lib \ + -classpath "$RESMGR_HOME/lib/*" \ -Djava.util.logging.config.file="$RESMGR_HOME"/etc/logging.properties \ -Dorg.apache.oodt.cas.resource.properties="$RESMGR_HOME"/etc/resource.properties \ -Djava.io.tmpdir="$OODT_TMPDIR" \ diff --git a/resmgr/src/main/resources/bin/resmgr-client b/resmgr/src/main/resources/bin/resmgr-client index e7dbd3d..3f6758c 100644 --- a/resmgr/src/main/resources/bin/resmgr-client +++ b/resmgr/src/main/resources/bin/resmgr-client @@ -26,7 +26,7 @@ fi export JAVA_HOME $JAVA_HOME/bin/java \ - -Djava.ext.dirs=../lib \ + -classpath "../lib/*" \ -Dorg.apache.oodt.cas.resource.properties=../etc/resource.properties \ -Djava.util.logging.config.file=../etc/logging.properties \ -Dorg.apache.oodt.cas.cli.action.spring.config=../policy/cmd-line-actions.xml \ diff --git a/resmgr/src/main/resources/etc/logging.properties b/resmgr/src/main/resources/etc/logging.properties index 8785c8b..68e49e9 100644 --- a/resmgr/src/main/resources/etc/logging.properties +++ b/resmgr/src/main/resources/etc/logging.properties @@ -20,11 +20,11 @@ handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler # Set the default logging level for the root logger -.level = ALL +.level = DEBUG # Set the default logging level for new ConsoleHandler instances -java.util.logging.ConsoleHandler.level = ALL -java.util.logging.FileHandler.level = ALL +java.util.logging.ConsoleHandler.level = DEBUG +java.util.logging.FileHandler.level = DEBUG # Set the default formatter for new ConsoleHandler instances java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter diff --git a/workflow/src/main/resources/bin/wmgr b/workflow/src/main/resources/bin/wmgr index 854216c..76cbccb 100644 --- a/workflow/src/main/resources/bin/wmgr +++ b/workflow/src/main/resources/bin/wmgr @@ -80,7 +80,7 @@ if [ "$1" = "start" ]; then cd "$WORKFLOW_HOME"/bin "$_RUNJAVA" $JAVA_OPTS $OODT_OPTS \ - -Djava.ext.dirs="$WORKFLOW_HOME"/lib \ + -classpath "$WORKFLOW_HOME/lib/*" \ -Djava.util.logging.config.file="$WORKFLOW_HOME"/etc/logging.properties \ -Dorg.apache.oodt.cas.workflow.properties="$WORKFLOW_HOME"/etc/workflow.properties \ -Djava.io.tmpdir="$OODT_TMPDIR" \ diff --git a/workflow/src/main/resources/bin/wmgr-client b/workflow/src/main/resources/bin/wmgr-client index 63f18b2..4807516 100644 --- a/workflow/src/main/resources/bin/wmgr-client +++ b/workflow/src/main/resources/bin/wmgr-client @@ -68,7 +68,7 @@ fi cd "$WORKFLOW_HOME"/bin "$_RUNJAVA" $JAVA_OPTS $OODT_OPTS \ - -Djava.ext.dirs="$WORKFLOW_HOME"/lib \ + -classpath "$WORKFLOW_HOME/lib/*" \ -Djava.util.logging.config.file="$WORKFLOW_HOME"/etc/logging.properties \ -Dorg.apache.oodt.cas.cli.action.spring.config=file:"$WORKFLOW_HOME"/policy/cmd-line-actions.xml \ -Dorg.apache.oodt.cas.cli.option.spring.config=file:"$WORKFLOW_HOME"/policy/cmd-line-options.xml \ diff --git a/workflow/src/main/resources/etc/logging.properties b/workflow/src/main/resources/etc/logging.properties index d3467dd..70df0e7 100644 --- a/workflow/src/main/resources/etc/logging.properties +++ b/workflow/src/main/resources/etc/logging.properties @@ -19,11 +19,11 @@ handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler # Set the default logging level for the root logger -.level = ALL +.level = DEBUG # Set the default logging level for new ConsoleHandler instances -java.util.logging.ConsoleHandler.level = ALL -java.util.logging.FileHandler.level = ALL +java.util.logging.ConsoleHandler.level = DEBUG +java.util.logging.FileHandler.level = DEBUG # Set the default formatter for new ConsoleHandler instances java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter