Re: Deployment of CMP beans fails

och <[email protected]>
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <[email protected]>
Hello Guillaume
thank you for jou response but where is the file sun-ejb-jar.xml. I can see it only after i have deployed the module.
i would like to ask you something: i am student and li am doing a work with ejb. What do you think about sun one aplication server. Sometimes i
make module and all is all right when i deploy it. The next day i deploy it again and there is a probelem with the mapping
Do i  something wrong ?
thank you very much

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

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