Node fails to install with the message: swcoord.exe not found

Node fails to install with the message: swcoord.exe not found

book

Article ID: KB0082202

calendar_today

Updated On:

Products Versions
TIBCO Streaming 10.2

Description

In some case, your node installation action may fail with the following error message:
 
>> epadmin install node nodename=A.sbuser application=App2-0.0.1-SNAPSHOT-ep-application.zip
[A.sbuser]    Installing node
[A.sbuser]    Creating node snapshot after installation failure
[A.sbuser]    Created snapshot archive C:\Users\WindowsUser\Documents\StreamBase Studio 10.2 Workspace-DemoFeaturesPreso\App2\target\.\A.sbuser\..\snapshots\A.sbuser\A.sbuser.2018-03-26-16-04-28.zip
        Removing node A.sbuser...
        Done.
Install node failed. Executable C:\TIBCO\sb-cep\10.2/distrib/kabira/devbin/swcoord.exe not found
Cannot connect to the node. If the reason for this failure cannot be corrected then the installation directory can be removed by calling "remove node" with the installpath parameter specified.

This is due to specifying a buildType of 'DEVELOPMENT' in your application configuration file.  For example..
 
name = "app"
type = "com.tibco.ep.dtm.configuration.application"
version = "1.0.0"

// An application definition contains design-time-specified information about an application composed of multiple
// application fragments.
configuration = {
    ApplicationDefinition = {
        dataDistributionPolicies = {
        }
        execution = {
            buildType = "DEVELOPMENT"
            dataTransport = {
                deferredWritesEnabled = true
                keepAliveSendIntervalSeconds = 1
                maximumPDUSizeBytes = 1000000
                nodeActiveTimeoutSeconds = 60
                nonResponseTimeoutSeconds = 2
                tcpNoDelayEnabled = true
            }
            nodeTypes = {
            }
            transaction = {
                maximumBackoffMilliseconds = 10000
                numberCompletedTransactions = 1000
                timeoutSeconds = 60
            }
        }
    }
}

 

Issue/Introduction

Node fails to install with the message "swcoord.exe not found" if the application's buildType is set to 'DEVELOPMENT'.

Resolution

A buildType of 'DEVELOPMENT' is no longer valid in StreamBase 10.2.  Instead, specify a value of 'PRODUCTION' to avoid this error:
 
name = "app"
type = "com.tibco.ep.dtm.configuration.application"
version = "1.0.0"

// An application definition contains design-time-specified information about an application composed of multiple
// application fragments.
configuration = {
	ApplicationDefinition = {
		dataDistributionPolicies = {
		}
		execution = {
			buildType = "PRODUCTION"
			dataTransport = {
				deferredWritesEnabled = true
				keepAliveSendIntervalSeconds = 1
				maximumPDUSizeBytes = 1000000
				nodeActiveTimeoutSeconds = 60
				nonResponseTimeoutSeconds = 2
				tcpNoDelayEnabled = true
			}
			nodeTypes = {
			}
			transaction = {
				maximumBackoffMilliseconds = 10000
				numberCompletedTransactions = 1000
				timeoutSeconds = 60
			}
		}
	}
}

A future release of StreamBase is expected to provide a better error message in the case where the user has chosen a 'DEVELOPMENT' buildType.