Thanks very much David. I also meant to say that the deployment works, it's when jboss starts up that I get the error (time for some sleep). You're correct in that I'd much rather let xdoclet generate what's needed and not resort to a merge file. If I know what I'm trying to do is possible without a merge file, then I'll try some more, but so far I can't get it work. The finder is generated in the LocalHome interface and looks great, until jboss runs. JBoss isn't liking the ejb-ql, but I'm not even sure where it's reading it from, so I've got some research/studying to do. I'm suspecting that based on the message in the deployment descriptor file though that I'll need to merge - but that seems odd...
-----Original Message----- From: Harkness, David [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 5:50 PM To: [EMAIL PROTECTED] Subject: RE: [Xdoclet-user] ejb-ql failing at deploy time on jboss Lorraine Fox wrote: > I found an error that said I needed an entry in the > deployment descriptor. In a jar file, xdoclet generated the > message "to add more finder methods, create a file named > ejb-finders-myEntity.xml > > That's great, but does anyone have a sample, I'm not sure > where to start... Any help would be appreciated, Thanks, Lorraine That's called a merge file. There are several places in the templates that include merge files, sometimes based on the name of the bean. In this case, it's described in http://xdoclet.sourceforge.net/ant/xdoclet/modules/ejb/dd/EjbDotXmlSubTa sk.html Scan down to "ejb-finders-{0}.xml" under "Merge Files": "An XML unparsed entity containing query elements for a bean, for additional finder and select methods not defined in the bean class or its tags." But if this is related to your previous message, I don't think this is what you need. XDoclet will generate everything you need for the finders you put in the class comment for your bean. I guess you'd use the merge file above if you implemented the finders yourself without XDoclet. David Harkness Sr. Software Engineer Sony Pictures Digital Networks (310) 482-4756 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
