tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: whi into the propertiess of declared resource it is not present the = like for simple tomcat?
Date Thu, 05 Sep 2013 15:51:14 GMT
Hi

Cause openejb config is properties oriented (historical reason) and cause
otherwise some attributes cant be used (not an issue for tomcat)
Le 5 sept. 2013 16:05, "mauro2java2011" <mauro2java2011@gmail.com> a écrit :

> A curiosity:
>
> for dclare a resource , i have to declare it like below.
>
> <Resource id="My Unmanaged DataSource" type="DataSource">
>   JdbcDriver org.hsqldb.jdbcDriver
>   JdbcUrl jdbc:hsqldb:file:data/hsqldb/hsqldb
>   UserName sa
>   Password
>   JtaManaged false
> </Resource>
>
> But into tomcat  simple for each properties of resourece i have to put the
> simbol =
> <Context ...>
>   ...
>   <Resource name="jdbc/EmployeeDB"
>             auth="Container"
>             type="javax.sql.DataSource"
>             username="dbusername"
>             password="dbpassword"
>             driverClassName="org.hsql.jdbcDriver"
>             url="jdbc:HypersonicSQL:database"
>             maxActive="8"
>             maxIdle="4"/>
>   ...
> </Context>
>
> For curiosity i ask how tomee read and set the properties without the =
> from the key and the corrispondnt value.
>
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/whi-into-the-propertiess-of-declared-resource-it-is-not-present-the-like-for-simple-tomcat-tp4664992.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message