geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject Re: Deploying a Data Source
Date Sun, 03 Oct 2004 00:40:01 GMT
	Also, should target-name be the "name" of the 
"connectiondefinition-instance", or the "global-jndi-name", or the 
"configId" of the connector, or what?

Thanks,
	Aaron

On Sat, 2 Oct 2004, Jeremy Boynes wrote:
> <web-app
>    xmlns="http://geronimo.apache.org/xml/ns/web/jetty"
>    configId="my_wars_config_id">
> 
>    <context-priority-classloader>false</context-priority-classloader>
>    <resource-ref>
>      <ref-name>jdbc/myDB</ref-name>
>      <target-name>myDatasource</target-name>
>    </resource-ref>
> </web-app>
> 
> where <target-name> is the name of your datasource.
> 
> If you don't want an additional RAR config, I think you can actually 
> embed its plan inside your geronimo-jetty.xml definition. Basically copy 
> the <resource> element from the RAR plan and put it at the end of your 
> web-app element (I know this works for app-clients).
> 
> --
> Jeremy
> 

Mime
View raw message