> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Miller, > Anthony > Sent: 28. januar 2003 11:10 > To: '[EMAIL PROTECTED]%INTERNET' > Subject: RE: [Xdoclet-user] weblogic-cmp-rdbms-jar.xml generated > incorrectly > > > Looks like the following (from weblogic-cmp-rdbms-jar-xml.xdt) > > <XDtClass:forAllClassTags tagName="ejb:finder"> > <weblogic-query> > <query-method> > <method-name><XDtClass:classTagValue tagName="ejb:finder" > paramName="signature" delimiter=" (" tokenNumber="1"/></method-name> > <method-params> > <XDtParameter:forAllParameterTypes paramName="signature"> > <method-param><XDtParameter:currentToken/></method-param> > </XDtParameter:forAllParameterTypes> > </method-params> > </query-method> > <XDtClass:ifHasClassTag tagName="ejb:finder" paramName="query"> > <weblogic-ql><![CDATA[<XDtClass:classTagValue > tagName="ejb:finder" > paramName="query"/>]]></weblogic-ql> > </XDtClass:ifHasClassTag> > </weblogic-query> > </XDtClass:forAllClassTags> > > generates the offending xml elements. > > When you say rebuild, I am assuming that I CANNOT just take these > entries out > of the weblogic-cmp-rdbms-jar-xml.xdt file, repackage the jar > file and go, or > are you? >
You can do that. Do whatever you find it easier. Could you please provide the information I'm asking for in the 5 questions below? Please enter the info in the related bug report: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=X DT-77 (you need to log in to JIRA in order to do this). Thanks for helping us fix this bug. Aslak > Cheers for your help in this, > > Anthony > > -----Original Message----- > From: Aslak Helles(00F8)y [mailto:[EMAIL PROTECTED]] > Sent: 28 January 2003 09:05 > To: [EMAIL PROTECTED]%INTERNET > Subject: RE: [Xdoclet-user] weblogic-cmp-rdbms-jar.xml generated > incorrectly > Importance: Low > > > *** WARNING *** > > This mail has originated outside your organization, > either from an external partner or the Global Internet. > Keep this in mind if you answer this message. > > > > > -----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 > > > > > ******************************************************************** > 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
