Hi All,
Currently we are migrating our custom webdynpro java application from 7.0 to 7.4 version. It uses EJB 2.1 for business logic layer.
Two WDJ applications using one EJB module. While invoking the EJB from WD, It is working fine for first application. And gives following error when we run the second WD applicartion. Please see the error log.
Caused by: java.lang.ClassCastException: Cannot cast class com.sun.proxy.$Proxy5931 to interface com.lti.fcms.beans.rolemanagement.RoleManagementModuleHome (found matching interface com.lti.fcms.beans.rolemanagement.RoleManagementModuleHome loaded by xxxxxx/appl~dp_fcms_config_tool@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@1464fad0@alive, but needed loader xxxxxx /appl~dp_fcms_rolemanagement@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@7871f775@alive)
at com.lti.rfsone.components.adminstrator.AdminComp.wdDoInit(AdminComp.java:145)
at com.lti.rfsone.components.adminstrator.wdp.InternalAdminComp.wdDoInit(InternalAdminComp.java:159)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:161)
... 52 more
How to resolve this issue?. Please let me know if you need more information.