IBM Support

FWK005 error when running multiple threads

Troubleshooting


Problem

FWK005 error when running multiple threads

Symptom

Stack trace goes something like :

xxx.xxx.xxx.OrderVerificationException: FWK005 parse may not be called while parsing.
:
:
at com.apl.ecommerce.fraudcheck.DefaultOrderVerification.parseOutputXML(DefaultOrde rVerification.java:531)
at com.apl.ecommerce.fraudcheck.DefaultOrderVerification.verifyOrder(DefaultOrderVe rification.java:312)
at com.apl.FraudCheck.canOrderBeProcessed(FraudCheck.java:60)
at java.lang.reflect.Method.invoke(Native Method)
at com.yantra.yfs.api.YFSUserExitProxy.invoke(YFSUserExitProxy.java:71)

PART : UserExit 4.0 SP3 Platform
COMPONENT: canOrderBeProcessed
OS: Solaris - 2.6
DATABASE: Oracle - 8.1.7
WEB SERVER: WebLogic - 6.1 SP3
WEB BROWSER: Internet Explorer - 5.5 sp2

Cause

Resolving The Problem

workaround:
Do not run multiple threads of agent in single JVM. i.e.:
If you face the problem for allocation agent and 4 threads of allocation agent is running in single JVM, saperate all threads in different JVMs

eg:
Previous:
java %JAVA_OPTIONS% -CLASSPATH %CLASSPATH% yfs.agent.agentrunner -Jyfs.agent.allocation -TT4 -ET1 -ST4

New:
java %JAVA_OPTIONS% -CLASSPATH %CLASSPATH% yfs.agent.agentrunner -Jyfs.agent.allocation -TT1 -ET1 -ST1
java %JAVA_OPTIONS% -CLASSPATH %CLASSPATH% yfs.agent.agentrunner -Jyfs.agent.allocation -TT2 -ET2 -ST2
java %JAVA_OPTIONS% -CLASSPATH %CLASSPATH% yfs.agent.agentrunner -Jyfs.agent.allocation -TT3 -ET3 -ST3
java %JAVA_OPTIONS% -CLASSPATH %CLASSPATH% yfs.agent.agentrunner -Jyfs.agent.allocation -TT4 -ET4 -ST4

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI49046

Product Synonym

[<p><b>]Fact[</b><p>];

Document Information

Modified date:
16 June 2018

UID

swg21544450