Hi all,

I get errors when using GenIC to compile the interposition class for my
entity bean. Moreover, these errors come as soon as I define a constant in
my bean remote interface, e.g.:

package com.rixxo.account;
public interface Account extends EJBObject {
  public static final int DISABLED = 0;
  ...
}

The error returned by looks like this:

D:\projects\account>java -Dinstall.root=D:\Jonas
org.objectweb.jonas_ejb.tools.GenIC -d classes ejb-jar.xml
GenIC for JOnAS 2.2.4: Bean 'Account' generation...
classes\com\rixxo\account\JOnASAccountRemote.java:221: <identifier> expected
    public void <clinit>() {
                ^
classes\com\rixxo\account\JOnASAccountRemote.java:258: '(' expected
}
^
classes\com\rixxo\account\JOnASAccountRemote.java:22:
com.rixxo.transmissionserviceaccount.JOnASAccountRemote should be declared
abstract; it does not define remove() in
org.objectweb.jonas_ejb.container.JBean
public class JOnASAccountRemote extends JBeanEntity implements
com.rixxo.account.Account {
       ^
3 errors
GenIC ERROR: Failed when compiling the implementation classes via java
compiler

I'm quite new to EJB and I don't know if it is a bug of GenIC or if I am
missing sth.
Any help will be greatly appreciated, thanks in advance

Samuel

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