Facing error mesage "AEADR3-600009 Test Connection Failed: com.tibco.sflow.SResourceFactory.createApplicationFromFile(Ljava/lang/String;Ljava/lang/String;)V"

Facing error mesage "AEADR3-600009 Test Connection Failed: com.tibco.sflow.SResourceFactory.createApplicationFromFile(Ljava/lang/String;Ljava/lang/String;)V"

book

Article ID: KB0073456

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions 7.x

Description

When clicking "Test Connection" button of R3 Adapter Configuration on TIBCO Designer, it failed with the pop-up error message "AEADR3-600009 Test Connection Failed: com.tibco.sflow.SResourceFactory.createApplicationFromFile(Ljava/lang/String;Ljava/lang/String;)V". Refer to the attached screenshot (Connection Failure.png) for more details.

Following designer console logs(Window-> Show Console) displayed:
=======================================================
Trampoline error: com.tibco.ae.tools.palettes.r3.metadataAdapter.R3MetadataAdapterFactory@404021be actualTestConnection
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.tibco.util.Trampoline.invoke(Trampoline.java:136)
    at com.tibco.ui.BusyWait.run(BusyWait.java:428)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: com.tibco.sflow.SResourceFactory.createApplicationFromFile(Ljava/lang/String;Ljava/lang/String;)V
    at com.tibco.r3.R3MetadataAdapterClient.createAdapter(Unknown Source)
    at com.tibco.r3.R3MetadataAdapterClient.<init>(Unknown Source)
    at com.tibco.ae.tools.palettes.r3.metadataAdapter.R3MetadataAdapterFactory.actualTestConnection(Unknown Source)
    ... 7 more
Test Connection Failed: com.tibco.sflow.SResourceFactory.createApplicationFromFile(Ljava/lang/String;Ljava/lang/String;)V
=======================================================

 

Issue/Introduction

For TIBCO ActiveMatrix Adapter for SAP, Test connection fails with the error, “AEADR3-600009 Test Connection Failed: com.tibco.sflow.SResourceFactory.createApplicationFromFile(Ljava/lang/String;Ljava/lang/String;)V”

Environment

All supported platforms

Resolution

When the TIBCO ActiveMatrix Adapter for SAP is installed before the TIBCO ActiveMatrix® Adapter for IBM i then this problem occurs.

This is caused by com.tibco.sflow.SResourceFactory class conflict. This class exists in both TIBCO ActiveMatrix® Adapter for IBM i  sflow.jar and TIBCO ActiveMatrix Adapter for SAP  adr3palette.jar however they are different. Method createApplicationFromFile(Ljava/lang/String;Ljava/lang/String;) exists in TIBCO ActiveMatrix Adapter for SAP  library but not TIBCO ActiveMatrix® Adapter for IBM i . After installing TIBCO ActiveMatrix® Adapter for IBM i , the TIBCO ActiveMatrix® Adapter for IBM i   libraries will be firstly used and the wrong class is loaded, which causes the method can’t be found by TIBCO ActiveMatrix Adapter for SAP.

To resolve this issue, edit the designer.tra file and move the TIBCO ActiveMatrix Adapter for SAP libraries to the beginning of the lines of tibco.env.CUSTOM_CP_EXT and tibco.env.CUSTOM_PALETTE_PATH value.  

Attachments

Facing error mesage "AEADR3-600009 Test Connection Failed: com.tibco.sflow.SResourceFactory.createApplicationFromFile(Ljava/lang/String;Ljava/lang/String;)V" get_app