Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 1.Getting the Source Code from SVN

  • Check out the code for OLE-Discovery project from the following SVN Repository:

...

            \projects\OLE-SVN\ole-trunk\DocumentStore\ documentstore-webapp – DOCSTORE_WEBAPP_PRO

2.Building the Code

  • Open command prompt and go to the folder :% DOCSTORE_PROJ %

...

  • It creates documentstore-webapp.war in %DOCSTORE_WEBAPP_PROJ%\target directory. Rename it to oledocstore.war

3.Deployment

3.1  Setting up properties

Create the following directories in the same drive as %TOMCAT_HOME% directory. 

...

local.docSearchURL=http://localhost:8080/ole-discovery/

3.2 Deploying the War files to Tomcat

  •    Copyole-discovery.war file from %DISCOVERY-WEBAPP-PROJ%\target to %TOMCAT_HOME%\webapps folder.
  •     Copyoledocstore.war file from %DOCSTORE_WEBAPP_PROJtarget to %TOMCAT_HOME%\webapps folder

4.Running Docstore and Discovery

Start the Tomcat Server.

Open a browser.

...

5.Bulk Ingest

Copy the following sample data files to the folder specified by the property  local.bibliographic.bibliographic.marcin the file %DOCSTORE_ENGINE_PROJ%\src\main\resources\org\kuali\ole\directory-path.properties. Create this folder if it does not exist.

...

         Note for the count for each DocType.

6.Stream Ingest

Open a browser.

        Go to URL http://localhost:8080/oledocstoreand click on "Ingest String Content" tab.

...

 The data can also be verified using the URLs given in the previous section.

 7.LOG Files

The log files will be written to the following locations by default.

  •  Discovery - %TOMCAT_HOME%/bin/logs/ole-discovery.log
  •  Discovery - %TOMCAT_HOME%/bin/logs/ole-discovery-error.log
  •  DocStore - %TOMCAT_HOME%/bin/logs/ole-docstore.log
  •  DocStore - %TOMCAT_HOME%/bin/logs/ole-docstore-error.log

8.Discovery within OLE(Optional)

Copy the ole-discovery.war and oledocstore.war files into the Tomcat running OLE.

...