chrismattmann / imagecat

ImageCat is an Apache OODT RADIX application that uses Apache Solr, Apache Tika and Apache OODT to ingest 10s of millions of files (images,but could be extended to other files) in place, and to extract metadata and OCR information from those files/images using Tika and Tesseract OCR.
94 stars 40 forks source link

deploy/bin/env.sh sets spurious environment variable on line 48 #40

Closed Coldsp33d closed 6 years ago

Coldsp33d commented 6 years ago

Professor,

In the process of seting up imagecat, I found a bug. This occurs once you're run ./install.sh, and are in the process of running ./start.sh inside deploy.

On line 47 of /bin/env.sh, there is

export OODT_HOME=--OODT_HOME--

Which interferes with the startup process and should be removed. We're already setting OODT_HOME in bin/imagecatenv.sh, so this line can either be removed, or edited to take the value from imagecatenv.sh.

Similarly, another file contains the same substring tomcat7/conf/Catalina/localhost/solr.xml.

For reference, I found these files by running the command

egrep -ril '\-\-OODT_HOME\-\-' .  

Inside the deploy folder.

chrismattmann commented 6 years ago

Fixed in #41