Bug 778238 (SOA-739) - Client libraries from different EAP versions
Summary: Client libraries from different EAP versions
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-739
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: Build Process
Version: 4.3 IR3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.3 IR4
Assignee: Martin Vecera
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-04 06:30 UTC by Martin Vecera
Modified: 2008-09-04 13:40 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-04 13:40:59 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-739 0 None None None Never

Description Martin Vecera 2008-09-04 06:30:50 UTC
Date of First Response: 2008-09-04 09:37:18
project_key: SOA

For instance:

client/jboss-ejb3-all.jar:
Manifest-Version: 1.0
Specification-Title: JBoss EJB 3.0
Created-By: R27.1.0-109-73164-1.5.0_08-20061129-1418-linux-ia32 (BEA S
 ystems, Inc.)
Ant-Version: Apache Ant 1.6.5
Implementation-Title: JBoss EJB 3.0
Specification-Vendor: JBoss
Specification-Version: JBoss EJB 3.0 AS 4.2.0 GA
Implementation-Vendor-Id: http://www.jboss.org/
Implementation-Version: JBoss EJB 3.0 AS 4.2.0 GA
Implementation-Vendor: JBoss
Implementation-URL: http://www.jboss.com/products/ejb3

client/jbosssx-client.jar:
Manifest-Version: 1.0
Specification-Title: JBoss
Created-By: R27.1.0-109-73164-1.5.0_08-20061129-1418-linux-ia32 (BEA S
 ystems, Inc.)
Ant-Version: Apache Ant 1.6.5
Implementation-Title: JBoss [EAP]
Specification-Vendor: JBoss (http://www.jboss.org/)
Specification-Version: 4.3.0.GA_CP02
Implementation-Vendor-Id: http://www.jboss.org/
Implementation-Version: 4.3.0.GA_CP02 (build: SVNTag=JBPAPP_4_3_0_GA_C
 P02 date=200808051050)
Implementation-Vendor: JBoss Inc.
Implementation-URL: http://www.jboss.org/

This can lead to nasty exceptions like:
javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 1126421850898582900, local class serialVersionUID = -2711693270411201590]
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:780)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
	at javax.naming.InitialContext.lookup(InitialContext.java:351)
	at org.jboss.soa.esb.samples.quickstart.helloworld_ejb3.HelloWorldEJB3Test.testEJB3HelloWorld(HelloWorldEJB3Test.java:58)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 1126421850898582900, local class serialVersionUID = -2711693270411201590
	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
	at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
	at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710)

Comment 1 Martin Vecera 2008-09-04 13:33:39 UTC
client/jboss-ejb3-all.jar has right version - it's not EAP version number but AS version number. It is fine to have 4.2.0 there.

The exception was caused by wrong jbossall-client.jar version from old Seam FP.

Comment 2 trev 2008-09-04 13:36:07 UTC
Link: Added: This issue depends JBPAPP-1145


Comment 3 trev 2008-09-04 13:37:18 UTC
IR4 spun with latest version of SEAM

Comment 4 Martin Vecera 2008-09-04 13:40:59 UTC
Fixed by using a new version of Seam FP.


Note You need to log in before you can comment on or make changes to this bug.