Hi Klaus,

First of all, don't hesitate to post your question on the jonas_user
mailing list [EMAIL PROTECTED] instead of a private address.
You will get more help with the jonas_user community.

Please, find below my comments.

Kind regards.
H�l�ne.

Klaus Thiele wrote:
> 
> Hi H�l�ne,
> >
> > In most cases you can solve the problem with a restart of the registry.
> > The  error-message shows, that the registry has different versions
> > of the registered  classes.
> > That can happen, if you recompile your sources, restart the EJBServer
> > and
> > forget the rmiregistry.
> >
> > Getting the UserTransaction in a servlet is possible, and this runs
> > properly.
> > Indeed, in the JOnAS delivery, there is a JOnAS sample which shows how
> > to
> > access an EJB in JOnAS from a servlet in Tomcat.
> > In this servlet, we also get the UserTransaction as the same way.
> > Here is the associated code:
> 
> it's exactly like my code, but no change - after a fresh start
> of rmiregistry, EJBServer and Tomcat:
> 
> error unmarshalling propagation context; nested exception is:
> java.io.InvalidClassException: org.objectweb.jonas.jtm.ControlImpl_Stub;
> Local class not compatible: stream classdesc
> serialVersionUID=3626942141441038673 local class
> serialVersionUID=3410587665175124480

Unfortunaly, I haven't others ideas.

> 
> ----
> did i have to use Jeremie instead?

No, it is not mandatory, except if you want to make use of security
service.

> 
> i try it, but EJBServer fails to start:
> 
> $ registry &
> Jeremie Registry started
> $ EJBServer &
> JOnAS Server, version 2.1.1, running on Jeremie.
> Mapping datasource jdbc:oracle:thin:@pluto:1525:LG3X on jdbc_1
>     InvocationTargetException : java.lang.NoClassDefFoundError:
> org/objectweb/jonas/rmifilters/RemoteStub
> java.lang.NoClassDefFoundError:
> org/objectweb/jonas/rmifilters/RemoteStub
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
> [...]
> Cannot create containers : EJBServer halting
> 

It seems that you forget to redeploy yours beans with the GenIC tool.

> thanks
>   klaus
> 
> --
> Klaus Thiele - Personal & Informatik AG
> mailto:[EMAIL PROTECTED]
> 
>  "There's got to be more to life than compile-and-go."

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