Hi,

There is a bug in GenIC 2.1 !!!

The names of the classes generated by GenIC are build from the
ejb-name defined in the XML deployment descriptor.
In your case, the ejb-name seems to be:
        Ify.Product
The names of the generated classes are invalid because there is a
dot character:
        JOnASIfy.ProductHome
        JOnASIfy.ProductRemote

You can work around this problem by renaming your beans.
Sorry for this trouble.

Kind regards.
H�l�ne.

Paolo Sommaruga wrote:
> 
> Hi,
> 
> I have the same problem when I attempt to deploy our application with JOnAS 2.1
> Instead I have no problem with JOnAS 2.0
> 
> I have the following output:
> 
> GenIC: Bean 'Ify.Product' generation.
> ../../classes/com/ga/ify/ejb/JOnASIfy/JOnASIfy.ProductRemote.java:22: '{'
> expected.
> public class JOnASIfy.ProductRemote extends JBeanEntity implements
> com.ga.ify.ejb.Product {
>                      ^
> ../../classes/com/ga/ify/ejb/JOnASIfy/JOnASIfy.ProductHome.java:28: Class
> com.ga.ify.ejb.JOnASIfy already defined in
> ../../classes/com/ga/ify/ejb/JOnASIfy/JOnASIfy.ProductRemote.java.
> public class JOnASIfy.ProductHome extends JEntityHome implements
> com.ga.ify.ejb.ProductHome {
>              ^
> ../../classes/com/ga/ify/ejb/JOnASIfy/JOnASIfy.ProductHome.java:28: '{'
> expected.
> public class JOnASIfy.ProductHome extends JEntityHome implements
> com.ga.ify.ejb.ProductHome {
> ...
> 
> Thanks for JOnAS!
> 
>                                 Paolo Sommaruga
> 
-- 
-=- 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