Skip to Content
avatar image
Former Member

Custom adapters cannot be identified

I created some custom adapters in java, then I copied the related jars, config files, cnxml files into the $STREAMING_CUSTOM_ADAPTERS_HOME on the

streaming host server, as following:

Then in the studio in my local, I created a hana streaming project, as the following structure:

Inside the ccl file, I made such statement:

ATTACH INPUT ADAPTER NIC_INPUT_BUS TYPE zmq_objlist_input TO s_in PROPERTIES

ATTACH OUTPUT ADAPTER NIC_OUTPUT_TAXI_HANA TYPE jdbc_ext_objlist_output TO s_out_hana PROPERTIES

However, when I tried to run the streaming project in studio, it failed while compiling:

here’s the log:

Compiling project ioc_sapdp_bus

[ESP-3-158512] Adapter type zmq_objlist_input has not been defined, or was not found. line 65 column 0

[ESP-3-158512] Adapter type jdbc_ext_objlist_output has not been defined, or was not found. line 80 column 0

Unable to compile project ioc_sapdp_bus

Note under the cnxml directory, I did put these 2 cnxml files:

            pic2.jpg (8.9 kB)
            pic3.jpg (38.3 kB)
            pic4.jpg (31.7 kB)
            pic1.jpg (37.4 kB)
            Add comment
            10|10000 characters needed characters exceeded

            • Get RSS Feed

            1 Answer

            • Best Answer
              Oct 13, 2017 at 02:37 PM

              You mentioned that you "copied the related jars, config files, cnxml files into the $STREAMING_CUSTOM_ADAPTERS_HOME on the

              streaming host server..." Have you also placed the files in the required locations on your laptop where you are running HANA Studio?

              The copies of the files on the streaming host server are visible to the server when running the project but they are not visible to HANA Studio during development.

              Looking at the "Where to place the files" section of the Writing a Custom Input Adapter for SAP HANA Smart Data Streaming tutorial, are you sure that you have included all of the required files or edited all of the required files? Including the modulesdefine.xml, custommodulesdefine.xml, and parametersdefine.xsd files?

              Add comment
              10|10000 characters needed characters exceeded

              • Yes both files are required. However your modulesdefine.xml should already have had a fair bit of content defining the Input, Output and Formatter modules for the adapters that are included with HANA Streaming Analytics. Here is a screenshot showing part of the contents of my modulesdefine.xml file.