[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank Example Problem

rishianand do-not-reply at jboss.com
Thu Mar 8 18:42:20 EST 2007


Hi Peter,

No, I didn't - although I did modify the file according to the examples and here's what it looks like:


<!--  ===================================================================== 
  --> 
- 
- <local-tx-datasource>
  <jndi-name>DefaultDS</jndi-name> 
  <connection-url>jdbc:hsqldb:hsql://localhost:1701</connection-url> 
  <driver-class>org.hsqldb.jdbcDriver</driver-class> 
  <user-name>sa</user-name> 
   
  <min-pool-size>5</min-pool-size> 
  <max-pool-size>20</max-pool-size> 
- <!--  The time before an unused connection is destroyed 
  --> 
- <!--  NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use 
  --> 
- <!--  TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections 
  --> 
  <idle-timeout-minutes>0</idle-timeout-minutes> 
- <!-- 
 Whether to check all statements are closed when the connection is returned to the pool,
           this is a debugging feature that should be turned off in production 

  --> 
  <track-statements /> 
- <!--  Use the security domain defined in conf/login-config.xml 
  --> 
  <security-domain>HsqlDbRealm</security-domain> 
- <!--  corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) 
  --> 
- 
  <type-mapping>Hypersonic SQL</type-mapping> 
  
- <!--  This mbean can be used when using in process persistent hypersonic 
  --> 
  jboss:service=Hypersonic,database=localDB 
  </local-tx-datasource>
- <!--  This mbean can be used when using in process persistent db 
  --> 
- 
  1701 
  true 
  default 
  false 
  true 
- <!-- attribute name="InProcessMode">true</attribute
  --> 
  
  


Thanks,

Rishi


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026466#4026466

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026466



More information about the jboss-user mailing list