> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Miller,
> Anthony
> Sent: 28. januar 2003 09:23
> To: '[EMAIL PROTECTED]%INTERNET'
> Subject: [Xdoclet-user] weblogic-cmp-rdbms-jar.xml generated incorrectly
>
>
> Hi,
>
> It appears that when I generate the weblogic-cmp-rdbms-jar.xml
> through xdoclet
> 1.2b1 I get errors whe trying to deploy onto my server.
>
> XDoclet appears to generate <weblogic-query> elements in the file, which
> include the finder methods. This doesn't make sense (to me!) as
> the finders
> are already defined in the ejb-jar.xml file.
>
> e.g.
>
> <weblogic-query>
>       <query-method>
>               <method-name>findByCustomer</method-name>
>               <method-params>
>                       <method-param>java.lang.String</method-param>
>               </method-params>
>       </query-method>
>       <weblogic-ql>![CDATA[SELECT OBJECT(o) FROM Order AS o WHERE
> o.customer.
> customerId=?1]]></weblogic-ql>
> </weblogic-query>
>
> I can get my application to deploy on JBOSS 3.0.4 without
> problems but the
> weblogic.ejbc parser obviously doesn't like the finders in the
> weblogic-cmp-rdbms-jar.xml file.
>
> Has anyone got a similar problem and if so how do i solve it.
>

http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=X
DT-77

Simple workaround for you: You can remove the bad lines from the
weblogic-cmp-rdbms-jar-xml.xdt template and rebuild XDoclet.

Please update the JIRA bug report with useful information such as:

o Is this from @ejb.finder or @ejb.select?
o Your wls version
o Ejbc error
o What would you like the weblogic-cmp-rdbms-jar.xml to look like
o Would it be ok for you to specify the weblogic-query like this?
  @ejb.finder|select signature="blabla" wls-signature="gogo"

That gives me a better chance to successfully fix the bug.

Aslak

> Anthony
>
>
>
>
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to