Probably what you'd want to do is put your resource managers in a file called 'jboss-resource-managers.xml' and then specifiy the location of that file in the 'mergeDir' attribute of the jboss sub task within the ejbdoclet task in your Ant build file.
 
  -----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Mich F
Sent: Friday, July 11, 2003 7:03 PM
To: [EMAIL PROTECTED]
Subject: RE: [Xdoclet-user] How to add attribute in the 'resource-manager' in jboss.xml?

I'm using JBoss 3.0 with Castor JDO, so I think
<resource-manager res-calss="org.jboss.ejg.deployment.CastorJDOResource">
is defined here.
 
Thanks,
Michelle

Jeff Markham <[EMAIL PROTECTED]> wrote:
Hasn't JBoss done away with that attribute?  I thought so.  Maybe other JBoss users can correct me but I kinda sorta remember deploying an app with that attribute about 8-10 months ago and JBoss complained during deployment verification (not in the DTD).  I don't remember the details but I just took out the attribute and all was well.  What version of JBoss are you using?
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Mich F
Sent: Friday, July 11, 2003 6:04 PM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] How to add attribute in the 'resource-manager' in jboss.xml?

Hi, all,

I find the xdoclet tag @jboss.resource-manager has only two parameters to define, but I want to have a 'res-class' attribute in <resource-manager> tag, can this be done using xdoclet?

<resource-managers>

<resource-manager res-class="org.jboss.ejb.deployment.xxxx">

<res-name>blah</res-name>

<res-jndi-name>java:blah</res-jndi-name>

</resource-manager>

</resource-managers>

 

Thank you.

Michelle


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

Reply via email to