ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cimballi <cimba...@cimballi.net>
Subject Re: JNDI resource configuration (Tomcat 5.0)
Date Wed, 22 Feb 2006 14:56:17 GMT
Each components chooses its "root" namespace. In Tomcat "All
configured entries and resources are placed in the java:comp/env
portion of the JNDI namespace" :

http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html

Other components can choose a different "root" namespace, like OSWorkflow.

Cimballi


On 2/22/06, Eugeny N Dzhurinsky <eugenydzh@jdevelop.com> wrote:
> On Wed, Feb 22, 2006 at 03:37:26PM +0100, Cimballi wrote:
> > This a Tomcat specific prefix, not iBatis.
> > Cimballi
>
> Well, I'm not sure about that, because I'm using OSWorkflow and it uses
> another JNDI resource, specified like this:
>
> <propertysets>
>     <propertyset name="jdbc"
>     class="com.merrimacind.devcase.devCase.workflow.storage.JDBCStoragePropertySetWrapper">
>         <arg name="datasource" value="jdbc/DefaultDS" />
>
>         <arg name="table.name" value="OS_PROPERTYENTRY" />
>
>         <arg name="col.globalKey" value="GLOBAL_KEY" />
>
>         <arg name="col.itemKey" value="ITEM_KEY" />
>
>         <arg name="col.itemType" value="ITEM_TYPE" />
>
>         <arg name="col.string" value="STRING_VALUE" />
>
>         <arg name="col.date" value="DATE_VALUE" />
>
>         <arg name="col.data" value="DATA_VALUE" />
>
>         <arg name="col.float" value="FLOAT_VALUE" />
>
>         <arg name="col.number" value="NUMBER_VALUE" />
>     </propertyset>
>
>     <propertyset name="memory"
>     class="com.opensymphony.module.propertyset.memory.MemoryPropertySet" />
> </propertysets>
>
> no comp/env or whatever, and OSWorkflow isn't tomcat-related application.
>
> --
> Eugene N Dzhurinsky
>
Mime
View raw message