Execution problem with an EJB uproc (CL-INT type) when a parameters file is used (EJB_PARAMFILE parameter)

Document ID : KB000085246
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Affects Release version(s): 5

Error Message :
 There is no specific errors messages but as shown inside the 'server.log' file (Manager for JAVA server log file), the 
 string value is truncated at the first comma ( ,) 

###############################################
 ----------<?xml version="1.0" encoding="UTF-8"?>
 <uxrequest name="INVOKE_EJB_MD_RQST">
 <uxenv company="UNIV56" area="X" node="papeete" user="mycompa" lang="EN"/>
 <uxjobid uproc="UPREJBDGC" uprocver="000" session="" sessionver="" mu="PAPEETE" numlanc="0136029" 
 numproc="0107208" numsess=""/>
 <j2ee_ejb version="2.0">
 <connectionId><![CDATA[CDE_EJB]]></connectionId>
 <obj name="/MaCalculatriceBean"/>
 <createEjb>
 <name>create</name>
 </createEjb>
 <removeEjb invoke="0"/>
 <methodInvoke>
 <name>GetInfo</name>
 <param pos="1" type="string" isnull="0">
 <value><![CDATA[cmd_test a]]></value> <<<<<<<<<<<<< problem is here
 </param>
 </methodInvoke>
 </j2ee_ejb>
 </uxrequest>
 ############################################### 

Patch level detected:Dollar Universe 5.6.0
Product Version: Dollar.Universe 5.6.0 FX25010

Description :Launching a CL-INT uproc to execute an EJB with the following instructions :

$UXEXE/uxstr EJB JNDI=CDE_EJB EJBNAME=/MaCalculatriceBean EJBMETHOD=GetInfo
EJB_PARAMFILE=/home/appli/dumejb20/mgr4java_server/paramdgcp.txt

The file linked to the EJB_PARAMFILE variable (paramdgcp.txt in this example) contains the following line :
string,LITERAL,cmd_test a,b,c
Note that the three parameters are separated with comma (,) : a,b,c

The uproc successfully ends but as shown inside the 'server.log' file (Manager for JAVA server log file), the string value is truncated at the first comma ( ,).


GetInfo

cmd_test a
 
Environment:
OS: All
OS Version: All
Related configuration item(s): Manager for Java (EJB).
Cause:
Cause type:
Defect
Root Cause: This is a defect with the 'uxstr' command which truncate the argument after the first comma (,).
Resolution:
This is fixed since the patch FX25006.

Fix Status: Released

Fix Version(s):
Component: Application.Server
Version: Dollar.Universe 5.6.0 FX25010
FX25006
Additional Information:
Workaround :
N/A