Error- ModuleNotFoundException Module mymodule.sbapp" cannot be found"

Error- ModuleNotFoundException Module mymodule.sbapp" cannot be found"

book

Article ID: KB0074914

calendar_today

Updated On:

Products Versions
TIBCO Streaming 7

Description

Error

ModuleNotFoundException

This error can occur when an application is started, in the case where you are running an application in a container that references another StreamBase application through a module.

Resolution

Ensure that the <module-search> elements are declared in your sbd.sbconf file.

In general you can edit your project's sbd.sbconf configuration file (or create one if it does not exist) to specify the directories where StreamBase should search for external resources. For modules, use module-search elements; for Java operator and adapter resources use operator-resource-search elements. For example:
 
<streambase-configuration> <global> ... <module-search directory="/home/algorithms/modules"/>


After you edit and save the sbd.sbconf file the specified resources can be referenced by applications in your project.

See https://docs.streambase.com/sb77/topic/com.streambase.sb.ide.help/data/html/reference/sbdxml.html for information about elements in the server configuration file.

Issue/Introduction

Configuration guidance