How to resolve the issue of when you configure TIBCO API Exchange Gateway to use RV and you get the following error: Invalid destination uri [/Common/Channel/AS/TransactionReports] specified. Event will not be sent.
book
Article ID: KB0082256
calendar_today
Updated On:
Description
When you switch the default transport from ActiveSpaces to using RV with TIBCO API Exchange Gateway certain errors are generated if you have not completed the RV configuration process.
Errors like:
Caused by: java.lang.Exception: Invalid destination uri [/Common/Channel/AS/TransactionReports] specified. Event will not be sent.
Issue/Introduction
This article describes how to fix issues related to switching to use RV with TIBCO API Exchange Gateway.
Environment
Product: TIBCO API Exchange
Version: 2.2.1
OS: All Supported Operating Systems
Resolution
If you have configured RV as default channel, you need to disable the AS channels in the asg_core.cdd (vice-versa). Because the Gateway transport needs to be either AS or RV.
The Error messages in the logs show RV defined as transport in asg.properties but AS channels are not disabled in asg_core.cdd. APIX Engine tries to send messages to the AS channels but eventually fails with error message.
To fix this issue, please add the error reporting AS channels to the list of deactivate channels in the cdd file for the property "be.channel.deactivate".
Here is an example:
;property-group comment="" name="Channel";
;property name="be.channel.deactivate" value="/DefaultImplementation/Channels/SouthboundEsb0Channel, .....;list of deactivate channels ; ..... ,/Common/Channel/AS/TransactionReports, .... "/;
If you have enabled reporting on CL, then please configure what type of transport to be used between ASG_Core and CL.
Valid values are "AS", "RV" and "JMS". Default is "AS"
Option 1 : If you have not enabled CL reporting , then you can turn off by setting reportingEnabled=false in asg.properties file. This will solve this issue.
>>>>>>
# Turn on or off reporting to CL
tibco.clientVar.ASG/Logging/reportingEnabled=false
tibco.clientVar.ASG/Logging/errorReportingEnabled=false
>>>>>>
Option 2 : If you have enabled reporting to CL (say reportingEnabled=true), then please change the transport value as desired (RV) in asg.properties file.
Please use the below property.
>>>>>>
tibco.clientVar.ASG/Logging/transport=RV
>>>>>>
Feedback
thumb_up
Yes
thumb_down
No