|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (13)
View Page History{note}MySQL jdbc-driver isn't into the classpath directory. You need to copy mysql-connector-java-5.1.x.jar into PetalsView/ WEB-INF/lib{note}
h1. *SE-KPI Component configuration*
Browse directories to petals-se-kpi.zip/META_INF
Open jbi.xml file.
Open the jbi.xml file into the META_INF directory (open the petals-se-kpi-*.zip archive to find it).
On this line <petals-se-kpi:hibernateURL>: fill in the "petals-view.properties" file location
example : [file:///home/user/Desktop/petals-view.properties]
example : [file:///home/user/Desktop/petals-view.properties]
Replace the line:
{code}
<petals-se-kpi:hibernateURL xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5" xmlns:petals-se-kpi="http://petals.ow2.org/components/petals-se-kpi/version-1.0-SNAPSHOT" xmlns:jbi="http://java.sun.com/xml/ns/jbi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:kpi-config="http://petals.ow2.org/components/petals-se-kpi/specific"/>
{code}
By another with the used properties:
<petals-se-kpi:hibernateURL xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5" xmlns:petals-se-kpi="http://petals.ow2.org/components/petals-se-kpi/version-1.0-SNAPSHOT" xmlns:jbi="http://java.sun.com/xml/ns/jbi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:kpi-config="http://petals.ow2.org/components/petals-se-kpi/specific"/>
{code}
By another with the used properties:
{code}
<petals-se-kpi:hibernateURL xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5" xmlns:petals-se-kpi="http://petals.ow2.org/components/petals-se-kpi/version-1.0-SNAPSHOT" xmlns:jbi="http://java.sun.com/xml/ns/jbi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:kpi-config="http://petals.ow2.org/components/petals-se-kpi/specific">file:///home/user/Desktop/petals-view.properties</petals-se-kpi:hibernateURL>
{code}
<petals-se-kpi:hibernateURL xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5" xmlns:petals-se-kpi="http://petals.ow2.org/components/petals-se-kpi/version-1.0-SNAPSHOT" xmlns:jbi="http://java.sun.com/xml/ns/jbi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:kpi-config="http://petals.ow2.org/components/petals-se-kpi/specific">file:///home/user/Desktop/petals-view.properties</petals-se-kpi:hibernateURL>
{code}
Save the file.
!kpi-jbi-xml.png|thumbnail,border=1,align=center!\\
MySQL jdbc-driver isn't in classpath directory. You need to copy mysql-connector-java-5.1.x.jar in your petals-se-kpi component with others dependencies.
{note}
MySQL jdbc-driver isn't into the classpath directory. You need to copy mysql-connector-java-5.1.x.jar into the se-kpi-*.zip archive (at the root path, with the others jars){note}
MySQL jdbc-driver isn't into the classpath directory. You need to copy mysql-connector-java-5.1.x.jar into the se-kpi-*.zip archive (at the root path, with the others jars){note}
!petalsview-annotation.png|thumbnail,border=1,align=center!