[jboss-user] [EJB 3.0] - Re: Deployment error in JPA with Firebird

jaikiran do-not-reply at jboss.com
Mon Jan 19 02:16:56 EST 2009


<?xml version="1.0" encoding="UTF-8"?>
  | <connection-factories>
  |     <mbean code="org.firebirdsql.management.FBManager" name="jboss.jca:service=FirebirdManager">
  |     <attribute name="FileName">/Source/mydb.fdb</attribute>
  |     <attribute name="UserName">sysdba</attribute>
  |     <attribute name="Password">masterkey</attribute>
  |     <attribute name="CreateOnStart">false</attribute>
  |     <attribute name="DropOnStop">false</attribute>
  |   </mbean>
  | 
  |   <tx-connection-factory>
  |     <jndi-name>mydb</jndi-name>
  |     <xa-transaction/>    
  |     <rar-name>jaybird-2.1.6.rar</rar-name>
  |     <connection-definition>javax.sql.DataSource</connection-definition>    
  |     <config-property name="Database" type="java.lang.String">localhost/3050:/Source/mydb.fdb</config-property>
  |     <user-name>sysdba</user-name>
  |     <password>masterkey</password>
  |      <min-pool-size>5</min-pool-size>
  |       <metadata>
  |       <type-mapping>Firebird</type-mapping>
  |     </metadata>    
  |   </tx-connection-factory>
  | </connection-factories>
  | 

That's the first time i am seeing a -ds.xml containing configurations for connection-factories. Where did you get that configuration from? The -ds.xml is meant to configure datasource elements.


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

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



More information about the jboss-user mailing list