Bugs item #1037044, was opened at 2004-09-29 17:58
Message generated for change (Comment added) made by loubyansky
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1037044&group_id=22866
Category: JBossCMP
Group: v4.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Corby (corby)
>Assigned to: Alexey Loubyansky (loubyansky)
Summary: CMP Deployment wants non-existent metadata MBean
Initial Comment:
Under JBoss 4.0, deploying the bundled hsqldb-ds.xml
automatically creates an MBean with the following
ObjectName:
Code:
jboss.jdbc: service=metadata, datasource=DefaultDS
But other ds-xml files, including Firebird and MySQL,
do 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:
Code:
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.)
----------------------------------------------------------------------
>Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-09-29 20:35
Message:
Logged In: YES
user_id=543482
So you don't have metadata in -ds.xml and no
datasource-mapping in the jbosscmp-jdbc.xml?
All the examples in the docs/JCA should be updated. MySql
for example has
<!-- corresponding type-mapping in the
standardjbosscmp-jdbc.xml (optional) -->
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
You can always override the datasource-mapping in
standardjbosscmp-jdbc.xml or jbosscmp-jdbc.xml.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1037044&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development