Larry Bookman wrote:
> 
> 
> Also I just tried to update to Jonas 2.3. When I now compile the same
> program as above, I now get a compilation error:
> 
> GenIC for JOnAS 2.3: Bean 'ConsumerRatingUpdate' generation...
> ../../classes/iCompass/Consumer/JOnASConsumerRatingUpdateHome.java:91:
> unreported exception javax.naming.NamingException; must be caught or
> declared to be thrown
>         return (new iCompass.Consumer.ConsumerRatingUpdateBean());
>                 ^
> 1 error
> GenIC ERROR: Failed when compiling the implementation classes via java
> compiler
> 
> How do I fix this?
> 

Hi Larry,

You find a bug in the current version 2.3 of JOnAS.
Indeed, it don't accept that the constructor of the bean has a throws
clause.
I fix this bug, and the correction will be available in the next
version of JOnAS.

Nevertheless, you can work around this bug by moving your code of
the bean constructor method to the ejbCreate() method.

Hpe this help you.
Kind regards.
H�l�ne.
-- 
-=- 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