I've not had any luck using the verification tool, yet our EAR files always deploy just fine. Strange but true.
Erik
On Monday, October 20, 2003, at 09:13 PM, Kent Boogaart wrote:
Hi,
I have just finished porting a fairly large project over to use XDoclet. I'm
at the point where everything builds and all deployment descriptors /
interfaces are generated. However, when I run the J2EE verification tool
over the resultant EAR, I get the following:
About to ValidateParse META-INF/application.xml file.
Error: ** Error trying to process file: esm.ear
Error: ** Error trying to process file: java.lang.RuntimeException: No
method found for XML query element: Ambiguous or invalid <query-method>
java.lang.RuntimeException: No method found for XML query element: Ambiguous
orinvalid <query-method>
at
com.sun.enterprise.deployment.xml.EjbNode.parseQueries(EjbNode.java:617 )
at
com.sun.enterprise.deployment.xml.EjbNode.completeLoadingDescriptor(Ejb Node.
java:590)
at
com.sun.enterprise.deployment.xml.EjbBundleNode.completeLoadingDescript or(Ej
bBundleNode.java:468)
at
com.sun.enterprise.deployment.EjbBundleArchivist.open(EjbBundleArchivis t.jav
a:300)
at
com.sun.enterprise.deployment.EjbBundleArchivist.open(EjbBundleArchivis t.jav
a:341)
at
com.sun.enterprise.deployment.ApplicationArchivist.open(ApplicationArch ivist
.java:407)
at
com.sun.enterprise.deployment.ApplicationArchivist.open(ApplicationArch ivist
.java:342)
at
com.sun.enterprise.tools.verifier.Verifier.loadAppJar(Verifier.java:807 )
at
com.sun.enterprise.tools.verifier.Verifier.loadJar(Verifier.java:749)
at
com.sun.enterprise.tools.verifier.Verifier.doit(Verifier.java:1952)
at
com.sun.enterprise.tools.verifier.Verifier.main(Verifier.java:1787)
Look in file "out.xml" for detailed results on test assertions.
Error loading: [ D:\localwork\eSM\eSM1.1.x\Java\Business\deploy\esm.ear ]
Unable to perform static testing, check XML file for validity.
Look in file "out.xml" for detailed results on test assertions.
I have looked in the out.xml file and it tells me nothing further. I have
checked the XML for validity via http://www.stg.brown.edu/service/xmlvalid/.
I have had a look at the generated ejb-jar.xml and checked each <query>
element to ensure that it contains an <ejb-ql> element.
Does anyone know what's going on here?
Thanks, Kent
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.525 / Virus Database: 322 - Release Date: 9/10/2003
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
