geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Davidson <steverdavid...@gmail.com>
Subject Re: changing datasource for daytrader to oracle
Date Sat, 14 Apr 2012 05:02:39 GMT
I was finally able to build.  Here are the details of the change needed and
the last error I was getting.

	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> 

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/changing-datasource-for-daytrader-to-oracle-tp3901510p3909638.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message