We're updating the issue view to help you get more done. 

ClassLoader issues using AO with Oracle

Description

I have a problem with AO plugin with osgi classloader.
When I use atlas-run, my plugin works fine.
When I use Jira 4.3.2, activeobjects-plugin-0.9.5.jar and activeobjects-jira-spi-0.9.5.jar, activeobjects-plugin can't see oracle classes.
Why ? is it a activeobjects-jira-spi problem ?
I will test the 0.9.6 !

The stack trace :
Caused by: java.lang.NoClassDefFoundError: oracle/jdbc/OraclePreparedStatement
at net.java.ao.db.OracleDatabaseProvider.executeInsertReturningKey(OracleDatabaseProvider.java:285)
at net.java.ao.DatabaseProvider.insertReturningKey(DatabaseProvider.java:1866)
at net.java.ao.EntityManager.create(EntityManager.java:424)
at net.java.ao.EntityManager.create(EntityManager.java:460)
at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.create(EntityManagedActiveObjects.java:84)
at com.atlassian.activeobjects.osgi.DelegatingActiveObjects.create(DelegatingActiveObjects.java:62)

Environment

None

Testing Notes

None

Status

Assignee

Samuel Le Berrigaud

Reporter

AuvigneL

Labels

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Fix versions

Affects versions

ao-plugin 0.9.5

Priority

Critical