Subject | Re: [Firebird-Java] Re: xa-datasource in JBoss 5 |
---|---|
Author | Roman Rokytskyy |
Post date | 2009-04-23T15:57:33Z |
> <xa-datasource>Looks fine, except that you use AppServerXADataSource, which I have
> <jndi-name>infodeskDS</jndi-name>
> <xa-datasource-property name="DatabaseName">localhost/3055:c:/database/infodesk.fdb</xa-datasource-property>
> <xa-datasource-property name="Encoding">UTF-8</xa-datasource-property>
> <xa-datasource-class>org.firebirdsql.pool.sun.AppServerXADataSource</xa-datasource-class>
> <user-name>infodesk</user-name>
> <password>infodesk</password>
> <min-pool-size>5</min-pool-size>
> <max-pool-size>20</max-pool-size>
> <track-statements></track-statements>
> <metadata>
> <type-mapping>Firebird</type-mapping>
> </metadata>
> </xa-datasource>
implemented to cope with the issues in the Sun Application Server. You
can try the
org.firebirdsql.pool.FBConnectionPoolDataSource
which also implements XADataSource interface. Also I am not sure with
"Encoding" property when you change the class name - try setting
"encoding" to "UTF8" or "charSet" to "UTF-8".
Roman