Installing Petals View

compared with
Version 4 by Sandra TRINO
on Jan 21, 2011 14:36.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (51)

View Page History
{section}



{column:width=50%}

*Petals View* *Configuration and Installation*

{column}



{column:width=50%}



{panel}{toc}{panel}

{column}





{section}





h1. Introduction



h2. Overview



Petals View is a webapplication dedicated to Petals ESB flows monitoring.



h3. Installation in a nutshell:



* download these JBI components: petals-se-notification-X.zip and petals-se-kpi-X.zip;

* create all the service assemblies for the KPI. You need to get the infos you want (with prior installation and configuration of related components and services assemblies).



h3. How does it work?



* You configure a component so that when it is installed, it will register in petals-se-notification base: "I can send notifications to you".





This diagram presents monitoring-related relationships between Petals ESB, various components, SE-notification, SE-KPI, configured sa-kpi and Petals View.


This documentation details Petals View installation in 5 steps:

* First one is to set up the persistent environment, and configuration file for database access.



h3. Servers tested
* Tomcat: versions: 5.5.27, 6.0.29

*Tomcat: versions: 5.5.27, 6.0.29
* JBoss: versions: 4.0.5.GA, 4.2.3.GA, 5.0.1.GA, 5.1.0.GA

*JBoss: versions: 4.0.5.GA, 4.2.3.GA, 5.0.1.GA, 5.1.0.GA
* Glassfish: version 3

*Glassfish: version 3
* Jonas: version 5.1.5

*Jonas: version 5.1.5


h3. Databases tested
* H2

h3 Databases tested
* MySQL: version: 5.0

*H2
* PostgreSQL: version:8.3

*MySQL: version: 5.0
* Oracle: version 10g

*PostgreSQL: version:8.3

*Oracle: version 10g



h1. First stage: setting up persistent environment


{code}

\###########


{code}

<petals-se-kpi:hibernateURL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"


{code}

<property name="hibernateProperties">


{code:lang=xml}

<Context>


{code:lang=xml}

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


{code}

{multi-excerpt}


{code:lang=xml}

<petalsCDK:notifications xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"


* Install all Services Assemblies you want to use with these components.

{multi-excerpt}


{code:lang=xml}

<jbi version="1.0" xmlns="http://java.sun.com/xml/ns/jbi">


{code:lang=xml}

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


{code}

<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' >


{code}

<wsnebm:params>


Here you define the parameters you want to attach to your step.

{multi-excerpt}


Repeat the procedure to configure all steps and parameters you want to be shown in Petals View.

{multi-excerpt}


{code}

grant codeBase "file:${catalina.home}/webapps/petals-view-ui-X/WEB-INF/classes/-" { };


{code}

Could not obtain connection to query metadata org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Exception opening port H2 TCP Server (tcp://localhost:40374) (port may be in use), cause: timeout [90061-114])