[
https://issues.apache.org/jira/browse/GERONIMO-6325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Davidson updated GERONIMO-6325:
---------------------------------------
Description:
error when building oracle datasource plugin in the daytrader 3.0-beta-1.
[ERROR] Failed to execute goal
org.apache.geronimo.buildsupport:car-maven-plugin:3.0-beta-1:package
(default-package) on project daytrader-oracle-datasource: could not package
plugin: Can not load adapter class in classloader
org.apache.geronimo.daytrader.plugins.daytrader-oracle-datasource-DEPLOYMENT
[107]: oracle/jdbc/pool/OracleDataSource: *** Class
'oracle.jdbc.pool.OracleDataSource' was not found. Bundle
org.apache.geronimo.daytrader.plugins.daytrader-oracle-datasource-DEPLOYMENT
[107] does not import package 'oracle.jdbc.pool', nor is the package exported
by any other bundle or available from the system class loader. *** -> [Help 1]
Resolution was to modify
daytrader-3.0-beta-1/plugins/daytrader-oracle-datasource/pom.xml
<dependency>
<groupId>org.tranql</groupId>
<artifactId>tranql-connector-oracle-xa</artifactId>
<type>rar</type>
<version>1.3</version>
<scope>provided</scope>
</dependency>
To:
<dependency>
<groupId>org.tranql</groupId>
<artifactId>tranql-connector-oracle-xa</artifactId>
<type>rar</type>
<version>1.7</version>
<scope>provided</scope>
</dependency>
was:
error when building oracle datasource plugin.
[ERROR] Failed to execute goal
org.apache.geronimo.buildsupport:car-maven-plugin:3.0-beta-1:package
(default-package) on project daytrader-oracle-datasource: could not package
plugin: Can not load adapter class in classloader
org.apache.geronimo.daytrader.plugins.daytrader-oracle-datasource-DEPLOYMENT
[107]: oracle/jdbc/pool/OracleDataSource: *** Class
'oracle.jdbc.pool.OracleDataSource' was not found. Bundle
org.apache.geronimo.daytrader.plugins.daytrader-oracle-datasource-DEPLOYMENT
[107] does not import package 'oracle.jdbc.pool', nor is the package exported
by any other bundle or available from the system class loader. *** -> [Help 1]
Resolution was to modify
daytrader-3.0-beta-1/plugins/daytrader-oracle-datasource/pom.xml
<dependency>
<groupId>org.tranql</groupId>
<artifactId>tranql-connector-oracle-xa</artifactId>
<type>rar</type>
<version>1.3</version>
<scope>provided</scope>
</dependency>
To:
<dependency>
<groupId>org.tranql</groupId>
<artifactId>tranql-connector-oracle-xa</artifactId>
<type>rar</type>
<version>1.7</version>
<scope>provided</scope>
</dependency>
Patch Info: Patch Available
> Unable to build oracle plugin
> -----------------------------
>
> Key: GERONIMO-6325
> URL: https://issues.apache.org/jira/browse/GERONIMO-6325
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: sample apps
> Affects Versions: 3.0-beta-1
> Environment: Windows 2008 x64 r2.
> Reporter: Stephen Davidson
> Labels: build
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> error when building oracle datasource plugin in the daytrader 3.0-beta-1.
> [ERROR] Failed to execute goal
> org.apache.geronimo.buildsupport:car-maven-plugin:3.0-beta-1:package
> (default-package) on project daytrader-oracle-datasource: could not package
> plugin: Can not load adapter class in classloader
> org.apache.geronimo.daytrader.plugins.daytrader-oracle-datasource-DEPLOYMENT
> [107]: oracle/jdbc/pool/OracleDataSource: *** Class
> 'oracle.jdbc.pool.OracleDataSource' was not found. Bundle
> org.apache.geronimo.daytrader.plugins.daytrader-oracle-datasource-DEPLOYMENT
> [107] does not import package 'oracle.jdbc.pool', nor is the package exported
> by any other bundle or available from the system class loader. *** -> [Help 1]
> Resolution was to modify
> daytrader-3.0-beta-1/plugins/daytrader-oracle-datasource/pom.xml
> <dependency>
> <groupId>org.tranql</groupId>
> <artifactId>tranql-connector-oracle-xa</artifactId>
> <type>rar</type>
> <version>1.3</version>
> <scope>provided</scope>
> </dependency>
> To:
> <dependency>
> <groupId>org.tranql</groupId>
> <artifactId>tranql-connector-oracle-xa</artifactId>
> <type>rar</type>
> <version>1.7</version>
> <scope>provided</scope>
> </dependency>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira