[jboss-user] [EJB/JBoss] - org.jboss.ejb3.remoting.BaseRemoteProxy serialid exception

ycindepalle do-not-reply at jboss.com
Fri Jan 11 13:59:41 EST 2008


Hello

I am deploying my application in jboss 4.2.2GA version. The application accesses ejb services from another application deployed in jboss 405.

I tried using the jboss 405 ejb lib jars along with the deployment.(jboss-annotations-ejb3.jar, jboss-ejb3-client.jar, jboss-ejb3x.jar)

I am getting the following exception when deploying my application.

==========================
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'securityServiceRemote' while setting bean property 'securityServiceRemote'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityServiceRemote' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is 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]
Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityServiceRemote' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is 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]
Caused by: 
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:722)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
	at javax.naming.InitialContext.lookup(InitialContext.java:351)
	at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
	at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
	at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)
	at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146)
	at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:93)
	at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)
	at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:197)
	at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:184)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1198)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
	
====================


Any help is greatly appreciated. I see some issues with this serialid in the bugs list and looks like they are fixed but i am unable to proceed.

thanks very much in advance
Yugandhar

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119217#4119217

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119217



More information about the jboss-user mailing list