tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mauro2java2011 <mauro2java2...@gmail.com>
Subject whi into the propertiess of declared resource it is not present the = like for simple tomcat?
Date Thu, 05 Sep 2013 14:03:27 GMT
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
View raw message