I am migrating my JBoss 4.3GA Enterprise application consisting of one Web module and one EJB module to JBoss 6.4 EAP.
I did all the changes that was specified in JBoss migration doc provided on their website. JBoss migration doc
I was even able to successfully deploy my ear in the server but got the below error whenthe first ejb is called.
Servlet hibernateInit threw load() exception: java.lang.ClassCastException: com.adminserver.bll.SystemInformationBll$$$view42 cannot be cast to org.omg.CORBA.Object.
Any suggestion what may be wrong here
I solved the issue by correcting the JNDI name in lookup binding in standalone.xml by replacing the local iterface to remote iterface.
This is exactly what i did.. Replace
<lookup name="java:global/coname/ABCDBll" lookup="java:global/ABCDEnterpriseApp/EBCDEJBApp/ABCDBll!com.coname.bll.ABCDBllRemote"/>
with this
<lookup name="java:global/coname/ABCDBll" lookup="java:global/ABCDEnterpriseApp/EBCDEJBApp/ABCDBll!com.coname.bll.ABCDBllRemoteHome"/>