0 Replies Latest reply on Sep 27, 2004 1:36 PM by Corby Page

    JBoss 4.0: Generating Metadata MBean from .rar-style JCAs

    Corby Page Newbie

      Under JBoss 4.0, deploying the bundled hsqldb-ds.xml automatically creates an MBean with the following ObjectName:

      jboss.jdbc: service=metadata, datasource=DefaultDS
      


      But the Firebird-ds.xml, which uses the older connection-factories descriptor instead of the datasources descriptor, does not create a similarly named MBean. Evidentally, this MBean is required by the CMP deployer, because when I try to deploy my Firebird CMP .jar I get:

      org.jboss.deployment.DeploymentException:
      Failed to obtain type-mapping metadata from the metadata library MBean:
       jboss.jdbc:service=metadata,datasource=BigDealDS is not registered.;
       - nested throwable: (javax.management.InstanceNotFoundException:
      jboss.jdbc:service=metadata,datasource=BigDealDS is not registered.)
      


      Should I modify Firebird-ds.xml to explicitly attempt to deploy a metadata-related MBean, or is there a different way to handle this problem?

      Thanks,
      Corby