geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaaaa <aa...@mytrashmail.com>
Subject Deploying a Module-Scoped Connection Pool...
Date Sat, 04 Oct 2008 14:17:10 GMT

hi all,

how should I add module-scoped conn. pool to geronimo-web.xml in 2.1.3?
can I still do it like  :
<resource>
        <external-rar>adapter</external-rar>
        <!-- Begin -->
        <connector
xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
            .
            .
            .
        </connector>
        <!-- End -->
    </resource>

can anybody show me working example?


geronimo-web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web:web-app 
	xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" 

xmlns:client="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0" 
	xmlns:conn="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2" 
	xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2" 
	xmlns:ejb="http://openejb.apache.org/xml/ns/openejb-jar-2.2" 
	xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2" 
	xmlns:pers="http://java.sun.com/xml/ns/persistence" 
	xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1" 
	xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" 
	xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
	
    <dep:environment>    
        <dep:moduleId>
            <dep:groupId>default</dep:groupId>
            <dep:artifactId>web1</dep:artifactId>
            <dep:version>1.0</dep:version>
            <dep:type>car</dep:type>
            
        </dep:moduleId>
        
        <dep:dependencies>
         

        </dep:dependencies>

        
    </dep:environment>

    
    
    <web:context-root>/web1</web:context-root>
 
 
</web:web-app>


========================
thanks.

-- 
View this message in context: http://www.nabble.com/Deploying-a-Module-Scoped-Connection-Pool...-tp19812410s134p19812410.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message