The class "DataSourceImpl" does not exist any more. Look at the
manual or Howtos on the web page to see how to configure a data source.
Aaron
On Wed, 1 Nov 2000, Tyson Norris wrote:
> I'm attempting to use com.inet.tds.TdsDriver (from inet software's Opta)
> to connect to MS SQL Server.
> Has anyone else successfully used this driver with jBoss 2.0 BETA-PROD-03?
>
> I'm getting the following exception in the jboss startup console (oddly
> enough, it does not seem to be written to server.log) (when starting jboss,
> not even trying to use the datasource yet).
>
> javax.management.ReflectionException: The MBean class could not be loaded
> by the
> specified loader
> at
> com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.ja
> va:754)
> at javax.management.loading.MLet.getMBeansFromURL(MLet.java:540)
> at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
> at org.jboss.Main.<init>(Main.java:123)
> at org.jboss.Main.<init>(Main.java:98)
> at org.jboss.Main$1.run(Main.java:88)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.jboss.Main.main(Main.java:79)
>
> I have added the following to the jboss.conf:
> <MLET CODE="org.jboss.jdbc.DataSourceImpl" ARCHIVE="jboss.jar,Opta2000.jar"
> CODEBASE="../lib/ext/">
> <ARG TYPE="java.lang.String" VALUE="jdbc:inetdae:localhost">
> <ARG TYPE="java.lang.String" VALUE="dsTESTS">
> <ARG TYPE="java.lang.String" VALUE="com.inet.tds.TdsDriver">
> <ARG TYPE="java.lang.String" VALUE="sa">
> <ARG TYPE="java.lang.String" VALUE="">
> </MLET>
>
>
>
> and my jboss.properties file has:
> jdbc.drivers=org.hsql.jdbcDriver,jdbc.idbDriver,com.inet.tds.TdsDriver
>
> Also, I have place the Opta2000.jar file in the jboss/lib/ext/ directory.
>
> Any ideas on what might cause this? I assume the MLET code is wrong
> somewhere, but I can't figure out where.
>
> Any examples would be great.
>
> thanks!
> tyson
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]