How to deploy the Global Search webapp on the embedded Tomcat

Applies to: Denodo 5.5 , Denodo 5.0
Last modified on: 28 Mar 2018
Tags: Administration Data Governance

Download document

Goal

This document explains how to deploy the web application for the Global Search Denodo Connect tool into the internal Tomcat web container that is part of a Denodo Platform installation.

Content

The Denodo Global Search component can be downloaded from the Denodo Connect section of Denodo‚Äôs support site. This component includes the Global Search Custom Crawler and the Global Search Web Application.

The Global Search Custom Crawler (an extension for Aracne and Scheduler) is able to crawl the Virtual DataPort RESTful web service. This allows indexing the information contained in a Virtual DataPort database.

The Global Search Web Application allows searching the indexes generated using the Global Search Custom Crawler. The Web Application artifact is packaged as a war file under the dist folder of the Global Search file.

To deploy the Global Search Web Application in Denodo's internal Tomcat, follow these steps:

  1. Unzip the denodo-globalsearch-webapp-yyyymmdd.war file into the following location:

        

<DENODO_HOME>/resources/apache-tomcat/webapps/globalsearch

  1. Create a context configuration file for the Global Search webapp.  You can use the following xml template, globalsearch.xml:

<?xml version="1.0" encoding="UTF-8"?>

<Context className="org.apache.catalina.core.StandardContext"

              mapperClass="org.apache.catalina.core.StandardContextMapper"

            path="/globalsearch"

      wrapperClass="org.apache.catalina.core.StandardWrapper">

</Context>

  1. Copy the globalsearch.xml file into the following location:

                <DENODO_HOME>/resources/apache-tomcat/conf/DenodoPlatform-5.5/localhost

  1. Create launch scripts for the Global Search. You can use the following templates for Windows systems. Equivalent script can be created for UNIX like systems. Make sure to modify the DENODO_HOME variable in the script templates to point to your Denodo installation.

        

        globalsearch_start.bat:

        @echo off

REM ------------------------------------------------------------

REM  Environment variable JAVA_HOME must be set and exported

REM ------------------------------------------------------------

SET DENODO_HOME=C:\Denodo Platform

SET DENODO_CONF=%DENODO_HOME%\conf\arn

CALL "%DENODO_HOME%\bin\webcontainer" start globalsearch

        globalsearch_stop.bat:

        @echo off

REM ------------------------------------------------------------

REM  Environment variable JAVA_HOME must be set and exported

REM ------------------------------------------------------------

SET DENODO_HOME=C:\Denodo Platform

SET DENODO_CONF=%DENODO_HOME%\conf\arn

CALL "%DENODO_HOME%\bin\webcontainer" stop globalsearch

  1. Copy the launch scripts into <DENODO_HOME>/bin

  1. After copying all the necessary files into the correct directories, run the globalsearch_start.bat launch script.

  1. Navigate to http://localhost:9090/globalsearch . The global search login screen should load.

Questions

Ask a question
You must sign in to ask a question. If you do not have an account, you can register here

Featured content

DENODO TRAINING

Ready for more? Great! We offer a comprehensive set of training courses, taught by our technical instructors in small, private groups for getting a full, in-depth guided training in the usage of the Denodo Platform. Check out our training courses.

Training