Hi,

I am working on JBoss server with struts and EJB. 
I am presently using JBoss4.x.. I deploy my struts and
EJB application in the same JBoss server.

If I try to invoke stateless EJB from struts action
class then it gives me the following error:

//////////////////////////////////////////////////////
22:50:23,718 INFO  [STDOUT] ctx =
[EMAIL PROTECTED]
22:50:23,906 INFO  [STDOUT] ERROR
[http-0.0.0.0-8080-1] (Log4JLogger.java:119) -
 Servlet.service() for servlet action threw exception
java.io.InvalidClassException:
org.jboss.proxy.ejb.GenericEJBInterceptor; local
class incompatible: stream classdesc serialVersionUID
= 3844706474734439975, loc
al class serialVersionUID = 4582256576523491346
        at
java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
//////////////////////////////////////////////////////

The code works perfectly in JBoss 3.0.8 but for JBoss
4.x it gives the above errors.

Can somebody tell me how to invoke EJB from web
application using JBoss 4.x app server ?

Waiting for the early reply.

Thanks.
regards,

Anand


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to