I have a stateless EJB session block, with bith @local and @remote annotations. The code runs fine on the weblogic server. However, when deployed to Websphere, it gives the following exception.
bm.ejs.container.EJBConfigurationException: BUSINESS_INTERFACE_DESIGNATED_AS_BOTH_REMOTE_AND_LOCAL: 'oracle.odc.session.ODCSession'
The oracle.odc.session.ODCSession business interface class cannot be either remote or local.
Is there any workaround that allows it to work without writing separate EJBs for remote and local calling?
source
share