Hello everybody,
I am working with the CE 7.1 and I am trying to deploy a session Bean with an aberrant JNDI-Name. The Bean is named JCoListenerBean but a client is looking for this Bean via JNDI-lookup using the name IDOC_INBOUND_ASYNCHRONOUS. That is why I have to change the JNDI-Name of the JCoListenerBean to IDOC_INBOUND_ASYNCHRONOUS. I have tried to do this by using annotations and by adjusting the deployment descriptor (ejb-j2ee-engine.xml). Both ways do not have the designated result.
This is my ejb-j2ee-engine.xml
<?xml version="1.0" encoding="UTF-8" ?>
http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="ejb-j2ee-engine_3_0.xsd">
<enterprise-beans>
<enterprise-bean>
<ejb-name>JCoListenerBean</ejb-name>
<server-component-ref>
<name>IDOC_INBOUND_ASYNCHRONOUS</name>
<jndi-name>IDOC_INBOUND_ASYNCHRONOUS</jndi-name>
</server-component-ref>
</enterprise-bean>
</enterprise-beans>
</ejb-j2ee-engine>
Anyone knows how to change the JNDI-Name of a session Bean using NetWeaver and the NW Developer Studio. Ideal would be a link to a code example.
Thanks, Stefan