Petals ESB Container

Unable to use the Petals SE Activiti with PostgreSQL

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 4.3.0
  • Fix Version/s: 4.3.1
  • Component/s: Classloader
  • Security Level: Public
  • Description:
    Hide

    We want to use the Petals SE Activiti with the Activiti database managed by a PostgreSQL server:

    • The Petals SE Activiti is configured to use a shared library embedding the JDBC driver for PostgreSQL,
    • When installing Petals SE Activiti with Petals CLI, we get the following error:
      ....> petals-cli -h localhost -n 7700 -u petals -p petals -c -- deploy -s -u file:///tmp/petals-se-activiti.zip -D jdbcUrl=jdbc:postgresql://172.17.0.38:5432/activiti,jdbcDriver=org.postgresql.Driver,jdbcUsername=petalsseactiviti,jdbcPassword=PetalsSeActiviti
      ERROR on command 'deploy': org.ow2.petals.admin.api.exception.ArtifactAdministrationException: org.ow2.petals.jmx.api.api.exception.AttributeErrorException: javax.management.InvalidAttributeValueException: Invalid value for attribute 'jdbcDriver': The class 'org.postgresql.Driver' has not been found.
    Show
    We want to use the Petals SE Activiti with the Activiti database managed by a PostgreSQL server:
    • The Petals SE Activiti is configured to use a shared library embedding the JDBC driver for PostgreSQL,
    • When installing Petals SE Activiti with Petals CLI, we get the following error:
      ....> petals-cli -h localhost -n 7700 -u petals -p petals -c -- deploy -s -u file:///tmp/petals-se-activiti.zip -D jdbcUrl=jdbc:postgresql://172.17.0.38:5432/activiti,jdbcDriver=org.postgresql.Driver,jdbcUsername=petalsseactiviti,jdbcPassword=PetalsSeActiviti
      ERROR on command 'deploy': org.ow2.petals.admin.api.exception.ArtifactAdministrationException: org.ow2.petals.jmx.api.api.exception.AttributeErrorException: javax.management.InvalidAttributeValueException: Invalid value for attribute 'jdbcDriver': The class 'org.postgresql.Driver' has not been found.
  • Environment:
    Petals ESB 4.3.0-beta-0

Activity

Hide
Christophe DENEUX added a comment - Thu, 11 Jun 2015 - 15:14:22 +0200

The JDBC driver for PostgreSQL is not available at component bootstrap because the component bootstrap classloader does not inherit share library classloader.

This problem is a problem of Petals ESB container and must be moved.

Show
Christophe DENEUX added a comment - Thu, 11 Jun 2015 - 15:14:22 +0200 The JDBC driver for PostgreSQL is not available at component bootstrap because the component bootstrap classloader does not inherit share library classloader. This problem is a problem of Petals ESB container and must be moved.
Christophe DENEUX made changes - Thu, 11 Jun 2015 - 15:14:22 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Assignee Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Thu, 11 Jun 2015 - 15:15:36 +0200
Project Petals SE Activiti [ 10231 ] Petals ESB Container [ 10029 ]
Key PETALSSEACTIVITI-7 PETALSESBCONT-338
Affects Version/s 4.3.0 [ 10542 ]
Affects Version/s 0.5.0 [ 10534 ]
Christophe DENEUX made changes - Thu, 11 Jun 2015 - 15:16:38 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Thu, 11 Jun 2015 - 16:51:33 +0200

Fixed in branch petals-4.3.x

Show
Christophe DENEUX added a comment - Thu, 11 Jun 2015 - 16:51:33 +0200 Fixed in branch petals-4.3.x
Christophe DENEUX made changes - Thu, 11 Jun 2015 - 16:51:33 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 4.3.1 [ 10558 ]
Resolution Fixed [ 1 ]
Hide
Christophe DENEUX added a comment - Thu, 11 Jun 2015 - 16:51:56 +0200

Reopened to be merged in trunk

Show
Christophe DENEUX added a comment - Thu, 11 Jun 2015 - 16:51:56 +0200 Reopened to be merged in trunk
Christophe DENEUX made changes - Thu, 11 Jun 2015 - 16:51:56 +0200
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Component/s Classloader [ 10040 ]
Christophe DENEUX made changes - Thu, 11 Jun 2015 - 17:25:25 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Thu, 11 Jun 2015 - 17:25:39 +0200

Merged in trunk

Show
Christophe DENEUX added a comment - Thu, 11 Jun 2015 - 17:25:39 +0200 Merged in trunk
Christophe DENEUX made changes - Thu, 11 Jun 2015 - 17:25:39 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
2m 8s
1
Christophe DENEUX
Thu, 11 Jun 2015 - 15:14:22 +0200
Open Open In Progress In Progress
2m 16s
1
Christophe DENEUX
Thu, 11 Jun 2015 - 15:16:38 +0200
In Progress In Progress Resolved Resolved
1h 34m
1
Christophe DENEUX
Thu, 11 Jun 2015 - 16:51:33 +0200
Resolved Resolved Open Open
23s
1
Christophe DENEUX
Thu, 11 Jun 2015 - 16:51:56 +0200
Open Open In Progress In Progress
33m 29s
1
Christophe DENEUX
Thu, 11 Jun 2015 - 17:25:25 +0200
In Progress In Progress Resolved Resolved
14s
1
Christophe DENEUX
Thu, 11 Jun 2015 - 17:25:39 +0200

People

Dates

  • Created:
    Thu, 11 Jun 2015 - 15:12:14 +0200
    Updated:
    Thu, 11 Jun 2015 - 17:25:39 +0200
    Resolved:
    Thu, 11 Jun 2015 - 17:25:39 +0200