SpagoBI exo Tomcat Installation Manual



Similar documents
SpagoBI Web Application for Jboss Installation Manual 1.0.0

Quick start. A project with SpagoBI 3.x

Install BA Server with Your Own BA Repository

Kony MobileFabric. Sync Windows Installation Manual - WebSphere. On-Premises. Release 6.5. Document Relevance and Accuracy

Geoportal Server Installation Guide for GlassFish Contents

Kony MobileFabric. Sync Server Tomcat Installation Manual. On-Premises

Install guide for Websphere 7.0

Installation Guide for contineo

Third-Party Software Support. Converting from SAS Table Server to a SQL Server Database

Lucid Key Server v2 Installation Documentation.

Set Up BA Server and Tools

Deploying Oracle Business Intelligence Publisher in J2EE Application Servers Release

Scala InfoChannel Content Manager 5 Backup and Restore Instructions

Intellicus Enterprise Reporting and BI Platform

Installation Guide. Version 2.1. on Oracle Java Cloud Service

Using Netbeans and the Derby Database for Projects Contents

Querying Databases Using the DB Query and JDBC Query Nodes

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

StreamServe Persuasion SP4

ZeroTurnaround License Server User Manual 1.4.0

HR Onboarding Solution

Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive

BEAWebLogic. Portal. WebLogic Portlets for SAP Installation Guide

JBoss Portal 2.4. Quickstart User Guide

Getting Started using the SQuirreL SQL Client

Tool-Assisted Knowledge to HL7 v3 Message Translation (TAMMP) Installation Guide December 23, 2009

Installation Guide for Websphere ND

Contents About the Contract Management Post Installation Administrator's Guide... 5 Viewing and Modifying Contract Management Settings...

Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013

OpenReports: Users Guide

TIBCO ActiveMatrix BusinessWorks Process Monitor Server. Installation

HP Vertica Integration with SAP Business Objects: Tips and Techniques. HP Vertica Analytic Database

Web Testing, Java Testing, Server Monitoring. AppPerfect Installation Guide

Oracle Fusion Middleware. 1 Oracle Team Productivity Center Server System Requirements. 2 Installing the Oracle Team Productivity Center Server

Business Interaction Server. Configuration Guide Rev A

Bull Service & Solutions

AklaBox. The Ultimate Document Platform for your Cloud Infrastructure. Installation Guideline

Backup and Restore Instructions. Backing up the Content Manager s Data

Using the DataDirect Connect for JDBC Drivers with WebLogic 8.1

DocuShare Installation Guide

DocuShare Installation Guide

Implementing a SAS 9.3 Enterprise BI Server Deployment TS-811. in Microsoft Windows Operating Environments

Upgrading Your Web Server from ClientBase Browser Version 2.0 or Above to Version 2.1.1

ORACLE BUSINESS INTELLIGENCE WORKSHOP. Prerequisites for Oracle BI Workshop

Report and Dashboard Template User Guide

Setting up the Oracle Warehouse Builder Project. Topics. Overview. Purpose

TIBCO Silver Fabric Continuity User s Guide

JASPERREPORTS SERVER INSTALLATION GUIDE

OpenGeo Suite for Linux Release 3.0

Practice Fusion API Client Installation Guide for Windows

MICROSTRATEGY 9.3 Supplement Files Setup Transaction Services for Dashboard and App Developers

Informatica Corporation Proactive Monitoring for PowerCenter Operations Version 3.0 Release Notes May 2014

Using the DataDirect Connect for JDBC Drivers with the Sun Java System Application Server

Specops Command. Installation Guide

Primavera P6 Professional Windows 8 Installation Instructions. Primavera P6. Installation Instructions. For Windows 8 Users

Department of Veterans Affairs VistA Integration Adapter Release Enhancement Manual

inforouter V8.0 Server Migration Guide.

FileNet Business Activity Monitor (BAM) Release Notes

Talend for Data Integration guide

Getting Started with the Ed-Fi ODS and Ed-Fi ODS API

PUBLIC Installation: SAP Mobile Platform Server for Linux

Project Management (PM) Cell

Installing The SysAidTM Server Locally

Using Internet or Windows Explorer to Upload Your Site

WSO2 Business Process Server Clustering Guide for 3.2.0

3. Installation and Configuration. 3.1 Java Development Kit (JDK)

Workshop Advanced GeoNetwork

Geoportal Server Installation Guide

APIS CARM NG Quick Start Guide for MS Windows

Installation and Usage Guide

Bubble Code Review for Magento

SOA Software API Gateway Appliance 7.1.x Administration Guide

Installation & Configuration - Enterprise, Group and Community Server

Project (Group) Management Installation Guide (Linux) Version 1.3. Copyright 2007 MGH

AWS Schema Conversion Tool. User Guide Version 1.0

JAMF Software Server Installation Guide for Windows. Version 8.6

OBIEE Cloning. Cloning the OBIEE 11g database migration to a new host. Ashok Thiyagarajan ADVANS MARLBOROUGH, MA AND CHENNAI, INDIA

IBM Campaign and IBM Silverpop Engage Version 1 Release 2 August 31, Integration Guide IBM

i2b2 Installation Guide

Implementation Guide. Public Health Information Network Messaging System (PHINMS)

Infinitel HotSpotWeb User Manual

Hadoop Data Warehouse Manual

StreamServe Persuasion SP5 Control Center

Installing Drupal on Your Local Computer

Installation manual SAP Business Objects Data Services XI 3.2 on a Microsoft Windows 7-64-bit machine

Jet Data Manager 2012 User Guide

ClickCartPro Software Installation README

Configuring an Oracle Business Intelligence Enterprise Edition Resource in Metadata Manager

CloudPortal Services Manager Version 11.0 CU2 Deployment Guide

CloudBerry Dedup Server

HOW TO CONNECT TO CAC DATABASE SERVER USING MySQL

IBM Campaign Version-independent Integration with IBM Engage Version 1 Release 3 April 8, Integration Guide IBM

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.2 Web Applications Deployed on BEA WebLogic Server 9.2

Transcription:

SpagoBI exo Tomcat Installation Manual Authors Luca Fiscato Andrea Zoppello Davide Serbetto Review Grazia Cazzin SpagoBI exo Tomcat Installation Manual ver 1.3 May, 18 th 2006 pag. 1 of 8

Index 1 VERSION...3 2 DOCUMENT GOAL...3 3 REFERENCES...3 4 REQUIREMENTS...3 5 INSTALL SPAGOBI...3 5.1 INSTALL ADDITIONAL LIBRARIES...4 5.2 INSTALL THE METADATA DATABASE...4 5.2.1 Install the database driver...5 5.2.2 Configuring Datasource as JNDI Resource...5 5.3 INSTALL CMS REPOSITORY...5 5.4 INSTALL SPAGOBI PLATFORM...6 5.4.1 Configure Hibernate...6 5.5 INSTALL ENGINES...7 5.5.1 Install SpagoBIJasperReportEngine...7 5.5.2 Install SpagoBIJPivotEngine...7 5.6 INSTALL EXAMPLE PORTAL (OPTIONAL)...7 SpagoBI exo Tomcat Installation Manual ver 1.3 May, 18 th 2006 pag. 2 of 8

1 Version Version/Release n : 1.2 Data Version/Release : Feb, 7th 2006 Update description: exo Tomcat 1.0 Installation steps Version/Release n : 1.3 Data Version/Release : May, 18th 2006 Update description: 2 Document goal Tomcat Server, with exo Portal 1.1, installation steps This document provides a step by step description for SpagoBI installation and configuration on a Tomcat Server 5.0.28 with exo Portal 1.1 installed on. To do that, unzip the exoportal-tomcat- Final.zip downloaded from ObjectWeb forge (http://forge.objectweb.org/projects/exoplatform) to your file system. 3 References Some concepts in this document refer to: o SpagoBI business intelligence platform (available at http://spagobi.eng.it/) o Exo Portal Platform (available at http://www.exoplatform.com) o Spago framework (available at http://spago.eng.it) o Tomcat server (available at http://tomcat.apache.org/) 4 Requirements Using the exo Portal v2, SpagoBI needs the JDK 1.5.x. You can verify that simply typing the java version command from a command window. We assume that you use the java version 1.5.x and that you have the exo Portal 1.1 rightly installed on a Tomcat 5.0.28 server; in the following we ll refer to the exo-tomcat base directory as EXO-HOME. 5 Install SpagoBI To test the exo installation exec the command EXO-HOME/bin/exo-run.bat (in a windows environment) or EXO-HOME/bin/exo-run.sh (in a unix environment), wait until the command ends up with the message Server startup in xxxx ms and then connect with a browser to the url http://<<localhost>>:8080/portal, the exo home page should appear. Before proceed stop the server. Connect to the SpagoBI page on the ObjectWeb community site (http://forge.objectweb.org/projects/spagobi), click on the File tab, download the file called UtilityFiles-bin-1.8.zip, and then unzip it. The unzip operation produces a folder SpagoBIUtilityFiles which contains tomcat-server, libraries and other folders. The folder tomcat-server respects the tree-folders structure of a clean exo-tomcat installation; in the following we will refer to this folder as EXO-INST-FILES. The folder libraries contains some necessary libraries; in the following we will refer to this folder as SpagoBI exo Tomcat Installation Manual ver 1.3 May, 18 th 2006 pag. 3 of 8

LIBRARIES. There's also another folder 'example-portal' which contains a new portal war file useful to install a SpagoBI test portal (However the installation of this example portal is not mandatory); in the following we will refer to this folder as EXAMPLE_PORTAL 5.1 Install additional libraries SpagoBI needs some additional libraries to manage metadata so copy the following libraries from LIBRARIES to EXO-HOME/common/lib: o ehcache-1.1.jar o concurrent-1.3.2.jar o jackrabbit-0.16.4.1-dev.jar o jcr-1.0.jar 5.2 Install the Metadata Database SpagoBI metadata are stored in a database (for this release SpagoBI supports PostgresSQL, Oracle, and MySQL). If you don t have anyone of these database servers supported you need to install one of them. Once you have a functional database server you must create a new database for the metadata (spagobi is the database name suggested). Once completed the operation above it's possible to proceed with the creation and initial population of the metadata database launching the right script for your database server. For each database server supported you need to download from the SpagoBI Repository a zip archive containing the sql script to create the schema, the comments of the table and finally to populate the schema with initial data. (These scripts don t contain the examples data as the hsqldb). So, connect to http://forge.objectweb.org/projects/spagobi, select the file tab and then download the file called <<name of you database>>-dbscript-1.4.zip. Into the zip file there are some sql script files, you must execute the creation and insertion script with a client for your database server. In every archive exists also a drop script but this one is useful only if you need to clean your database deleting all the spagobi metadata tables. Example: if you have a postgresql database server you need to download the relative archive (postgres-dbscript-1.4.zip) and run in the following order the scripts PG_create.sql and PG_insert.sql SpagoBI can use also an HSQLDB database, which is very useful for test purpose but is very weak in a production environment. Anyway, if you want to use HSQLDB, just copy the folder EXO- INST-FILES/sbidata into EXO-HOME and then exec the command exohome/sbidata/database/start.bat (on a windows platform) or exo-home/sbidata/database/start.sh (on a unix platform). The command starts an HSQLDB server with a spagobi databases already populated with the necessary data. Every time you start the exo server for work with SpagoBI the database server must be running. SpagoBI exo Tomcat Installation Manual ver 1.3 May, 18 th 2006 pag. 4 of 8

5.2.1 Install the database driver Before proceed with persistence configuration we must install the database driver packages in the application server. Because SpagoBI can be configured to connect to different database servers, one for the metadata and one for datawarehouse for example, you must obtain the specific drivers for every database server used by SpagoBI. The drivers package can be obtained from database vendor sites and for the current SpagoBI release we test the following versions: o Postgresql : postgresql-8.0-311.jdbc2.jar o Oracle: ojdbc14.jar o MySQL: mysql-connector-java-3.1.10-bin.jar o HSQLDB: hsqldb1_8_0_2.jar (contained into EXO-INST-FILES/common/lib) The driver jars, of the corresponding database you use, have to be put under EXO- HOME/common/lib. Pay attention: If you decide to use the SpagoBI hsqldb database add into EXO- HOME/common/lib the hsqldb1_8_0_2.jar library and remember to remove the existing hsqldb1.8.0.1.jar library in the same folder in order to avoid conflicts. 5.2.2 Configuring Datasource as JNDI Resource SpagoBI needs a connection to the metadata database. This connection can be configured as a direct jdbc connection or as link to a server jndi datasource. The second option is surely better and it s covered into this manual. To configure the JNDI global datasource resource do the following steps: o Edit the file EXO-INST-FILES/conf/server.xml. o Search for the string <Resource name="jdbc/spagobi" ; o Copy entirely the <Resource> tag and the subsequent <ResourceParams> tag o Edit the file EXO-HOME/conf/server.xml o Inside tag named GlobalNamingResources paste the piece of xml copied previously The xml copied configures a new jndi datasource for the metadata database. Some of default settings are suitable for an hsql database and you need to change them if you are using another database server (the default values are for hsql db). Based on your database change the value of: o DriverClassName o url o username o password 5.3 Install Cms Repository SpagoBI needs a connection to a content management system (cms) compliant to the jsr 170 specification in order to store and version the BI documents. The connection is represented by a jsr 170 Repository object which allows to open working session into the cms. SpagoBI can be configured to initialize directly the repository or to get it as a jndi resource. The second option is SpagoBI exo Tomcat Installation Manual ver 1.3 May, 18 th 2006 pag. 5 of 8

surely better and it s covered into this manual. To configure the JNDI global repository resource do the following steps: o Edit the file EXO-INST-FILES/conf/server.xml. o Search for the string <Resource name="cms/spagobicms" ; o Copy entirely the <Resource> tag and the subsequent <ResourceParams> tag o Edit the file EXO-HOME/conf/server.xml o Inside tag named GlobalNamingResources paste the piece of xml previously copied The xml copied contains two parameters which have to be configured o ConfigFilePath (path of the jackrabbit configuration file) o RepHomeDir (path to the folder which will be the root of the repository) You have simply to replace the string EXO-HOME whith the path of your exo tomcat installation directory. Example: if your exo tomcat is installed into a directoy C:\Programs\exo-tomcat you have to replace EXO-HOME with /Programs/exo-tomcat 5.4 Install SpagoBI platform Connect to http://forge.objectweb.org/projects/spagobi, select the file tab and then download the SpagoBI-bin-1.8.zip. Extract from the zip archive the file SpagoBI/spagobi.war and copy it into EXO-HOME/webapps folder. Copy the file spagobi.xml EXO-INST-FILES/conf/Catalina/localhost to EXO-HOME/conf/ Catalina/localhost. Start the server (with exo-home/bin/exo-run.bat or.sh) and after stop it (this operation will explode the spagobi.war just copied) 5.4.1 Configure Hibernate SpagoBI uses Hibernate to manage metadata. Since SpagoBI can use different databases, hibernate must be configured in order to use the correct settings and sql dialect. Into the folder exohome/webapps/spagobi/web-inf/classes there are four hibernate configuration files, one for each database supported: o hibernate.cfg.xml (postgres database) o hibernate.cfg.ora.xml (oracle database) o hibernate.cfg.mysql.xml (mysql database) o hibernate.cfg.hsql.xml (hsql database) You must define which file must be used based on your database: o edit the file exo-home/webapps/spagobi/web-inf/conf/spagobi/spagobi.xml o search for the tag <HIBERNATE-CFGFILE> o change its value putting the name of the correct hibernate configuration file (the default is for hsqldb) SpagoBI exo Tomcat Installation Manual ver 1.3 May, 18 th 2006 pag. 6 of 8

5.5 Install Engines 5.5.1 Install SpagoBIJasperReportEngine o Connect to http://forge.objectweb.org/projects/spagobi, select the file tab and then download the file SpagoBIJasperReport-bin-1.8.zip. Extract from the zip archive the file SpagoBI/SpagoBIJasperReportEngine.war and copy it into the EXO_HOME/webapps folder; o copy the file SpagoBIJasperReportEngine.xml from EXO-INST- FILES/conf/Catalina/localhost into EXO-HOME/conf/Catalina/localhost. 5.5.2 Install SpagoBIJPivotEngine o Connect to http://forge.objectweb.org/projects/spagobi, select the file tab and then download the file SpagoBIJPivotEngine-bin-1.8.zip. Extract from the zip archive the file SpagoBI/SpagoBIJPivotEngine.war and copy it into the EXO-HOME/webapps folder. o Copy the file SpagoBIJPivotEngine.xml from EXO-INST- FILES/conf/Catalina/localhost into EXO-HOME/conf/Catalina/localhost 5.6 Install Example Portal (Optional) After the execution of the previous steps you should be able to connect to exo portal, imports SpagoBI portlets and define your own portal pages. (look at exo documentation for information and instructions). However our distribution contains also a simple portal, which can be installed over exo platform, useful to test SpagoBI portlets. To install the test portal: o copy the EXAMPLE-PORTAL/sbiportal.war into EXO-HOME/webapps folder o copy the EXAMPLE-PORTAL/sbiportal.xml into EXO-HOME/conf/Catalina/locahost folder o start the server At the end you should be able to connect to the url http://localhost:8080/sbiportal. The example portal defines four users: o biadmin (password=biadmin): his pages contains the SpagoBI administration portlet o bidev (password=bidev): his pages contains the SpagoBI development portlet o bitest (password=bitest): his page contains the SpagoBI execution portlet with the possibilty to view documents in test state o biuser (password=biuser): his page contains the SpagoBI execution portlet SpagoBI exo Tomcat Installation Manual ver 1.3 May, 18 th 2006 pag. 7 of 8

SpagoBI exo Tomcat Installation Manual ver 1.3 May, 18 th 2006 pag. 8 of 8