Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

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

          Run "mvn “mvn clean install"install”.

          It creates documentstore-webapp.war in %DOCSTORE_WEBAPP_PROJ%\target directory.

...

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

           Run "mvn “mvn clean install"install”.

           It creates ole-discovery-webapp.war in %DISCOVERY_WEBAPP_PROJ%\target directory. 

...

Go to %TOMCAT_HOME%\bin directory.

Open catalinaCreate/open setenv.bat file under %TOMCAT_HOME%\bin directory

Define the following variables in catalinasetenv.bat file after the line :doneSetArgs .

  •        set OLE_DISCOVERY_HOME=\opt\docstore\discovery
  •        set OLE_DISCOVERY_PROP_HOME=%OLE_DISCOVERY_HOME%\properties
  •        set OLE_DISCOVERY_CONFIG_HOME=%OLE_DISCOVERY_HOME%\solr-config
  •        set OLE_DOCSTORE_HOME=\opt\docstore
  •        set OLE_DOCSTORE_PROP_HOME=%OLE_DOCSTORE_HOME%\properties

Set JAVA_OPTS as below.(The entire text below should be in SINGLE LINE after your Discovery environment variables.)

set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% 
  -Xms512m -Xmx1g -XX:MaxPermSize=256m 
 256m
set JAVA_OPTS=%JAVA_OPTS% -Dapp.environment=local 
 local
set JAVA_OPTS=%JAVA_OPTS% -Dsolr.solr.home="%OLE_DISCOVERY_CONFIG_HOME%" 
 
set JAVA_OPTS=%JAVA_OPTS% -Ddiscovery.properties.file="%OLE_DISCOVERY_PROP_HOME%\ole-discovery.properties" 
 
set JAVA_OPTS=%JAVA_OPTS% -Dolebibeditor.properties.home="%OLE_DOCSTORE_PROP_HOME%" 
 
set JAVA_OPTS=%JAVA_OPTS% -Ddocstore.properties.home="%OLE_DOCSTORE_PROP_HOME%" 
 
set JAVA_OPTS=%JAVA_OPTS% -Dorg.apache.jackrabbit.repository.home="%OLE_DOCSTORE_HOME%\jackrabbit" 
 
set JAVA_OPTS=%JAVA_OPTS% -Dorg.apache.jackrabbit.repository.conf="%OLE_DOCSTORE_PROP_HOME%\repository.xml"

Save the file catalinasetenv.bat                                         

...

5.Bulk Ingest

Copy the following sample data files to the folder specified by the property  local.bulkIngestDir (only this property) in the file %DOCSTORE_ENGINE_PROJ%\src\main\resources\org\kuali\ole\directory-path.properties. This property should be changed to a directory suitable to the local user's system. (e.g. /ole-test-data/bulkingest). Create this folder if it does not exist.

...

             Go to URL http://localhost:8080/oledocstore/bulkIngest.jsp

             Click on 'Submit' ‘Submit’ button to run the bulk ingest. Need to click only once.

 To verify that the data is stored in DocStore, go to URL

            http://localhost:8080/oledocstore

           Click 'Refresh Summary' ‘Refresh Summary’ button in the Summary tab.

...

To verify that the data is indexed in DocStore, go to URL

         http://localhost:8080/ole-discovery

         Click 'Refresh' ‘Refresh’ button in the Summary tab.

...

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

        Copy the sample xml provided in the screen.

...

Copy the file 'olebibeditor‘olebibeditor.properties' properties’ provided along with this document in to your %USER_HOME% directory.

...

 Open a browser.

      Go to URL

       http://localhost:8080/ole-local/portal.do?channelTitle=DocumentStoreSearch&channelUrl=discovery.do

       Click on 'Search' ‘Search’ button.