this is an issue in jboss classloader
 go to the deploy folder.
 inside \jbossweb-tomcat55.sar\META-INF\jboss-service.xml file you'll find.
 
 <attribute name="Java2ClassLoadingCompliance">false</attribute>
 <attribute name="UseJBossWebLoader">false</attribute>
 
 edit this tags to true.
 another possibility, is your deployed ejb(class files) and class inside the 
classes folder of war is a different output from different compilation.
 this happens because you may be implementing seializble and while compiling it 
generates some id that is diffrent evertime you compile. so compile the ejb's 
and remove the old ones abd copy the class files to required place  and run 
your struts program

----- Original Message ----
From: [EMAIL PROTECTED]
To: jboss-user@lists.sourceforge.net
Sent: Tuesday, July 25, 2006 12:42:24 AM
Subject: JBoss-user Digest, Vol 2, Issue 184

Send JBoss-user mailing list submissions to
    jboss-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.sourceforge.net/lists/listinfo/jboss-user
or, via email, send a message with subject or body 'help' to
    [EMAIL PROTECTED]

You can reach the person managing the list at
    [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of JBoss-user digest..."


Today's Topics:

   1. JBoss 4.x error: GenericEJBInterceptor (Anand Kulkarni)
   2. jBPM (jPDL) pageflow - use without jboss, ejb3 (Torsten Krah)


----------------------------------------------------------------------

Message: 1
Date: Mon, 24 Jul 2006 00:19:38 -0700 (PDT)
From: Anand Kulkarni <[EMAIL PROTECTED]>
Subject: [JBoss-user] JBoss 4.x error: GenericEJBInterceptor
To: jboss-user@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

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 



------------------------------

Message: 2
Date: Mon, 24 Jul 2006 16:31:06 +0200
From: Torsten Krah <[EMAIL PROTECTED]>
Subject: [JBoss-user] jBPM (jPDL) pageflow - use without jboss, ejb3
To: jboss-user@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain

Can i use the pageflow from jBPM ( instead the one of JSF navigation )
without jboss application server and without ejb3?
Are hibernate and tomcat 5 enough?

If yes, how to configure it to make it work? Looking at the Guide for
jBPM 3.1, the "pageflow" section 4.5.3 is empty, any hints or
suggestions?

thx for help.

kind regards




------------------------------

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


End of JBoss-user Digest, Vol 2, Issue 184
******************************************




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