Hi,
> I've tried to add this to jboss.jcml :
>
> <mbean code="org.jboss.jdbc.XADataSourceLoader"
> ........
> <attribute
> name="Properties">../conf/default/interbase.properties</attribute>
^^^^^^^^^^^^^^^^^^^^
I think this is the problem that causes exception....
> ........
> </mbean>
Be sure that you have the JDBC driver declared in the jboss.jcml and
interclient.jar in the lib/ext directory. In jboss.jcml you have to put the
interbase.interclient.Driver into the JdbcProvider bean:
<mbean code="org.jboss.jdbc.JdbcProvider"
name="DefaultDomain:service=JdbcProvider">
<attribute name="Drivers">interbase.interclient.Driver</attribute>
</mbean>
My Interbase datasource declaration is the following. You do have to include
the user name and password here, as it is required by InterClient JDBC
driver.
<mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=InterBaseDB">
<attribute name="PoolName">InterBaseDB</attribute>
<attribute
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
l</attribute>
<attribute
name="URL">jdbc:interbase://potato/mnt/data/jboss.gdb</attribute>
<attribute name="JDBCUser">SYSDBA</attribute>
<attribute name="Password">masterkey</attribute>
<attribute name="LoggingEnabled">false</attribute>
<attribute name="MaxSize">10</attribute>
</mbean>
Also be sure that in standardjaws.xml or jaws.xml in your .jar file you do
have the following entry:
<datasource>java:/InterBaseDB</datasource>
I think you can use your InterbasePool name, however I didn't try to put it
in my configuration.
> with interbase.properties :
>
> user=mylogin
> password=mypwd
I think you don't need that file. This is instantdb specific thing I think.
Regards,
Roman
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user