Re: Deployment of CMP beans fails

Compagnon Guillaume <[email protected]>
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <B72964E1ABB3D311B92900508B8B211503266F38@NTCOM>
You should change your sun-ejb-jar.xml file,
and find the line where you have this:
<finder>
   <method-name>?????</method-name>
</finder>

and add the <query-params></query-params> line, like this:

<finder>
   <method-name>?????</method-name>
   <query-params></query-params>
</finder>

please find more informations here:
http://docs.sun.com/source/816-7151-10/decmp.html#34029


Guillaume
jyperion.net

-----Message d'origine-----
De : och [mailto:[email protected]]
Envoye : lundi 13 octobre 2003 22:56
A : [email protected]
Objet : Deployment of CMP beans fails


I have a probleme with application server update 1 which is explained in the
documentation "Suny ONE Application Server 7 Release Notes"
There is the solution too but i don't understand what i have to do exactly :

" Deployment of CMP beans fails.

The following error is thrown because there are no <query-params> entries in
the container-managed persistence (CMP) bean in sun-ejb-jar.xml file:

Error while running ejbc. Fatal error from EJB Compiler ---- Error while
processing CMP beans.

Solution

Even if it isn't necessary for the CMP beans, add the query-params tag for
finders in the sun-ejb-jar.xml file with the empty parameters. "

How can i do that please ?
thank's a lot

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.