Lorraine Fox wrote:
> 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.

If you're declaring a finder in your bean class, there should be no
reason for you to mess with merge files.

> 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...

Can you post your bean class again? I sent a message pointing out what
looked like a typo in the original EJB-QL. Did you get that? Here it is
again just in case:

---------- 8< ---------------------------------------- 8< ----------
Lorraine Fox wrote:
> * @ejb.finder
>  *  description="Find all OrgNodes with ProviderID"
>  *  signature="Collection findOrgNodesByProvOrgPMSID(java.lang.String
> pProvOrgPMSID)"
>  *  query="SELECT OBJECT(c) FROM OrgNodeEJB c WHERE
> c.ProvOrgPMSID = ?1"
> 
>       public abstract String getProvOrgPMSID();

Unless I'm mistaken, the CMP properties will be named according to Java
Beans rules: drop the "get" and lowercase the first letter. Thus your
EJB-QL should be "c.provOrgPMSID" which is only checked at deployment
time (or perhaps ejbc?).
---------- 8< ---------------------------------------- 8< ----------

Clearly, it is *finding* your EJB-QL; it just isn't liking it. That to
me says there's probably a simple error somewhere. Good luck!

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

Reply via email to