
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Hello,
I am trying to get the Cargo 1.0 Maven 2 plugin to generate
the following two resources for at Tomcat6x container:
1.) Oracle with Connection Pooling
<Resource
name="THEDS"
type="oracle.jdbc.pool.OracleDataSource"
factory="oracle.jdbc.pool.OracleDataSourceFactory"
url="jdbc:oracle:thin:@localhost:1521:xe"
driverClassName="oracle.jdbc.OracleDriver"
userName="username"
password="password"
auth="Container"
maxActive="100"
maxIdle="30"
maxWait="10000"
logAbandoned="true"
removeAbandoned="true"
removeAbandonedTimeout="60" />
2.) Oracle without Connection Pooling
<Resource
name='THEDS'
type='javax.sql.DataSource'
url=’jdbc:oracle:thin:@localhost:1521:xe’
driverClassName='oracle.jdbc.OracleDriver'
username='username'
password='password'
auth='Container' />
With
Cargo 1.0 and the Maven2 Cargo plugin, I cannot figure out how to create either
of these resources with either cargo.resource.resource or cargo.datasource.datasource.
Can
anyone lend a hand?
Thanks,
Jeff