-
1. Re: How do I access a Session Bean in EJB3?
kabirkhan Sep 27, 2005 6:47 AM (in response to guilherme_82)There is an example called "ear" in the tutorial, which should help figure out what to do.
Make sure you have all the libraries needed accessible in the client and that they are from the same version of jboss ejb3 as the ones on the server. -
2. Re: How do I access a Session Bean in EJB3?
guilherme_82 Sep 27, 2005 9:18 AM (in response to guilherme_82)Ok, thanks, but where is this tutorial? in my %JBOSS_HOME%? My Jboss' version is jboss-4.0.3RC2.
-
3. Re: How do I access a Session Bean in EJB3?
guilherme_82 Sep 27, 2005 9:18 AM (in response to guilherme_82)sorry, I got it!
-
4. Re: How do I access a Session Bean in EJB3?
guilherme_82 Sep 27, 2005 10:04 AM (in response to guilherme_82)I did everything like the example, and it still shows me the message:
javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.LocalProxy; local class incompatible: stream classdesc serialVersionUID = -3653996024164679058, local class serialVersionUID = 1333837295113891308]
What's this serialVrsionUID? -
5. Re: How do I access a Session Bean in EJB3?
kabirkhan Sep 28, 2005 4:56 AM (in response to guilherme_82)It looks like your client classpath is using jars from one ejb 3 release and your server is using jars from another ejb 3 release.