Hi,

Method defined in the entity bean's home interface must be one of the
following:
- a create method
- a finder method.
('remove' methods are already defined in the javax.ejb.EJBHome
interface)

It seems that you define a 'remove' method in the entity bean's home
interface,
which causes this error in GenIC.

Nevertheless, I will modify GenIC to have a cleaner error.

Kind regards.
Hélène.

Eitan Fux wrote:
> 
> Hi,
> I am a new user of Jonas, and I got this ArrayIndexOutOfBoundsException.
> from reading emails I got this answers
> (http://www.objectweb.org/messages/JonasUsers/2000/05/msg00086.html),
> that not solve my problem.
> Is this Exception can cause from wrong EJB code or it is a problem with the
> Deployment Descriptor?
> if it is a coding problem, from where can I start to find my errors?
> is it possible that the problem cause from Serializable problem?
> 
> I am running Jonas 2.2.7, JDK 1.3, J2EE 1.2.1 on Win 2000.
> another entity very like this one work fine on my PC.
> 
> the output of the GenIC Error is:
> 
>                 >java -Dinstall.root=D:\Jonas org.objectweb.jonas_ejb.tools.GenIC -d
>                  D:\Jonas\examples\classes -keepgenerated
> D:\Jonas\examples\DDs/DBManager/ejb-ja
>                 r.xml
>                 GenIC for JOnAS 2.2.7: Bean 'DBManager' generation...
>                 GenIC for JOnAS 2.2.7: Bean 'DBManagerEntity' generation...
>                 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
>                         at
> org.objectweb.jonas_ejb.tools.GenICEntityHome.genRemove(GenICEntityHo
>                 me.java:174)
>                         at
> org.objectweb.jonas_ejb.tools.GenICHome.generate(GenICHome.java:118)
>                         at
> org.objectweb.jonas_ejb.tools.GenIC.genImplHomeClass(GenIC.java:234)
>                         at org.objectweb.jonas_ejb.tools.GenIC.main(GenIC.java:735)
> 
> thanks in advance,
> Eitan Fux
> Cisco Systems
> 
> ----
> 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".

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