The TIBCO BusinessWorks iProcess Service Agent is unable to send a reply message.

The TIBCO BusinessWorks iProcess Service Agent is unable to send a reply message.

book

Article ID: KB0085703

calendar_today

Updated On:

Products Versions
TIBCO iProcess Technology Plug-ins -
Not Applicable -

Description

Resolution:
Description:
============
TIBCO iProcess EAI BW steps fail with an "EAI CALL OUT FAILED" error.

TIBCO BusinessWorks is unable to send the reply message back to iProcess on the temporary EMS queue.

The error occurs when running the TIBCO BusinessWorks process in the TIBCO Designer (using the Tester) or deployed in the TIBCO Administrator.

Environment:
============
Microsoft Windows Vista Service Pack 2
TIBCO iProcess Engine (iPE) 11.1.0 Windows SQL Server
TIBCO iProcess Technology Plug-in 11.2.0
TIBCO Runtime Agent (TRA) 5.6.1
TIBCO ActiveMatrix BusinessWorks (BW) 5.7.1
TIBCO Administrator 5.6.0
TIBCO Enterprise Message Service (EMS) 5.1.2

Symptoms:
=========

All EAI BW steps fail to complete in iPE.

The BW log file reports the following error:

BusinessWorks iProcess Service Agent is unable to send reply message.
Exception [javax.jms.InvalidDestinationException] occurred while sending reply message.
javax.jms.InvalidDestinationException: Invalid temporary destinationjavax.jms.InvalidDestinationException: Invalid temporary destination at
com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:508) at
com.tibco.tibjms.TibjmsxSessionImp._publish(TibjmsxSessionImp.java:1391) at
com.tibco.tibjms.TibjmsMessageProducer._publish(TibjmsMessageProducer.java:246) at
com.tibco.tibjms.TibjmsQueueSender.send(TibjmsQueueSender.java:74) at
com.tibco.plugin.share.jms.impl.JMSEventContext.reply(JMSEventContext.java:188) at
com.tibco.plugin.share.jms.impl.JMSEventContext.reply(JMSEventContext.java:177) at
com.tibco.plugin.staffware.ServiceAgentEventHandler.sendReplyMessage(ServiceAgentEventHandler.java:745) at
com.tibco.plugin.staffware.ServiceAgentEventHandler.sendReplyMessageAfterConfim(ServiceAgentEventHandler.java:711) at
com.tibco.plugin.staffware.ServiceAgentEventHandler.handleGetInterfaceDefinitionRequest(ServiceAgentEventHandler.java:257) at
com.tibco.plugin.staffware.ServiceAgentEventHandler.start(ServiceAgentEventHandler.java:332) at
com.tibco.plugin.staffware.ServiceAgentEventSourceContext.newEvent(ServiceAgentEventSourceContext.java:88) at
com.tibco.plugin.share.jms.impl.Processor4EventSourceContext.processMessage(Processor4EventSourceContext.java:19) at
com.tibco.plugin.share.jms.impl.JMSReceiver$SessionController.run(JMSReceiver.java:751)  

Cause:
======
The EAIJAVA log file in iPE contained the following error:

2010-03-16 18:07:05,191 [INFO ] SWGenericPlugin - createObject() - object com.staffware.eaiframework.runtime.library.engine.SWFramework created

2010-03-16 18:07:05,445 [FATAL] SWFramework - Unable to parse configuration

java.io.FileNotFoundException:
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.&ltinit>(Unknown Source)
    at java.io.FileInputStream.&ltinit>(Unknown Source)
    at java.io.FileReader.&ltinit>(Unknown Source)
    at com.staffware.eaiframework.runtime.library.engine.SWFramework.initialiseConfig(SWFramework.java:640)
    at com.staffware.eaiframework.runtime.library.engine.SWFramework.initialize(SWFramework.java:830)
    at com.staffware.eaijava.impl.SWGenericPlugin.setupPlugin(SWGenericPlugin.java:252)
    at com.staffware.eaijava.impl.SWGenericPlugin.execute(SWGenericPlugin.java:335)
2010-03-16 18:07:05,447 [ERROR] SWGenericPlugin - setupPlugin() - FatalPluginException

com.staffware.eaijava.FatalPluginException: Unable to parse configuration
    at com.staffware.eaiframework.runtime.library.engine.SWFramework.initialiseConfig(SWFramework.java:654)
    at com.staffware.eaiframework.runtime.library.engine.SWFramework.initialize(SWFramework.java:830)
    at com.staffware.eaijava.impl.SWGenericPlugin.setupPlugin(SWGenericPlugin.java:252)
    at com.staffware.eaijava.impl.SWGenericPlugin.execute(SWGenericPlugin.java:335)
Caused by: java.io.FileNotFoundException:
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.&ltinit>(Unknown Source)
    at java.io.FileInputStream.&ltinit>(Unknown Source)
    at java.io.FileReader.&ltinit>(Unknown Source)
    at com.staffware.eaiframework.runtime.library.engine.SWFramework.initialiseConfig(SWFramework.java:640)
    ... 3 more

The error indicates that the plug-in was unable to read the iPE SWFramework configuration file:
$SWDIR/eaiframework/frameworkconfig.xml

The plug-in locates the file using the eaiframework.config_location property in the file:
SWDIR/eaijava/properties/eaiframework/eaiframework.properties

An example of the eaiframework.properties file is:
eaiframework.config_location=/staffware2/installs/ipe/phil1101/eaiframework/frameworkconfig.xml

In the customer’s environment the location of the file was missing, the line was:
eaiframework.config_location=

The plug-in was unable to source / read the frameworkconfig.xml file.

The java.io.FileNotFoundException exception was generated in iPEand the EAI BW steps failed.

Resolution:
===========
Update the eaiframework.config_location property in the $SWDIR/eaijava/properties/eaiframework/eaiframework.properties file to contain the correct path to the frameworkconfig.xml file.

Issue/Introduction

The TIBCO BusinessWorks iProcess Service Agent is unable to send a reply message.