Hi,
Many thanks for you answer and your help! I am still interested in a
good solution and not only in one solution that works.
That's it! It works with this configuration, all characters are
displayed correctly.
Regards,
Dirk
David Jencks wrote:
>
> Hi,
>
> Just in case you are still interested...
>
> I took a look at how the minerva wrappers are creating connections-- they
> use a Driver, not a Datasource. So if you provide a user and password as
> separate attributes, they are used to get the connection, other properties
> are ignored.
>
> So... I still haven't reproduced your problem, but I believe you can set
> the charSet, roleName, and other optional Firebird/interclient properties
> like this:
>
> <mbean code="org.jboss.jdbc.JdbcProvider"
> name="DefaultDomain:service=JdbcProvider">
> <attribute name="Drivers">interbase.interclient.Driver</attribute>
> </mbean>
>
> <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=DefaultDS">
> <attribute name="PoolName">DefaultDS</attribute>
> <attribute
>name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
> <attribute
>name="URL">jdbc:interbase://localhost/usr/java/jboss/dev/jboss/dist/db/firebird/jbosstest.gdb</attribute>
> <!--attribute name="JDBCUser">sysdba</attribute-->
> <!--attribute name="Password">masterkey</attribute-->
> <attribute name="Autocommit">false</attribute>
> <attribute
>name="Properties">user=sysdba;password=masterkey;charSet=UTF8</attribute>
>
> </mbean>
>
> NOTE that the JDBCUser and Password attributes are removed! In fact, it
> appears that you have to remove them from jboss-auto.jcml yourself also!
>
> A not so pleasant feature of the minerva stuff appears to be that if your
> connection info is wrong you don't seem to be able to fix the connection
> info in the mbean web pages-- I had to stop and restart jboss itself.
> Maybe I got the wrong sequence of actions, I kept getting an illegal state
> exception, pool already initialized.
>
> Hope this is useful.
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]