SpagoBI Web Application Jboss 4.0.3SP1 Installation Manual 1.0.

0

SpagoBI 1.9.4 Web Application for Jboss 4.0.3SP1 Installation Manual 1.0.0a
Authors Yannick LE NY from the original document
SpagoBI Web Application Tomcat Installation Manual 1.0.0 created by

Bernabei Angelo Zerbetto Davide

SpagoBI Web Application Jboss 4 . 0 . 3 S P 1 Installation Manual ver 1.0.0 October,2th 2008 page 1 of 29
Yannick LE NY Engineering Ingegneria Informatica S.p.A., 2005. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/

SpagoBI Web Application Jboss 4.0.3SP1 Installation Manual 1.0.0

Index
1 VERSION.............................................................................................................................................3 2 DOCUMENT GOAL..........................................................................................................................3 3 REFERENCES....................................................................................................................................3 4 INSTALL SPAGOBI .........................................................................................................................3 4.1 INSTALL ADDITIONAL LIBRARIES AND CONFIGURATION FILES....................................................................4 4.2 INSTALL THE METADATA DATABASE..................................................................................................5 4.2.1 Install the database driver....................................................................................................6 4.2.2 Configuring Datasource as JNDI Resource.........................................................................7 4.3 INSTALL SPAGOBI PLATFORM...........................................................................................................8 4.3.1 Configure Hibernate ............................................................................................................9 4.3.2 Configure Quartz...............................................................................................................10 4.4 INSTALL CMS REPOSITORY.............................................................................................................11 4.5 AUTHENTICATION AND AUTHORIZATION............................................................................................12 4.5.1 Usign Ldap system..............................................................................................................12 4.5.2 Usign xml files....................................................................................................................16 4.6 INSTALL ENGINES.........................................................................................................................19 4.6.1 Install SpagoBIJasperReportEngine.................................................................................19 4.6.2 Install SpagoBIJPivotEngine.............................................................................................19 4.6.3 Install SpagoBIQbeEngine................................................................................................19 4.6.4 Install SpagoBIBirtReportEngine......................................................................................20 4.6.5 Install SpagoBIWekaEngine..............................................................................................20 4.6.6 Install SpagoBIGeoEngine................................................................................................21 4.6.7 Install SpagoBIJPXMLAEngine........................................................................................21 4.6.8 Install SpagoBITalendEngine.............................................................................................22 4.7 CONFIGURE THE ENGINES................................................................................................................24

SpagoBI Web Application Jboss 4 . 0 . 3 S P 1 Installation Manual ver 1.0.0 October,2th 2008 page 2 of 29
Yannick LE NY Engineering Ingegneria Informatica S.p.A., 2005. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/

3SP1 Installation Manual 1.it/) Spago framework (available at http://spago.net/project/showfiles. To view a copy of this license.zip and simply unzip it into your file system: download.php? group_id=22866&package_id=16942&release_id=365509 remove all the libraries contained into jboss-home/lib/endorsed (resolver.9.eng. 2th 2008 Minor corrections by Yannick LE NY Version/Release n° : Update description: 2 Document goal This document provides a step by step description for SpagoBI 1.0.gz (Linux/Unix) file: http://sourceforge.3SP1 directory.jar.it) JBoss application server (available at http://www.0 Data Version/Release : September.org) 4 Install SpagoBI We assume that you use the java version 1. xercesImpl. the version JBoss 4. Here there is the direct link to the jboss-4. 2005.bat (in a windows environment) or run.A.sh (in a unix environment).zip (MS Windows) or jboss-4. visit http://creativecommons.0/ .0. in the following we will refer to the Jboss base directory as JBOSS-HOME or here the /home/spagobi/spagobi_194/jboss-4.3SP1 server.jar.3SP1.0. from Jboss download page.5.4 Web Application installation steps on a Jboss Server 4.0.3SP1 and unzip it into your file system (jboss-home).9. xalan. 0 .3SP1.3SP1. wait until the command ends up with the message ‘[Server] JBoss (MX MicroKernel) [4. the file jboss-4.0.0.jboss.0.0.jar.3SP1 by Yannick LE NY from the original document “SpagoBI Web Application Tomcat Installation Manual 1. To get a working copy of a JBoss 4.0.0.0..0 October.3SP1.p.2th 2008 page 3 of 29 Engineering Ingegneria Informatica S. 3 S P 1 Installation Manual ver 1.0” created by Bernabei Angelo and Zerbetto Davide 1.0. To test the Jboss installation go to JBOSS-HOME/bin and run the command run.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in xs:xxx ms’ and then connect with a browser to the url SpagoBI Web Application Jboss 4 .3SP1 server you can download.jar ) 3 References Some of the concepts of this document refer to the following documentation: SpagoBI business intelligence platform framework (available at http://spagobi.0. .0.eng.tar.x and that you have correctly installed a Jboss 4.4 Web Application installation and configuration on a Jboss Server 4. 26th 2008 SpagoBI 1.0. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. from the JBoss site.0.0a Data Version/Release : October. xml-apis.0 1 Version Version/Release n° : Update description: 1.SpagoBI Web Application Jboss 4.org/licenses/by-nc-sa/2.

org/projects/spagobi). Copy the JBOSS-INST-FILES/sbidata folder into your JBOSS-HOME.p.4_xxx. 3 S P 1 Installation Manual ver 1.3SP1 Installation Manual 1. in the following we will refer to this folder as EXAMPLE_PORTAL.3SP1 installation nd contains some required libraries and files. 2005.0.0. The unzip operation produces a folder ‘SpagoBIUtilityFiles’ which contains ‘spagobi-web’.jar ) 5) Here we have now the /home/spagobi/spagobi_194/jboss-4.1.0/ .SpagoBI Web Application Jboss 4. 1) We choose to install Jboss in the /home/spagobi/spagobi_194 2) Copy the file jboss-4. (*) The following libraries will be copied into JBOSS-HOME/server/default/lib directory: ehcache-1.zip’. 2. ‘jboss-server’ and other folders. Connect to the SpagoBI page on the OW2 Forge (http://forge. 3. in the following we will refer to this folder as JBOSSFILES.gz file with tar ang gzip command line.0. 3) Go in the /home/spagobi/spagobi_194 directory and uncompress the jboss-4.2th 2008 page 4 of 29 Engineering Ingegneria Informatica S. download the file called ‘SpagoBIUtilityFiles-1.org/licenses/by-nc-sa/2.0.objectweb. 4. xml-apis. There's also another folder 'example-portal' which contains some files useful to install a new SpagoBI test portal (the installation of this example portal is not mandatory).3.jar.A.tar. and then unzip it.0 October.3SP1. click on the ‘File’ tab.jar.jar SpagoBI Web Application Jboss 4 . 0 .jar.0..tar.x and contains some required libraries and files.4.0 http://<<localhost>>:8080/.jar concurrent-1.sar inside your JBOSS-HOME/server/default/lib directory (*). visit http://creativecommons. ‘tomcat-server’.0.3SP1/lib/endorsed (resolver. 1.. xercesImpl.Copy the content of JBOSS-INST-FILES/lib inside your JBOSS-HOME/server/default/lib (***).3SP1. 4. Copy the jar files contained in JBOSS-INST-FILES/server/default/deploy/exoplatform. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. 4) remove all the libraries contained into /home/spagobi/spagobi_194/jboss-4. the Tomcat default home page should appear.Copy the jar files contained in TOMCAT-INST-FILES/lib inside your JBOSSHOME/server/default/lib (**).0.0. Before proceed stop the server.0. in the following we will refer to this folder as TOMCAT-INST-FILES. The folder ‘jboss-server’ respects the tree-folders structure of a Jboss4. To view a copy of this license. The folder contains the hsqldb metadata database and the root folder of the cms repository. The folder ‘spagobi-web’ respects the tree-folders structure of a Tomcat 6.9.1Install additional libraries and configuration files SpagoBI needs some additional libraries and configuration files in order to start correctly and manage metadata. xalan.3SP1 directory for the jboss-home directory..gz in the /home/spagobi/spagobi_194 directory or a directory that you choose for installing.

eclipse.0.jar to jdtcompiler-3.org/eclipse/downloads/drops/R-3.org/pipermail/jpackage-discuss/2005October/008945.3SP1 Installation Manual 1.org/licenses/by-nc-sa/2.1. if you want to use HSQLDB.php b) unzip the eclipse zip c) go in the eclipse-3.jar file into JBOSS-HOME/server/default/lib directory e) go into JBOSS-HOME/server/default/lib directory et rename the file jdtcore.jar library in the same folder in order to avoid conflicts).jar Note : use only jdt-compiler-3.jar file to use SpagoBI 1..3SP1.x. After the execution of the activities listed in the previous paragraph the hsqldb script is stored into JBOSS-HOME/sbidata/database.jar is not in the the file called ‘SpagoBIUtilityFiles-1.sh (on a linux/unix platform).1.core_3.0.X (5.jar don't work with Tomcat 5. but the file jdt-compiler-3.4 as Web Application.0. visit http://creativecommons.jar slf4j-log4j12.2.0.html ) 4.0.jar hsqldb1_8_0_2. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.2th 2008 page 5 of 29 Engineering Ingegneria Informatica S. With Jboss 4.jar xercesImpl. 3 S P 1 Installation Manual ver 1.5. a) Download the file eclipse-SDK-3. 0 .0 October.jar (!! remember to remove the existing hsqldb.0.SpagoBI Web Application Jboss 4.0.A.jar jcr-1.0.6. Anyway.0. you need jdt-compiler-3.2 directory d) copy the jdtcore. SQLServer and HSQLDB).2.2/eclipse/plugins/org. The command starts an HSQLDB SpagoBI Web Application Jboss 4 .eclipse. 2005.0.bat (on a windows platform) or JBOSSHOME/sbidata/database/start.0.jar . jdt-compiler-3.9.9) include in Jboss 4.jar dom4j-1. SpagoBI Utility files package contains an hsql database that can be used to test SpagoBI without installing a database server.jar ldap.3SP1.4_xxx. HSQL database is very useful for test purpose but is very weak in a production environment. To view a copy of this license. You need to do some steps to install it.2Install the Metadata Database SpagoBI metadata are stored in a database (for this release SpagoBI supports PostgresSQL.2-win32.jar (***) The following libraries will be copied into JBOSS-HOME/server/default/lib directory: commons-collections-3.jar (**) The following libraries will be copied into JBOSS-HOME/server/default/lib directory: portlet-api-1.zip’.1.zip at http://archive.x.p.0/ .jar jta-1. MySQL.0.0.0 jackrabbit-core-1.5.zarb.2. (See https://www. Oracle.2-200503110845/index. 5.9.0.0.0.1B.0. just exec the command JBOSSHOME/sbidata/database/start.jdt.

jar MySQL: mysql-connector-java-3.sql and then also PG_create_quartz_schema.zip.0-311. 4.objectweb.So. the comments of the table and finally to populate the schema with initial data. To view a copy of this license.jdbc2.2th 2008 page 6 of 29 Engineering Ingegneria Informatica S. 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.jar SpagoBI Web Application Jboss 4 .zip) and run in the following order the scripts PG_create.SpagoBI Web Application Jboss 4. one for the metadata and one for datawarehouse for example.1.9. select the file tab and then download the file called <<name of you database>>-dbscript-1. Because SpagoBI can be configured to connect to different database servers. (These scripts don’t contain the examples data as the hsqldb). If you don't want to use hsqldb you have the possibility to choose between PostgresSQL. 0 .4.A.1Install the database driver Before to proceed with persistence configuration we must install the database drivers packages in the application server. 3 S P 1 Installation Manual ver 1. 2005. Oracle SQLServer and MySQL. you must obtain the specific drivers for every database server used by SpagoBI. The drivers package can be obtained from database vendors site and for the current SpagoBI release we test the following versions: Postgresql : postgresql-8.sql.org/projects/spagobi.0 October.jar Oracle: ojdbc14. 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. connect to http://forge. PG_insert.4.sql.jar (contained into JBOSS-INST-FILES/server/default/lib) SQLServer: sqljdbc.10-bin. Once you have a functional database server you must create a new database for the metadata (“spagobi” is the database name suggested).0.3SP1 Installation Manual 1. 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.p.0.9. Remember that every time you start the Jboss server to work with SpagoBI the database server must be running.. If you don’t have anyone of these database servers installed you need to install one of them.2. For each database server supported you need to download from the SpagoBI Repository a zip archive containing the sql script to create the schema.0.0/ . visit http://creativecommons.jar HSQLDB: hsqldb1_8_0_2.org/licenses/by-nc-sa/2.0 server (listening on port 9002) with a ‘spagobi’ databases already populated with the necessary data. Example: if you have a postgresql database server you need to download the relative archive (postgres-dbscript-1. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.

jar library and remember to remove the existing hsqldb. 3 S P 1 Installation Manual ver 1. you need to change them.org/licenses/by-nc-sa/2. To configure the JNDI resources do the following steps: Copy from JBOSS-INST-FILES/server/default/deploy/ the file spagobi-ds. visit http://creativecommons. This testing database is stored in the sbidata/database directory. you have this configuration : <?xml version="1. port : 9002. Based on your database change the value of the following parameters:  driverClassName  url  username  password Edit the spagobi-ds.2Configuring Datasource as JNDI Resource SpagoBI needs a JNDI datasource for the metadata database.SpagoBI Web Application Jboss 4. password : nothing.The maximum connections in a pool/sub-pool --> <max-pool-size>20</max-pool-size> <metadata> SpagoBI Web Application Jboss 4 . This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.0 The driver jar of the corresponding database you use have to be put under JBOSSHOME/ server/default/lib. (The default value are suitable for hsqldb).2.0" encoding="UTF-8"?> <datasources> <local-tx-datasource> <jndi-name>spagobi</jndi-name> <connection-url>jdbc:hsqldb:hsql://localhost:9002/spagobi</connection-url> <driver-class>org. password.0.xml .jdbcDriver</driver-class> <user-name>sa</user-name> <password></password> <min-pool-size>5</min-pool-size> <!-. The xml copied configures a new jndi datasource for the metadata database. 0 .hsqldb. user: sa . database : spagobi).xml into JBOSSHOME/server/default/deploy/. 4.xml file and change the properties connection-url. The default values are for the SpagoBI hsql database and. Pay attention: If you decide to use the SpagoBI hsqldb example database add into JBOSS-HOME/server/default/lib the hsqldb1_8_0_2. In the default spago-ds.jar library in the same folder in order to avoid conflicts. 2005. (Host : localhost. driver-class.2th 2008 page 7 of 29 Engineering Ingegneria Informatica S.p. for testing with hsqldb database.0 October.0.A. SpagoBI is provided with a hsqldb database for testing but not for production. user-name.0.. if you are using another database server.3SP1 Installation Manual 1. To view a copy of this license. type-mapping with the right value for the connection to your SpagoBI database.0/ .

xml contained in JBOSS-HOME/server/default/deploy/spagobi. 0 .TreeInitializer" config="SPAGOBI.0. Search the tag <LANGUAGE_SUPPORTED> and set to true the ‘default’ attribute of the children LANGUAGE tag.. (To unzip a war file you need first to rename its extension form war to zip).zip file and then copy the parent spagobi. you need this configuration : <LANGUAGE_SUPPORTED> <LANGUAGE default="false" language="it" country="IT" /> <LANGUAGE default="false" language="en" country="US" /> <LANGUAGE default="true" language="fr" country="FR" />.TREE_INITIALIZATION" />  Edit the file web.war/ WEB-INF and comment the definitions and mappings of the portlet listener and portlet servlet: [. To view a copy of this license. 2005.zip.3 Install SpagoBI platform Connect to http://forge. Note : Some menus and messages could be not translated because there is no translation file created for them.org/licenses/by-nc-sa/2.org/projects/spagobi.. Delete the spagobi.war and rename it as spagobi. 'img'.spagobi.0 <type-mapping>Hypersonic SQL</type-mapping> </metadata> </local-tx-datasource> </datasources> 4. Create a folder with the name spagobi.xml contained into JBOSS-HOME/server/default/deploy/spagobi.war directory into JBOSSHOME/server/default/deploy/ folder.war' folder which contains other subfolders 'jsp'. Be sure that one and only one of the LANGUAGE tags have the ‘default’ attribute set to true.p.security.3SP1 Installation Manual 1.2th 2008 page 8 of 29 Engineering Ingegneria Informatica S.war/ WEB-INF/conf and uncomment the following initializers: <INITIALIZER class="it. Example: if you want to have menus and messages in french.init.0 October.0/ ..  Edit the file initializer..A. Extract from the zip archive the file spagobi.4_xxx. select the file tab and then download the ‘SpagoBI-bin-1.spagobi.eng.war/WEBINF/conf/spagobi and: Search the tag <SPAGOBI-MODE> and change the attribute 'mode' to 'WEB': <SPAGOBI-MODE mode="WEB" /> Search the tag <SPAGOBI_CONTEXT_PATH> and replace the value with your SpagoBI installation URL (you have simply to change the server name and port).war and unzip the file spagobi.eng.init.] <!-<listener> SpagoBI Web Application Jboss 4 .zip inside it. etc.objectweb.zip’. Example: if you have installed SpagoBI on a server call myhost and the server is listening on port 5000 the value must be http://myhost:5000/spagobi (default Tomcat server port is 8080). Edit the file spagobi.xml contained into JBOSS-HOME/server/default/deploy/spagobi.9. 3 S P 1 Installation Manual ver 1.0. At the end you should have a 'spagobi.SecurityInitializer" config="" /> <INITIALIZER class="it.SpagoBI Web Application Jboss 4. 'WEB-INF'.0. visit http://creativecommons. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. corresponding to your language.

hsql.ora..war/WEB-INF/conf/ spagobi/spagobi..hsql.xml (sqlserver database) You must define which file must be used based on your database: edit the file JBOSS-HOME/server/default/deploy/spagobi. one for each database supported: hibernate.. Since SpagoBI can use different databases.postgres..png 4.png to map64.cfg.0.war/components/mapcatalogue/img/ mapManagement. 2005.cfg. 0 .PortletApplicationListener</listenerclass> </listener> --> [.cfg.mysql.xml</HIBERNATE-CFGFILE> SpagoBI Web Application Jboss 4 .portletcontainer.services.cfg.servlet.2th 2008 page 9 of 29 Engineering Ingegneria Informatica S.cfg.ServletWrapper</servlet-class> </servlet> --> [. Into the folder JBOSSHOME/server/default/deploy/spagobi.exoplatform.]  copy the file JBOSS-HOME/server/default/deploy/spagobi. visit http://creativecommons.portletcontainer.] <!-<servlet-mapping> <servlet-name>PortletWrapper</servlet-name> <url-pattern>/PortletWrapper</url-pattern> </servlet-mapping> --> [. 3 S P 1 Installation Manual ver 1.png into JBOSS-HOME/server/default/deploy/spagobi.xml search for the tag <HIBERNATE-CFGFILE> change its value putting the name of the correct hibernate configuration file (the default is for hsqldb) Example : the line for hsqldb databases is : <HIBERNATE-CFGFILE>hibernate.xml (postgres database) hibernate.servlet. rename the file mapManagement.sqlserver. To view a copy of this license.xml (mysql database) hibernate.A.xml (oracle database) hibernate.cfg..0.exoplatform.3SP1 Installation Manual 1.war/WEB-INF/classes there are five hibernate configuration files..org/licenses/by-nc-sa/2..0. hibernate must be configured in order to use the correct settings and sql dialect.1Configure Hibernate SpagoBI uses Hibernate to manage metadata.0/ .impl.p. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.xml (hsql database) hibernate.war/img/wapp directory..0 <listener-class>org.3..] <!-<servlet> <servlet-name>PortletWrapper</servlet-name> <servlet-class>org..services.SpagoBI Web Application Jboss 4. In the BOSS-HOME/server/default/deploy/spagobi.impl.0 October.war/img/wapp directory.

dataSource. 0 .jndiURL=java:comp/env/jdbc/spagobi #org. Under this split line there's the same property repeated four times (org.jobStore. .maxConnections = 20 #org. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.URL = jdbc:hsqldb:hsql://localhost:9002/spagobi #org.dataSource. In order to properly configure it do the following steps: edit the file TOMCAT-HOME/webapps/spagobi/WEB-INF/classes/quartz.driver = org.driver = org.quartz.quartz.p.dataSource.war/WEBINF/classes/quartz.quartz. visit http://creativecommons.quartz.dataSource.quartz.dataSource.RAMJobStore org.driverDelegateClass) based on your SpagoBI database server (HSQLDB..quartz.2 Configure Quartz The SpagoBI scheduler feature is based on Quartz technology.quartz.quartz..quartz.quartz.quartz.quartz.jobStore.3. Oracle.driverDelegateClass) .URL and change its value putting the url of your SpagoBI metadata database search the string org.quartz.simpl.dataSource.quartz.0/ .password and change their values putting the username and password for the connection to your SpagoBI metadata database Example for testing with the hsqldb database provided with SpagoBI : #-------------.properties search the string 'job store delegate class'.class = org.) you have to uncomment the right one and obviously to comment the others (to comment a row just place a # at the beginning) The SpagoBI scheduler feature is based on Quartz technology.quartz.2th 2008 page 10 of 29 Engineering Ingegneria Informatica S.START JOB STORE -------------------------------------------#org.dataSource. Under this split line there's the same property repeated four times (org.quartz.JobStoreTX org..quartz..jobStore.quartz.jdbcDriver #org.dataSource.hsqldb. In order to configure it do the following steps: edit the file JBOSS-HOME/server/default/deploy/spagobi.URL = jdbc:postgresql://localhost:5432/quartz SpagoBI Web Application Jboss 4 .dataSource.quartz.quartz.quartz.dataSource. Based on your SpagoBI database server (HSQLDB.properties search the string 'job store delegate class'.jndiURL and comment it (type a # as the first characther of the row) search the string org.0.SpagoBI Web Application Jboss 4. Quartz is a library which can store its metadata into a database.0 4. Quartz is a library which can store its metadata into a database: in the default configuration this database is the SpagoBI one.quartz.postgresql. 2005. To view a copy of this license.org/licenses/by-nc-sa/2. For the SpagoBI installation the quartz metadata database can be the same as the SpagoBI one.quartz.0.jdbcjobstore.password = #org.user and org.jobStore.dataSource.user = sa #org.quartz.dataSource.quartz.quartz.3SP1 Installation Manual 1. . Oracle.impl.0 October.A.quartz.quartz.driver and change its value putting the driver class name for your SpagoBI metadata database search the string org.quartz.Driver #org.class = org. 3 S P 1 Installation Manual ver 1.) you have to uncomment the right one and obviously to comment the others (to comment a row just place a # at the beginning) search the string org.quartz.quartz..0.quartz.dataSource.

quartz.quartz.xml (contained into JBOSS-HOME/server/default/deploy/ spagobi. open the file cms-jboss-jonas.quartz.SpagoBI Web Application Jboss 4. also for Windows system it must contain only / separator and it must start with / (no c:\ for example).impl.p.. visit http://creativecommons.impl.driverDelegateClass=org. Using JBoss server it's necessary to initialize the repository directly.0 October.jdbcjobstore.jdbcjobstore.xml (contained into JBOSS-HOME/server/default/deploy/ spagobi.driverDelegateClass=org. SpagoBI can be configured to initialize directly the repository or to get it as a jndi resource. 2005.war/WEBINF/conf and substitute ${SERVER_HOME} with the actual path of JBOSS-HOME in the definition of the parameters ‘repository_path’ (this property indicates the folder in which JackRabbit will store contents) and ‘conf_file_path’ (this property indicates the file for Jackrabbit configuration).quartz.0.jar you find in JBOSSHOME/server/default/deploy/spagobi.user = postgres #org.dataSource.quartz. The connection is represented by a jsr 170 ‘Repository’ object which allows to open working session into the cms.oracle.quartz. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.war/WEB-INF/conf folder) into cms. 0 .jar in JBOSSHOME/server/default/lib with the commons-collections-3.StdJDBCDelegate # Postgres delegate class #org. 3 S P 1 Installation Manual ver 1. Pay attention at the path form.OracleDelegate #--------------------------------------------------------------------------- 4.quartz.PostgreSQLDelegate # Oracle delegate class #org.driverDelegateClass=org.xml At last you have to substitute the file commons-collections.impl.quartz.quartz.job store delegate class ----------------------------------# Hsqldb delegate class org.jobStore.1.3SP1 Installation Manual 1.2th 2008 page 11 of 29 Engineering Ingegneria Informatica S. copy the folder JBOSS-INST-FILES/sbidata into JBOSSHOME folder.4 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.0.war/WEB-INF/conf folder) or rename it into 'cms_tomcat.xml' rename the file cms-jboss-jonas.org/licenses/by-nc-sa/2.0.0 #org.jobStore.dataSource. To view a copy of this license.quartz.dataSource.0/ .quartz.driverDelegateClass=org. so: Only if you haven't already done it.xml in JBOSS-HOME/server/default/deploy/spagobi.quartz.jobStore.quartz.jdbcjobstore.A. An example path could be '/ Programs/exo-jboss' delete the file cms.jdbcjobstore.war/WEB-INF/lib SpagoBI Web Application Jboss 4 .impl.password = postgres #org.jobStore.quartz.maxConnections = 5 #-------------.HSQLDBDelegate # Mysql delegate class #org.

dc= spagobi. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. 2005.ldif schema: dn: dc=spagobi.0.dc=org objectclass: dcObject objectclass: organization o: SpagoBI dc: spagobi dn: cn=root. for groups dn:ou=Group.2th 2008 page 12 of 29 Engineering Ingegneria Informatica S.A. To view a copy of this license.3SP1 Installation Manual 1.1Usign Ldap system The provided implementation is based on Novel library (Open Source) to connect to OpenLDAP.0.SpagoBI Web Application Jboss 4.dc=org ou: Group objectClass: top objectClass: organizationalUnit At this point we can add groups and users. 4. Just for example we can add the groups “Gruppo_A” and “Gruppo_B” and the user “biadmin” (see figures below). for users dn:ou=People. you have to add group and user directories using its graphical client (JXPlorer) as per the following .0/ .dc=spagobi.dc=spagobi. SpagoBI Web Application Jboss 4 .0 4.p.0.org/licenses/by-nc-sa/2.5 Authentication and authorization Authentication and authentication can be perfomed connecting to an external Ldap system or using predefined xml files..dc= org objectclass: organizationalRole cn: root # OU=People.dc=org ou: People objectClass: top objectClass: organizationalUnit # OU=Group.5.0 October. When you have installed and configured OpenLDAP. 0 . 3 S P 1 Installation Manual ver 1. visit http://creativecommons.

. To view a copy of this license.2th 2008 page 13 of 29 Engineering Ingegneria Informatica S.0 SpagoBI Web Application Jboss 4 .p.0. visit http://creativecommons.0 October.0. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.SpagoBI Web Application Jboss 4.0/ . 3 S P 1 Installation Manual ver 1.org/licenses/by-nc-sa/2.3SP1 Installation Manual 1. 0 .0. 2005.A.

dc=spagobi.dc=com cn: bidev sn: bidev givenName: bidev mail: bidev@spagobi.p.xml and check the information it contains: <CONFIG> <USER_DN>cn=*.org userPassword: **** [Inside TOMCAT-INST-FILES\ldif you find an example . used for connection ATTRIBUTES_ID: attributes list that will be retrieved by the LDAP system and loaded into user profile HOST: server that hosts the LDAP system PORT: connection port OBJECTCLASS: class that is used for users research SpagoBI Web Application Jboss 4 .0.dc=org objectClass: top objectClass: person objectClass: organizationalPerson ou: ou=Gruppo_A.dc=com</SEARCH_ROOT_GROUP> <OBJECTCLASS_GROUP>organizationalUnit</OBJECTCLASS_GROUP> <ATTRIBUTES_ID_GROUP>description</ATTRIBUTES_ID_GROUP> <ATTRIBUTES_ID_GROUP>OU</ATTRIBUTES_ID_GROUP> </CONFIG> where: USER_DN: it is the users' DN format.0.A. 2005. visit http://creativecommons.dc=spagobi.ou=Group. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.dc=spagobi.] When you have decided the groups/users structure on LDAP system.dc=com</SEARCH_ROOT> <OU_ATTRIBUTE>ou</OU_ATTRIBUTE> <SEARCH_ROOT_GROUP>ou=Group.org/licenses/by-nc-sa/2. Edit JBOSS-HOME/server/default/deploy/spagobi. 0 .ou=People. ou=Group.SpagoBI Web Application Jboss 4.dc=com</USER_DN> <ADMIN_USER>cn=root.dc=spagobi.0.war/WEB-INF/conf/sbiwa_ldap_authorizations.ldif file with a definition of “bidev” user is the following: dn: uid=bidev. dc=com An example of . you have to verify that configuration files are suitable for the previous choices. 3 S P 1 Installation Manual ver 1.3SP1 Installation Manual 1..dc=com</ADMIN_USER> <ADMIN_PSW>*****</ADMIN_PSW> <ATTRIBUTES_ID name="nome">description</ATTRIBUTES_ID> <ATTRIBUTES_ID name="cognome">sn</ATTRIBUTES_ID> <ATTRIBUTES_ID name="userId">cn</ATTRIBUTES_ID> <ATTRIBUTES_ID name="titolo">title</ATTRIBUTES_ID> <ATTRIBUTES_ID name="telefono">telephoneNumber</ATTRIBUTES_ID> <HOST>localhost</HOST> <PORT>389</PORT> <OBJECTCLASS>person</OBJECTCLASS> <SEARCH_ROOT>ou=People.dc=spagobi.0 October.dc=spagobi.ou=People.dc=spagobi.ldif schema. To view a copy of this license.0 The user “biadmin” is associated to the groups by specifing the DN of the group in the “ou” attribute: for example ou=Gruppo_A.0/ .2th 2008 page 14 of 29 Engineering Ingegneria Informatica S. “*” character will be substitued by user identifier ADMIN_USER: administration LDAP user.

spagobi. SpagoBI verifies if a user role is authorized to perform a certain action: in order to permit this. 0 .0.0.4_xxx. visit http://creativecommons.eng. SpagoBI Web Application Jboss 4 .LdapUserProfileFactoryImpl" /> <ROLE-NAME-PATTERN-FILTER>.spagobi.2th 2008 page 15 of 29 Engineering Ingegneria Informatica S.LdapSecurityProviderInit </PORTAL-SECURITY-INIT-CLASS> <PORTAL-SECURITY-CLASS className="it.security.SpagoBI Web Application Jboss 4.0. To view a copy of this license.org/licenses/by-nc-sa/2. the administration password characters must be edited using Spago “DefaultCipher” class.eng..3SP1 Installation Manual 1.eng.9.xml contained in JBOSS-HOME/server/default/deploy/spagobi.security.p.init.war/WEB-INF/lib.*</ROLE-NAME-PATTERN-FILTER> </SECURITY> Please note that you need to put inside the spagobi/WEB-INF/lib directory the jar of the ldap security provider implementation: download the file SpagoBILdapSecurityProviderbin-1.xml: <ENTITIES> <FUNCTIONALITIES> <FUNCTIONALITY functionalityName="EnginesManagement" description="EnginesManagement" /> <FUNCTIONALITY functionalityName="FunctionalitiesManagement" description="FunctionalitiesManagement" /> <FUNCTIONALITY functionalityName="LovsManagement" description="LovsManagement" /> <FUNCTIONALITY functionalityName="ConstraintManagement" description="ConstraintManagement" /> <FUNCTIONALITY functionalityName="ParameterManagement" description="ParameterManagement" /> <FUNCTIONALITY functionalityName="DocumentManagement" description="DocumentManagement" /> </FUNCTIONALITIES> </ENTITIES> <RELATIONS> <PRIVILEDGES> <PRIVILEDGE roleName="sbi_admin" functionalityName="EnginesManagement" /> <PRIVILEDGE roleName="sbi_admin" functionalityName="FunctionalitiesManagement" /> <PRIVILEDGE roleName="sbi_admin" functionalityName="LovsManagement" /> <PRIVILEDGE roleName="sbi_admin" functionalityName="ConstraintManagement" /> <PRIVILEDGE roleName="sbi_admin" functionalityName="ParameterManagement" /> <PRIVILEDGE roleName="sbi_admin" functionalityName="DocumentManagement" /> </PRIVILEDGES> </RELATIONS> Edit the file spagobi.security. 2005.war/WEBINF/conf/spagobi and change the security configuration (<SECURITY> tag) to: <SECURITY> <PORTAL-SECURITY-INIT-CLASS> it.4.zip from SpagoBI donwload page and extract the contained file sbi.jar into JBOSS-HOME/server/default/deploy/spagobi.A.security.spagobi.0 October.LdapSecurityProviderImpl"> <CONFIG /> </PORTAL-SECURITY-CLASS> <USER-PROFILE-FACTORY-CLASS className="it.0/ . you have to associate each role to its set of permitted functionalities in file TOMCAT_HOME\webapps\ spagobi\WEB-INF\conf\sbiwa_ldap_authorizations. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.9.0 SEARCH_ROOT: initial path for users research OU_ATTRIBUTE: name of the user attribute that identifies the belonging group SEARCH_ROOT_GROUP: initial path for groups research OBJECT_CLASS_GROUP: class that is used for groups research ATTRIBUTES_ID_GROUP: groups attributes Note: for security reason. 3 S P 1 Installation Manual ver 1.ldap-1.

zip from SpagoBI donwload page (http://forge.2Usign xml files The provided solution reads user and goups configuration from xml files and it was developed only for test purposes.3SP1 Installation Manual 1.SpagoBI Web Application Jboss 4.9.p.0 4.war/WEB-INF/conf/sbiwa_authorizations.jar into JBOSSHOME/server/default/deploy/spagobi. as seen for Ldap authorization.. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.you need to put inside the spagobi/WEB-INF/lib directory the jar of the xml security provider implementation: download the file SpagoBIXmlSecurityProviderbin-1. 0 .do the followings steps : a) Only if you haven't already done it. In this file you can associate also roles with functionalities.war/WEB-INF/conf/master.org/project/showfiles. visit http://creativecommons.0 October.xml file is enabled in the file JBOSS-HOME/server/default/deploy/spagobi.4.xml-1.9.objectweb.0.4_xxx.5.xml file is disabled and that sbiwa_authorizations.org/licenses/by-nc-sa/2.. Here you find an example: <?xml version="1.php? group_id=204) and extract the contained file sbi.. 2005.security.0.0/ .war/WEB-INF/lib.xml.2th 2008 page 16 of 29 Engineering Ingegneria Informatica S. To view a copy of this license.0.0" encoding="ISO-8859-1"?> <AUTHORIZATIONS default="FALSE"> <ENTITIES> <USERS> <USER userID="biadmin" password="biadmin" /> <USER userID="bidev" password="bidev" /> </USERS> <ROLES> <ROLE roleName="/spagobi/admin" description="/spagobi/admin" /> <ROLE roleName="/spagobi/dev" description="/spagobi/dev" /> </ROLES> <RESOURCES></RESOURCES> <APPLICATIONS></APPLICATIONS> </ENTITIES> <RELATIONS> <BEHAVIOURS> <BEHAVIOUR userID="biadmin" roleName="/spagobi/admin" /> <BEHAVIOUR userID="bidev" roleName="/spagobi/dev" /> </BEHAVIOURS> <PRIVILEDGES> <PRIVILEDGE roleName="/spagobi/admin" functionalityName="EnginesManagement" /> <PRIVILEDGE roleName="/spagobi/admin" functionalityName="FunctionalitiesManagement" /> <PRIVILEDGE roleName="/spagobi/admin" functionalityName="LovsManagement" /> <PRIVILEDGE roleName="/spagobi/admin" functionalityName="ConstraintManagement" /> <PRIVILEDGE roleName="/spagobi/admin" functionalityName="ParameterManagement" /> <PRIVILEDGE roleName="/spagobi/admin" functionalityName="DocumentAdministration" /> <PRIVILEDGE roleName="/spagobi/admin" functionalityName="ImportExport" /> <PRIVILEDGE roleName="/spagobi/admin" functionalityName="Scheduler" /> <PRIVILEDGE roleName="/spagobi/admin" functionalityName="Events" /> <PRIVILEDGE roleName="/spagobi/admin" functionalityName="WorkspaceExec" /> <PRIVILEDGE roleName="/spagobi/dev" functionalityName="LovsManagement" /> <PRIVILEDGE roleName="/spagobi/dev" functionalityName="ConstraintManagement" /> <PRIVILEDGE roleName="/spagobi/dev" functionalityName="ParameterManagement" /> <PRIVILEDGE roleName="/spagobi/dev" functionalityName="DocumentAdministration" /> </PRIVILEDGES> </RELATIONS> </AUTHORIZATIONS> To activate this feature to have user and goups configuration in XML files. 3 S P 1 Installation Manual ver 1. SpagoBI Web Application Jboss 4 . b) Make sure that sbiwa_ldap_authorizations.A.xml: . Users and groups (with their associations) are defined in file JBOSS-HOME/server/default/deploy/ spagobi.

xml" /> --> <!-.0.eng.XmlSecurityProviderImpl"> <CONFIG /> </PORTAL-SECURITY-CLASS> <USER-PROFILE-FACTORY-CLASS className="it.init.security.0/ .xml contained in JBOSS-HOME/server/default/deploy/spagobi.spagobi.war/WEBINF/conf/spagobi and change the security configuration (<SECURITY> tag) to: <SECURITY> <PORTAL-SECURITY-INIT-CLASS> it.SpagoBI Web Application Jboss 4.3SP1 Installation Manual 1.eng.END WEB APPLICATION --> c) Edit the file spagobi.spagobi.*</ROLE-NAME-PATTERN-FILTER> </SECURITY> <!---> Comment this part : <!-. 0 .2th 2008 page 17 of 29 Engineering Ingegneria Informatica S.xml" /> <!-.0.A.0 <CONFIGURATOR path="/WEB-INF/conf/sbiwa_authorizations. 2005.XmlSecurityProviderInit</PORTAL-SECURITY-INIT-CLASS> <PORTAL-SECURITY-CLASS className="it.0 October.0.security. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.XmlSecurityProviderInit </PORTAL-SECURITY-INIT-CLASS> <PORTAL-SECURITY-CLASS className="it. To view a copy of this license.security.eng.*</ROLE-NAME-PATTERN-FILTER> </SECURITY> More detailed step to change the security provider Uncomment this part : <!-.spagobi.org/licenses/by-nc-sa/2.XmlUserProfileFactoryImpl" /> <ROLE-NAME-PATTERN-FILTER>.. visit http://creativecommons.security.spagobi.spagobi.p.eng.eng.<CONFIGURATOR path="/WEB-INF/conf/sbiwa_ldap_authorizations.XmlUserProfileFactoryImpl" /> <ROLE-NAME-PATTERN-FILTER>.spagobi.XmlSecurityProviderImpl"> <CONFIG /> </PORTAL-SECURITY-CLASS> <USER-PROFILE-FACTORY-CLASS className="it. 3 S P 1 Installation Manual ver 1.Xml (Spago framework) security Provider --> <!---> <SECURITY> <PORTAL-SECURITY-INITCLASS>it.security.Exo security Provider --> <!-- SpagoBI Web Application Jboss 4 .eng.init.security.xml" /> <CONFIGURATOR path="/WEB-INF/conf/sbiwa_menu.

3SP1 Installation Manual 1.spagobi.0 October. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.0.eng.0.eng.security.0/ .org/licenses/by-nc-sa/2.ExoPortalSecurityProviderInit</PORTAL-SECURITY-INIT-CLASS> <PORTAL-SECURITY-CLASS className="it..security. To view a copy of this license.ExoGroupAsRoleUserProfileFactoryImpl"> </USER-PROFILE-FACTORY-CLASS> <ROLE-NAME-PATTERN-FILTER>. 0 .spagobi.0 <SECURITY> <PORTAL-SECURITY-INITCLASS>it.spagobi.2th 2008 page 18 of 29 Engineering Ingegneria Informatica S. 3 S P 1 Installation Manual ver 1. 2005.p.eng.A.SpagoBI Web Application Jboss 4.init.ExoGroupAsRoleSecurityProviderImpl"> <CONFIG> <NAME_PORTAL_APPLICATION>portal</NAME_PORTAL_APPLICATION> </CONFIG> </PORTAL-SECURITY-CLASS> <USER-PROFILE-FACTORY-CLASS className="it. visit http://creativecommons.*</ROLE-NAME-PATTERN-FILTER> </SECURITY> --> SpagoBI Web Application Jboss 4 .security.0.

6.jasperreport.jar already available in Jboss server.war directory into JBOSSHOME/server/default/deploy folder. visit http://creativecommons. version 1. 3 S P 1 Installation Manual ver 1.drivers.2.Extract from the zip archive the file SpagoBIJasperReportEngine.jar (file log4j.0. select the file tab and then download the file ‘SpagoBIQbeEngine-bin-1. version 1.zip’.4_xxx. select the file tab and then download the file ‘SpagBIJPivotEngine-bin-1.8.7 Configure external engines): document type: Report engine type: External driver class: it.2th 2008 page 19 of 29 Engineering Ingegneria Informatica S.3SP1 Installation Manual 1. Create a new folder named SpagoBIJPivotEngine.drivers.zip.0 October.org/projects/spagobi.zip file and then copy the parent SpagoBIJasperReportEngine.eng.8) Using the SpagoBI administration web application define a new External Engine with (see chapter 4.zip.8.9. 2005.org/projects/spagobi. 4.0/ .6.org/projects/spagobi.objectweb.spagobi. 4. select the file tab and then download the file ‘SpagoBIJasperReportEngine-bin-1.zip inside it. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.9.4_xxx. Remove the following jar files from JBOSS-HOME/server/default/deploy/ SpagoBIJPivotEngine.zip’.war directory into JBOSSHOME/server/default/deploy folder.eng.spagobi.4_xxx.0.2 Install SpagoBIJPivotEngine Connect to http://forge.A. Delete the SpagoBIJPivotEngine.2.JPivotDriver url: http://<server>:<port>/ SpagoBIJPivotEngine/JPivotServlet.zip file and copy the parent SpagoBIJPivot.objectweb.war and rename it as SpagoBIJasperReportEngine. Extract from the zip archive the file SpagoBIJPivotEngine.objectweb.war and unzip the file SpagoBIJasperReportEngine.zip’.jpivot.9. Delete the SpagoBIJasperReportEngine.war and unzip the file SpagoBIJPivotEngine.jar (file log4j.1 Install SpagoBIJasperReportEngine Connect to http://forge.6.war/WEB-INF/lib log4j-1.JasperReportDriver url: http://<server>:<port>/SpagoBIJasperReportEngine/JasperReportServlet.0 4.jar already available in Jboss server. Create a folder with the name SpagoBIJasperReportEngine.SpagoBI Web Application Jboss 4.2..7 Configure external engines): document type: On-line analytical processing engine type: External driver class: it.p.3 Install SpagoBIQbeEngine Connect to http://forge.org/licenses/by-nc-sa/2.war and rename it as SpagoBIJPivotEngine.6 Install Engines 4.0. 0 . Remove the following jar files from JBOSS-HOME/server/default/deploy/ SpagoBIJasperReportEngine.8) Using the SpagoBI administration web application define a new External Engine with (see chapter 4. Extract from the zip archive the file SpagoBI Web Application Jboss 4 .2.zip inside it. To view a copy of this license.war/WEB-INF/lib log4j-1.

7 Configure external engines): document type: Datamart Model engine type: External driver class: it. Create a new folder named SpagoBIWekaEngine.zip inside it.spagobi.war/WEB-INF/lib (OPTIONAL : no log4j.zip. 4.zip’.jar Using the SpagoBI administration web application define a new External Engine with (see chapter 4. 2005. Remove the following jar files from JBOSS-HOME/server/default/deploy/ SpagoBIQbeEngine.org/projects/spagobi.jar (file log4j. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.war.drivers.8.9.war directory into JBOSS-HOME/server/default/deploy folder.zip file and copy the parent SpagoBIBirtReportEngine. Copy the new directory into JBOSS-HOME/server/default/deploy folder.drivers.8.war/WEB-INF/lib log4j-1. SpagoBI Web Application Jboss 4 .p.org/licenses/by-nc-sa/2.zip’.0 SpagoBIQbeEngine.0.properties): log4j-1.spagobi.war and rename it as SpagoBIBirtReportEngine.0.zip. Extract from the zip archive the file SpagoBIBirtReportEngine.2. Delete the SpagoBIWekaEngine.eng.objectweb.8) If you want (advised) change the password of the administrator user (look at the section ‘How to configure SpagoBIQbeEngine administrator users’ of the How To documentation file to learn how to do it) Using the SpagoBI administration web application define a new External Engine with (see chapter 4.war and unzip the file SpagoBIBirtReportEngine. version 1.birt.QbeDriver url:http://<server>:<port>/SpagoBIQbeEngine/servlet/AdapterHTTP? ACTION_NAME=SPAGO_BI_START_ACTION&NEW_SESSION=TRUE (without any space) 4..5 Install SpagoBIWekaEngine Connect to http://forge. To view a copy of this license.9.3SP1 Installation Manual 1.4 Install SpagoBIBirtReportEngine Connect to http://forge.A.war and unzip the file SpagoBIWekaEngine.4_xxx.2th 2008 page 20 of 29 Engineering Ingegneria Informatica S.objectweb. Remove the following jar files from JBOSS-HOME/server/default/deploy/ SpagoBIBirtReportEngine.0/ . select the file tab and then download the file ‘SpagoBIBirtReportEngine-bin-1. Extract from the zip archive the file SpagoBIWekaEngine.zip file and copy the parent SpagoBIWekaEngine.2. Unzip the war file into a directory named SpagoBIQbeEngine. Delete the SpagoBIBirtReportEngine. 0 .eng. select the file tab and then download the file ‘SpagoBIWekaEngine-bin-1.6. visit http://creativecommons.war. 3 S P 1 Installation Manual ver 1.6.2.SpagoBI Web Application Jboss 4.0 October.org/projects/spagobi.7 Configure external engines): document type: Report engine type: External driver class: it.0.zip inside it.BirtReportDriver url: http://<server>:<port>/SpagoBIBirtReportEngine/BirtReportServlet. Create a new folder named SpagoBIBirtReportEngine.qbe.war directory into JBOSS-HOME/ server/default/deploy folder.jar already available in Jboss server.war and rename it as SpagoBIWekaEngine.4_xxx.

3 S P 1 Installation Manual ver 1.4.war/WEB-INF/lib.0/ .2.SpagoBI Web Application Jboss 4.0 October..7 Install SpagoBIJPXMLAEngine Connect to http://forge.zip file and copy the parent SpagoBIJPXMLAEngine.9.jar The driver is the same of SpagoBIJPivotEngine: control that the file sbi. Remove the following jar files from JBOSS-HOME/server/default/deploy/ SpagoBIJPXMLAEngine.jar Using the SpagoBI administration web application define a new External Engine with (see chapter 4. 0 .zip file and copy the parent SpagoBIGeoEngine.2.2.zip inside it. Extract from the zip archive the file SpagoBIJPXMLAEngine.drivers. if it is missing you have to connect to SpagoBI Web Application Jboss 4 .sar/ spagobi.4_xxx.war/WEB-INF/lib xalan-2.war directory into JBOSS-HOME/server/default/deploy folder.spagobi. Delete the SpagoBIGeoEngine. To view a copy of this license.7 Configure external engines): document type: Map engine type: External driver class: it.p.8.objectweb. 4. select the file tab and then download the file ‘SpagoBIGeoEngine-bin-1.jar is present inside folder JBOSS-HOME/server/default/deploy/exoplatform.war and rename it as SpagoBIGeoEngine.zip’.war/WEB-INF/lib log4j-1.8.jar xercesImpl.0.war and unzip the file SpagoBIJPXMLAEngine. select the file tab and then download the file ‘SpagBIJPXMLAEngine-bin-1.war/WEB-INF/lib log4j-1.0 Remove the following jar files from JBOSS-HOME/server/default/deploy/ SpagoBIWekaEngine.GeoDriver url:http://<server>:<port>/SpagoBIGeoEngine/servlet/AdapterHTTP? ACTION_NAME=GEO_ACTION&NEW_SESSION=TRUE. 2005.eng.eng.0.spagobi.jpivot-1.driver.6.6.geo.9.6 Install SpagoBIGeoEngine Connect to http://forge.WekaDriver url: http://<server>:<port>/SpagoBIWekaEngine/WekaServlet.org/projects/spagobi.2th 2008 page 21 of 29 Engineering Ingegneria Informatica S.0.4_xxx. Delete the SpagoBIJPXMLAEngine.9. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.zip’.war and unzip the file SpagoBIGeoEngine.zip.war directory into JBOSSHOME/server/default/deploy folder.objectweb.3SP1 Installation Manual 1.drivers. Create a new folder named SpagoBIJPXMLAEngine. 4.jar Using the SpagoBI administration web application define a new External Engine with (see chapter 4.7 Configure external engines): document type: Data mining model engine type: External driver class: it.org/licenses/by-nc-sa/2.zip inside it.jar log4j-1.org/projects/spagobi. visit http://creativecommons.zip. Create a new folder named SpagoBIGeoEngine.weka.0. Remove the following jar files from JBOSS-HOME/server/default/deploy/ SpagoBIGeoEngine. Extract from the zip archive the file SpagoBIGeoEngine.4.war and rename it as SpagoBIJPXMLAEngine.8.A.

spagobi.autopublish: if it is true.org/licenses/by-nc-sa/2.spagobi. .objectweb. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.zip’.0 October.properties in JBOSS-HOME/server/default/deploy/SpagoBITalendEngine.0.4.eng.A.autopublish is true).war directory into JBOSS-HOME/server/default/deploy folder.runtimeRepository. select the file tab and then download the file ‘SpagoBIJPivotDriver-bin-1.java. To view a copy of this license.6.8Install SpagoBITalendEngine Connect to http://forge. The installation steps of a XMLA server are not included in this document.p. select the file tab and then download the file ‘SpagoBITalendEngine-bin-1. Using the SpagoBI administration web application define a new External Engine with (see chapter 4. Create a new folder named SpagoBITalendEngine.7 Configure external engines): SpagoBI Web Application Jboss 4 . .7 Configure external engines): document type: On-line analytical processing engine type: External odriver class: it.zip file and copy the parent SpagoBITalendEngine.drivers.war and unzip the file SpagoBITalendEngine.2.functionality. 3 S P 1 Installation Manual ver 1.war and rename it as SpagoBITalendEngine.org/projects/spagobi.sar/ spagobi.zip.8. 0 . Using the SpagoBI administration web application define a new External Engine with (see chapter 4.war/WEB-INF/classes and adjust your Perl installation directory (mandatory if you want to executed Perl based jobs).9. Extract from the zip archive the file sbi.3SP1 Installation Manual 1.autopublish is true.objectweb.war / WEB-INF/classes and configure the following properties: .spagobi.0 http://forge.4_xxx.spagobi.jar and copy it inside JBOSSHOME/server/default/deploy/exoplatform.jpivot. 4.url: the SpagoBI context url: it is required if spagobi.jpivot-1.9.0/ .org/projects/spagobi. Remove the following jar files from JBOSS-HOME/server/default/deploy/ SpagoBITalendEngine.perl. 2005. a SpagoBI document will be automatically created and put on the functionalities tree.war/WEB-INF/classes and adjust Java process memory options.4_xxx. Extract from the zip archive the file SpagoBITalendEngine. Delete the SpagoBITalendEngine.properties in JBOSS-HOME/server/default/deploy/ SpagoBITalendEngine. when you deploy a new job from Talend Opend Studio. visit http://creativecommons.label: the label of the functionality where SpagoBI document will be created (if spagobi.0.jar Edit file talend.zip’.SpagoBI Web Application Jboss 4. Edit file talend.2th 2008 page 22 of 29 Engineering Ingegneria Informatica S.war/WEB-INF/lib.rootDir: the root path of the repository containing the jobs: it can be absolute or relative(*).0..war/WEB-INF/lib log4j-1.drivers.zip inside it. if you use a unix based environment.(*) Edit file talend.9.properties in JBOSS-HOME/server/default/deploy/ SpagoBITalendEngine.JPivotDriver ourl: http://<server>:<port>/SpagoBIJPXMLAEngine/JPivotServlet Note that SpagoBIJPXMLAEngine is a client web application for a XMLA server. you have to adjust also your Java installation directory(*). .

(*) Pay attention at the path form.3SP1 Installation Manual 1.drivers. 0 .0 document type: ETL engine type: External driver class: it. 2005.. also for Windows system it must contain only / separator and it must start with / (no c:\ for example). visit http://creativecommons.eng. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.p.talend.0. SpagoBI Web Application Jboss 4 . 3 S P 1 Installation Manual ver 1.0 October.org/licenses/by-nc-sa/2.TalendDriver url:http://<server>:<port>/SpagoBITalendEngine/JobRunService. To view a copy of this license.SpagoBI Web Application Jboss 4.0.spagobi.2th 2008 page 23 of 29 Engineering Ingegneria Informatica S.0/ .A.0.

This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. We add 4 accounts with differents rights for using SpagoBI.xml file.war/WEB-INF/conf/sbiwa_authorizations. First. To view a copy of this license.xml file like this : <?xml version="1.A.p.0" encoding="ISO-8859-1"?> <AUTHORIZATIONS default="FALSE"> <ENTITIES> <USERS> <!-<USER userID="admin" password="0DPiKuNIrrVmD8IUCuw1hQxNqZc=" /> --> <USER userID="admin" password="admin" /> <USER userID="biadmin" password="biadmin" /> <USER userID="bitest" password="bitest" /> <USER userID="bidev" password="bidev" /> <USER userID="biuser" password="biuser" /> </USERS> <ROLES> <ROLE roleName="Administrator" description="Administrator" /> <ROLE roleName="/spagobi/admin" description="/spagobi/admin" /> <ROLE roleName="bi_admin" description="bi_admin" /> SpagoBI Web Application Jboss 4 .0/ .7Configure the engines After the execution of the previous steps you should be able to connect to web application to define the engines web application pages.0.org/licenses/by-nc-sa/2.SpagoBI Web Application Jboss 4. you need to add more informations in your JBOSS-HOME/server/default/deploy/spagobi. 0 .0.0 4. if you use xml file for authentication and authentication..2th 2008 page 24 of 29 Engineering Ingegneria Informatica S. visit http://creativecommons. 2005.0.3SP1 Installation Manual 1. 3 S P 1 Installation Manual ver 1.0 October. Change your sbiwa_authorizations.

To view a copy of this license.0.3SP1 Installation Manual 1. 0 .0 October. 3 S P 1 Installation Manual ver 1. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.0.p.0 <ROLE roleName="/spagobi/biadmin" description="/spagobi/biadmin" /> <ROLE roleName="bi_test" description="bi_test" /> <ROLE roleName="/spagobi/bitest" description="/spagobi/bitest" /> <ROLE roleName="bi_dev" description="bi_dev" /> <ROLE roleName="/spagobi/bidev" description="/spagobi/bidev" /> <ROLE roleName="bi_user" description="bi_user" /> <ROLE roleName="/spagobi/biuser" description="/spagobi/biuser" /> </ROLES> <FUNCTIONALITIES> <FUNCTIONALITY description="EnginesManagement" /> <FUNCTIONALITY description="FunctionalitiesManagement" /> <FUNCTIONALITY description="LovsManagement" /> <FUNCTIONALITY description="ConstraintManagement" /> <FUNCTIONALITY description="ParameterManagement" /> <FUNCTIONALITY description="DocumentAdministration" /> <FUNCTIONALITY description="DocumentDevelopment" /> <FUNCTIONALITY description="DocumentTest" /> <FUNCTIONALITY description="DocumentExecution" /> /> functionalityName="EnginesManagement" functionalityName="FunctionalitiesManagement" functionalityName="LovsManagement" functionalityName="ConstraintManagement" functionalityName="ParameterManagement" functionalityName="DocumentAdministration" functionalityName="DocumentDevelopment" functionalityName="DocumentTest" functionalityName="DocumentExecution" <FUNCTIONALITY functionalityName="ImportExport" description="ImportExport" <FUNCTIONALITY functionalityName="Scheduler" description="Scheduler" /> SpagoBI Web Application Jboss 4 . visit http://creativecommons.org/licenses/by-nc-sa/2..0.A.SpagoBI Web Application Jboss 4. 2005.0/ .2th 2008 page 25 of 29 Engineering Ingegneria Informatica S.

2th 2008 page 26 of 29 Engineering Ingegneria Informatica S. visit http://creativecommons.0. 0 .0. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.. To view a copy of this license. 2005.org/licenses/by-nc-sa/2.SpagoBI Web Application Jboss 4.0 <FUNCTIONALITY functionalityName="Events" description="Events" /> <FUNCTIONALITY functionalityName="Worklist" description="Worklist" /> <FUNCTIONALITY description="WorkspaceExec" /> <FUNCTIONALITY description="MapCatalogue" /> </FUNCTIONALITIES> <RESOURCES></RESOURCES> <APPLICATIONS></APPLICATIONS> </ENTITIES> <RELATIONS> <BEHAVIOURS> <BEHAVIOUR userID="admin" roleName="sbi_admin" /> <BEHAVIOUR userID="admin" roleName="/spagobi/admin" /> <BEHAVIOUR userID="biadmin" roleName="sbi_admin" /> <BEHAVIOUR userID="biadmin" roleName="/spagobi/biadmin" /> <BEHAVIOUR userID="bitest" roleName="sbi_test" /> <BEHAVIOUR userID="bitest" roleName="/spagobi/bitest" /> <BEHAVIOUR userID="bidev" roleName="sbi_dev" /> <BEHAVIOUR userID="bidev" roleName="/spagobi/bidev" /> <BEHAVIOUR userID="biuser" roleName="sbi_user" /> <BEHAVIOUR userID="biuser" roleName="/spagobi/biuser" /> </BEHAVIOURS> <PRIVILEDGES> <PRIVILEDGE roleName="sbi_admin" functionalityName="EnginesManagement"/> functionalityName="WorkspaceExec" functionalityName="MapCatalogue" SpagoBI Web Application Jboss 4 .A.3SP1 Installation Manual 1.p. 3 S P 1 Installation Manual ver 1.0.0/ .0 October.

3 S P 1 Installation Manual ver 1.org/licenses/by-nc-sa/2..A. 2005.2th 2008 page 27 of 29 Engineering Ingegneria Informatica S. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.0/ . visit http://creativecommons. To view a copy of this license.3SP1 Installation Manual 1.p.0.0 October. 0 .0.0 <PRIVILEDGE functionalityName="FunctionalitiesManagement"/> roleName="sbi_admin" <PRIVILEDGE roleName="sbi_admin" functionalityName="LovsManagement"/> <PRIVILEDGE functionalityName="ConstraintManagement"/> > roleName="sbi_admin" <PRIVILEDGE roleName="sbi_admin" functionalityName="ParameterManagement"/ roleName="sbi_admin" <PRIVILEDGE functionalityName="DocumentAdministration"/> <PRIVILEDGE roleName="sbi_admin" functionalityName="ImportExport"/> <PRIVILEDGE roleName="sbi_admin" functionalityName="Scheduler"/> <PRIVILEDGE roleName="sbi_admin" functionalityName="Events"/> <PRIVILEDGE roleName="sbi_admin" functionalityName="Worklist"/> <PRIVILEDGE roleName="sbi_admin" functionalityName="WorkspaceExec"/> <PRIVILEDGE roleName="sbi_admin" functionalityName="MapCatalogue"/> <PRIVILEDGE roleName="sbi_dev" functionalityName="LovsManagement"/> <PRIVILEDGE roleName="sbi_dev" functionalityName="ConstraintManagement"/> <PRIVILEDGE roleName="sbi_dev" functionalityName="ParameterManagement"/> <PRIVILEDGE roleName="sbi_dev" functionalityName="DocumentDevelopment"/> <PRIVILEDGE roleName="sbi_dev" functionalityName="Events"/> <PRIVILEDGE roleName="sbi_dev" functionalityName="Worklist"/> <PRIVILEDGE roleName="sbi_dev" functionalityName="WorkspaceExec"/> <PRIVILEDGE roleName="sbi_test" functionalityName="DocumentTest"/> <PRIVILEDGE roleName="sbi_test" functionalityName="Events"/> <PRIVILEDGE roleName="sbi_test" functionalityName="Worklist"/> <PRIVILEDGE roleName="sbi_test" functionalityName="WorkspaceExec"/> <PRIVILEDGE roleName="sbi_user" functionalityName="DocumentExecution"/> SpagoBI Web Application Jboss 4 .0.SpagoBI Web Application Jboss 4.

0.p. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.0 October.SpagoBI Web Application Jboss 4.jsp.0. visit http://creativecommons..0 <PRIVILEDGE roleName="sbi_user" functionalityName="Events"/> <PRIVILEDGE roleName="sbi_user" functionalityName="Worklist"/> <PRIVILEDGE roleName="sbi_user" functionalityName="WorkspaceExec"/> </PRIVILEDGES> </RELATIONS> </AUTHORIZATIONS> Now.0/ . To view a copy of this license. 0 .0.A.3SP1 Installation Manual 1. To configure the engines The web application defines five users: oadmin (password=admin): his pages contains the SpagoBI administration web application obiadmin (password=biadmin): his pages contains also the SpagoBI administration web application SpagoBI Web Application Jboss 4 .org/licenses/by-nc-sa/2.2th 2008 page 28 of 29 Engineering Ingegneria Informatica S. 2005. 3 S P 1 Installation Manual ver 1. you should be able to connect to the url http://localhost:8080/spagobi/index.

0 .0.org/licenses/by-nc-sa/2.0 October. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.SpagoBI Web Application Jboss 4.3SP1 Installation Manual 1..0.A. 3 S P 1 Installation Manual ver 1. 2005.2th 2008 page 29 of 29 Engineering Ingegneria Informatica S. visit http://creativecommons. Click on this icon (external engines): Next click on this icon to add a new external engine : Configure a new external engine like Jasper : SpagoBI Web Application Jboss 4 . To view a copy of this license.0/ .p. use the biadmin for the connection.0 obidev (password=bidev): his pages contains the SpagoBI development web application obitest (password=bitest): his page contains the SpagoBI execution web application with the possibilty to view documents in test state obiuser (password=biuser): his page contains the SpagoBI execution web application For configuring the external engines.0.