Put the dd in the jar with the resource class, in the same directory as the
resource class.  Look at the jb 4 transaction  service for examples: it is
all xmbeans.  Are you using xdoclet  for xmbean dd generation?

david jencks

On 2003.03.07 13:05 Eric Jain wrote:
> > How do I associate an XMBean whith its configuration file?
> 
> Okay, just discovered [EMAIL PROTECTED]; unfortunately the error messages
> remain the same (at least there is a malformed-URL exception if I put in
> a bad value for xmbean-dd, so it is being read at some point).
> 
> So lets blame the generated file:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.0//EN"
> "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd";>
> 
> <mbean>
>   <description>Manages the keyword service.</description>
>   <descriptors>
>     <persistence/>
>   </descriptors>
>   <class>org.expasy.services.jmx.KeywordManager</class>
> 
>   <constructor>
>     <description>(no description)</description>
>     <name>org.expasy.services.jmx.KeywordManager</name>
>   </constructor>
> 
>   <!--attributes-->
>   <attribute access="read-only" getMethod="getCount">
> 
>     <description>The number of keywords in the database.</description>
>     <name>Count</name>
>     <type>int</type>
>     <descriptors>
>       <persistence/>
>     </descriptors>
>   </attribute>
> 
> <!--operations -->
> 
> <!--notifications -->
> 
> </mbean>
> 
> Any ideas what could be missing here?
> 
> 
> --
> Eric Jain
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The
> debugger 
> for complex code. Debugging C/C++ programs can leave you feeling lost and
> 
> disoriented. TotalView can help you find your way. Available on major
> UNIX 
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to