Hi Samuel,
I do a test and it's work fine for me on:
- solaris with a JDK 1.2.1
- linux with a JDK 1.2.2
Could you tell us more information about your system configuration ?
(I think that this problem is JDK version dependant)
Kind regards.
Hélène.
Rouiller Samuel wrote:
>
> 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".
--
-=- 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".