Hi Virginie,

First of all, thank you very much for your interest for JOnAS.

The "deprecated method" message appears because we use the
rmic option -v1.1 to be able to propagate the transactionnal
context.
On JDK 1.1, we modified the RMI stubs and skels to add
for each request the transactionnal context.
On JDK 1.2, RMI stubs or skels are generics and we don't already
find a simple solution. That's why we force the option -v1.1.
(Notice, that's other EJB platforms (like Weblogic, ProSyst)
have their own RMI implementation.)
So, there is no link between those messages and your problem.

To solve your problem, try to stop and then restart your rmiregistry.

Hope this helps.
H�l�ne.

Virginie Durand-Prevot wrote:
> 
> Hi,
> 
> I have the following error when I start the EJBServer :
> JOnAS Server, version 2.0, running on rmi.
> main : 0:49:52:31 JBeanHome constructor for NewUserBean
> main : 0:49:52:234 Cannot register bean: java.lang.ClassCastException
> 
> I try to regenerate the Stub Class with the GenIC tool which print the
> following warning message :
> Note : 4 files use or override a deprecated API. Recompile with
> "-deprecation" for details
> 
> The EJB class are compiles without this warning.
> 
> Is there a link between the Exception and the fact that the generate Stub
> used deprecated API ?
> 
> What could be wrong when the EJBServer raise a classCassException ?
> 
> Thanks
> 
> Virginie.
> 
> ----
> 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-frec.bull.com
  Phone: 33.4.76.29.73.53          Fax: 33.4.76.29.76.00
 Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________
----
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