|
From: Anand K. <kul...@ya...> - 2006-07-24 07:19:48
|
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 =
javax.naming.InitialContext@1643e4b
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
|