[jboss-user] [JBoss Seam] - Re: Seam on tomcat connection problem using EJB

Stateless Bean do-not-reply at jboss.com
Fri Jul 27 14:04:02 EDT 2007


F**** somethink wrong is going on when I insecrt source of jboss-beans. :(

third try
  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |             xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd"
  |             xmlns="urn:jboss:bean-deployer">
  | 
  |    <bean name="CenturionDatasourceBootstrap" class="org.jboss.resource.adapter.jdbc.local.LocalTxDataSource">
  |       <property name="driverClass">org.postgresql.Driver</property>
  |       <property name="connectionURL">jdbc:postgresql://localhost:5432/Centurion</property>
  |       <property name="userName">postgres</property>
  |       <property name="jndiName">java:/CenturionDatasource</property>
  |       <property name="minSize">0</property>
  |       <property name="maxSize">10</property>
  |       <property name="blockingTimeout">1000</property>
  |       <property name="idleTimeout">100000</property>
  |       <property name="transactionManager"><inject bean="TransactionManager"/></property>
  |       <property name="cachedConnectionManager"><inject bean="CachedConnectionManager"/></property>
  |       <property name="initialContextProperties"><inject bean="InitialContextProperties"/></property>
  |    </bean>
  | 
  |    <bean name="CenturionDatasource" class="java.lang.Object">
  |       <constructor factoryMethod="getDatasource">
  |          <factory bean="CenturionDatasourceBootstrap"/>
  |       </constructor>
  |    </bean>
  | 
  | </deployment>
  | 

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

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



More information about the jboss-user mailing list