I'm obviously blind :-) Thanks.
Another thing i've observed is that the server deletes my mbean name
configuration for the sybase datasource if i get an error(i still do -
java.lang.NoClassDefFoundError: javax/sql/DataSource)  - is this deletion
neccesary?

/Jon


>       Look at your MLET tag.  The name of the class is
> XADataSourceLoader not XADataSourceImpl.
>
> Aaron
>
> On Fri, 6 Oct 2000, Jon Finanger wrote:
> > Trying to define a new datasource for Sybase ASA i get the
> following error:
> > ...
> > [J2ee deployer] no config file found...
> > [J2ee deployer] Initialized
> > 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:119)
> >         at org.jboss.Main.<init>(Main.java:94)
> >         at org.jboss.Main$1.run(Main.java:84)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at org.jboss.Main.main(Main.java:75)
> >
> > *******************************
> > I've now looked at all documentation i can find but are still
> not able to
> > resolve it. Anyone who have seen this? or have a suggestion?
> > I'm using jBoss-2.0_BETA_PROD_02.
> >
> > The MLET code is:
> > <MLET CODE = "org.jboss.jdbc.XADataSourceImpl"
> > ARCHIVE="jboss.jar,jconn2.jar" CODEBASE="../lib/ext/">
> >    <ARG TYPE="java.lang.String" VALUE="SybasePool">
> >    <ARG TYPE="java.lang.String"
> > VALUE="com.sybase.jdbc2.jdbc.SybXADataSource">
> > </MLET>
> >
> > The MBEAN code is:
> >      <mbean name="DefaultDomain:service=XADataSource,name=SybasePool">
> >        <attribute
> > name="URL">jdbc:sybase:Tds:localhost:2638/asatest</attribute>
> >      <attribute name="JDBCUser">dba</attribute>
> >      <attribute name="Password">sql</attribute>
> >      </mbean>
> >
> > The jconn2.jar is located in lib\ext
> >
> > /Jon
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Problems?:           [EMAIL PROTECTED]
> >
>
>
>
> --
> --------------------------------------------------------------
> 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