Ok I need to dig out your answer as I had a Jacl project long time ago. If I get anything I ll get back to you. Mean while you can try out by your own. If you get any answers then post it here for further viewers reference.
Intro about MapResRefToEJB: Maps resource references to resources. You must map each resource reference that is defined in your application to a resource. Use this option to provide missing data or to update a task.
Each element of the MapResRefToEJB option consists of the following fields: module, EJB, uri, referenceBinding, resRef.type, JNDI, login.config.name, and auth.props. Of these fields, the following can be assigned values: JNDI, login.config.name, auth.props. The JNDI field is required.
The current contents of the option after running default bindings include:
If the login.config.name is set to DefaultPrincipalMapping, a property is created with the name com.ibm.mapping.authDataAlias . The value of the property is set by the auth.props. If the login.config name is not set to DefaultPrincipalMapping, the auth.props can specify multiple properties. The string format is websphere:name= <name1>,value=<value1>,description=<desc1>. Specify multiple properties using the plus sign (+) .
Use the taskInfo command of the AdminApp object to obtain information about the data that is needed for your application. You need to provide data for rows or entries that are either missing information, or require an update.
Though Its not same but Its ok for your reference. JACL
Note: All paths are using forward slash instead of backword.
Check the details of your jndi by following command.
Above will give you details about below things: Check out you have given the details correctly in your query or not.