There is some kind of error when we try to configure the driver.
We typically call things like setURL (via reflection), but unfortunately
the XADataSource spec does not define how you should identify the database
that you want to use, so every vendor can do it differently.  Can you post
the methods of com.inet.tds.XDataSource (are you sure it shouldn't be
XADataSource?), and specifically note how you're supposed to tell it which
DB to use?

Thanks,
        Aaron

On Mon, 27 Nov 2000, Pascal Davoust wrote:
> Hi all (third time today ;o),
>
> I tried to setup my iNet JDBC driver for distributed transaction support
> (the driver allows that) by specifying the following config :
>
> <MLET CODE="org.jboss.jdbc.XADataSourceLoader"
> ARCHIVE="jboss.jar,Opta2000.jar" CODEBASE="../lib/ext/">
>     <ARG TYPE="java.lang.String" VALUE="SqlSvrConnectionPool">
>     <ARG TYPE="java.lang.String" VALUE="com.inet.tds.XDataSource">
> </MLET>
>
> but I end up with the following message :
>
> [SqlSvrConnectionPool] Initializing
> [SqlSvrConnectionPool] Initialized
> [Default] javax.management.RuntimeMBeanException: RuntimeException thrown in
> the MBean's setter
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:141
> 7)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
> 1)
> [Default]       at
> org.jboss.configuration.ConfigurationService.load(ConfigurationService.java:
> 139)
> [Default]       at java.lang.reflect.Method.invoke(Native Method)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [Default]       at org.jboss.Main.<init>(Main.java:143)
> [Default]       at org.jboss.Main$1.run(Main.java:87)
> [Default]       at java.security.AccessController.doPrivileged(Native
> Method)
> [Default]       at org.jboss.Main.main(Main.java:83)
> [Default] javax.management.RuntimeMBeanException: RuntimeException thrown in
> the MBean's setter
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:141
> 7)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
> 1)
> [Default]       at
> org.jboss.configuration.ConfigurationService.load(ConfigurationService.java:
> 139)
> [Default]       at java.lang.reflect.Method.invoke(Native Method)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [Default]       at org.jboss.Main.<init>(Main.java:143)
> [Default]       at org.jboss.Main$1.run(Main.java:87)
> [Default]       at java.security.AccessController.doPrivileged(Native
> Method)
> [Default]       at org.jboss.Main.main(Main.java:83)
> [Default] jBoss 2.0 FINAL Started
>
> I'm out of idea here...
> Setting the parameter back to "org.jboss.minerva.xa.XADataSourceImpl" makes
> the message disappear...
> Any idea on what's going wrong here ?
>
> Thanks,
>
>                               Pascal Davoust.
>
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to