Hi,


First of all, I apologize for this late answer;
I was out of my office for several weeks.

Have you resolve your problem ?
It's due to a wrong declaration of the create() method in the Home interface
MailHome.
The declaration must be:
        public Mail create() throws javax.ejb.CreateException, RemoteException;
instead of 
        public MailBean create() throws javax.ejb.CreateException, RemoteException;

Regards.
H�l�ne.

[EMAIL PROTECTED] wrote:
> 
> Hi all,
> 
> I'm a newbie to JOnAS, so please forgive me in advance ... :-)
> 
> I have written my two first bean, one being generated with EJBWizard and
> the other done "more or less" manually. After a few fix, I have run genic
> and could generate without problems the classes for my Test bean.
> 
> This is not the case for the other Bean (called Mail). What happens is that
> the create() method in the generated class called JOnASMailHome has a wrong
> signature, and therefore cannot compile. This is not the case for
> JOnASTestHome.
> 
> I know that I have done something wrong somewhere, but I haven't found out
> what ...
> 
> You will find attached both create() functions, as well as the Mail files.
> 
> Thanks a lot for any help,
> 
> R�gis
> 
> (See attached file: MailHome.java)(See attached file: ejb-jar.xml)(See
> attached file: jonas-ejb-jar.xml)(See attached file: Mail.java)(See
> attached file: MailBean.java)(See attached file: bug.txt)
> 
-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]   http://www.evidian.com
  Phone: 33.4.76.29.73.53            Fax: 33.4.76.29.76.00
  Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to