geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purdticker <core...@rocketmail.com>
Subject Re: Deploying application-scoped db pool with an ear
Date Thu, 26 Jun 2008 16:41:48 GMT



Lin Sun-2 wrote:
> 
> Yes, you need the ojdbc14.jar copied to your geronimo repo.   But, at
> the beginning of creating the database pool, you selected a type,
> right?   It has a few values for oracle, like oracle thin, oracle xa,
> and so on.  What did you select?
> 
> If you select oracle local, then you are using the
> tranql-connector-oracle-local-{version}.rar.  If you select oracle XA,
> then you are using the tranql-connector-oracle-xa-{version}.rar;
> otherwise, you are using tranql-connector-ra-{version}.rar.
> 
> Does the show plan button generated the right rar file there based on
> what you selected?
> 
> HTH,
> 
> Lin
> 

I chose "thin".  The other drivers have been known to cause problems with
our database.

So, yes the show plan button generated the correct rar file:
tranql-connector-ra-{version}.rar.


Jarek Gawor-2 wrote:
> 
> Can you send the actual deployment descriptor which was giving you
> problems?
> 
> Jarek
> 

Sure!

geronimo-application.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<app:application
xmlns:conn="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2"
xmlns:ejb="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"
xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"
xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
xmlns:pers="http://java.sun.com/xml/ns/persistence"
xmlns:client="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0"
application-name="EBSPortal">
    <dep:environment>
        <dep:moduleId>
            <dep:groupId>default</dep:groupId>
            <dep:artifactId>EBSPortal</dep:artifactId>
            <dep:version>1.0</dep:version>
            <dep:type>car</dep:type>
        </dep:moduleId>
    </dep:environment>
    
	<app:module>
    	<app:connector>tranql-connector-ra-1.4.rar</app:connector>
    	<app:alt-dd>ebs-plan.xml</app:alt-dd>
	</app:module>
    
</app:application>

-- 
View this message in context: http://www.nabble.com/Deploying-application-scoped-db-pool-with-an-ear-tp18124359s134p18138307.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message