Start server

Operation Name

Start server

Function Overview

Starts specified server.

Data Model

XML type.

Properties

For information about using variables, refer to "variables".
Basic settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name to show on the script canvas.  
Required settings
Item name Required/Optional Use of variables Description Remarks
Destination Required Not available Select Global Resource.
  • [Add]:
    Adds a new global resource.
  • [Edit list]:
    Enables to edit the global resource settings in the "Edit resource list".
 
Server name list Required
-
Specify starting server name more than one.

Operate each column follow bottons.
  • [Add]:
    Adds a column.
  • [Up]:
    Moves the order of the selected column upwords by one.
  • [Down]:
    Moves the order of the selected column downwards by one.
  • [Delete]:
    Deletes a column.
 
Server name list/Server name Required Available Select or enter starting server name.
  • There is nothing in selected item at the initial display.
  • Shows the name of server created in [Destination] at selected item, when [Get server name list] has been pushed.
Stand by until server launches Optional Not available Select whether to wait until server has launched.
  • [Checked]:(default)
    Stop the processing until server completes to launch.
  • [Not Checked]:
    Goes on to the next processing when sending server request to launch.
  • If [Checked] has beeen checked, confirms conditions of the server throughout the launch to the value entered in [Timeout] of global resource specified in [Destination].
    If a launch of the server has been confirmed, then process will resume on.
    If a launch of the server cannot be confirmed in milliseconds entered in [Timeout], then an error occurs.
Property action
Item name Description Remarks
Get server name list Enables to select from [server name list/server name] by acquiring server name created in [Destination].  
Comment
Item name Required/Optional Use of variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Schema

Input Schema

None.

Output Schema

<?xml version="1.0"?>
<servers>
  <server currentStatus="" name="" previousStatus="" />
</servers>
Element name Attribute name Description Remarks
Servers -    
Server - Appears each server specified in [server name list/server name].  
currentStatus Outputs current server condition.
  • [running]: server is running.
  • [pending]: server is in the process of launch/stop.
  • [stopped]: server stops.
 
name Outputs server name.  
previousStatus Outputs server condition just before the current.
  • [running]: server is running.
  • [pending]: server is in the process of launch/stop.
  • [stopped]: server stops.
 

Loading Schema on Mapper

Schema is loaded automatically.
For details, refer to "Edit Schema".

Mass Data Processing

Mass data processing is not supported.

Transaction

Transaction is not supported.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
message_category Stores the category of message code corresponding to the occured error.
  • Default value is null.
message_code Stores the code of message code corresponding to the occured error.
  • Default value is null.
message_level Stores the severity of message code corresponding to the occured error.
  • Default value is null.
error_type Returns the error type when error occurred.
  • Default value is null.
  • Error is represented in the format depicted below.
    Example:java.io.FileNotFoundException
  • The message may vary depending on the DataSpider Servista version.
error_message Returns the error message when error occurred.
  • Default value is null.
  • The message may vary depending on the DataSpider Servista version.
error_trace Returns the trace information when error occurred.
  • Default value is null.
  • The message may vary depending on the DataSpider Servista version or the client application used.

Specification Limits

Main Exceptions

Exception name Cause Solution
ResourceNotFoundException
Resource definition could not be found. Name: []
[Destination] is not specified. Specify [Destination].
ResourceNotFoundException
Resource definition could not be found. Name: [<name of global resource>]
Resource definition selected in[Destination] is not found. Confirm the global resource specified in[Destination].
InvalidPropertyConfigurationException
<Property name>is required.
[<Property name>]is not set. Set [<Property name>].
InvalidPropertyConfigurationException
Timeout must be more than 0.
Number less than 0 is entered in [Timeout] of global resource specified in [Destination]. Enter the number bigger than 0 at [Timeout] specified in [Destination].
InvalidPropertyConfigurationException
Enter an integer or a caluable in Timeout.
Value which is not a numerical value is entered in [Timeout] of global resource specified at [Destination]. Enter a numerical value in [Timeout] of global resource specified in [Destination].
NiftyCloudOperationTimeoutException
The status of the server was not updated within the allotted millisecond in <Timeout>.
After receiving a request, the launch of server failed to complete within the time entered at [Timeout] of global resource specified in [Destination]. Confirm [Timeout] of global resource specified in [Destination].
com.nifty.cloud.sdk.NiftyServiceException
Client.InvalidserverID.NotFound: The server ID '<Server name>' does not exist.
There is no server entered in [Server name list/Server name]. Put a right server name in [Server name list/Server name].
com.nifty.cloud.sdk.NiftyServiceException
Client.AuthFailure: This system was not able to validate the provided access key.
A value of [AccessKey] or [SecretAccessKey] of global resource specified in [Destination] is wrong. Put a right value in [AccessKey], [SecretAccessKey] of global resource specified in [Destination].
com.nifty.cloud.sdk.NiftyServiceException
org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of <Timeout> ms
Timeout has occurred in the process of conneting with the host. Confirm network condition or [Timeout] of global resource specified in [Destination].
com.nifty.cloud.sdk.NiftyServiceException
java.net.SocketTimeoutException: Read timed out
After connection was made with the host, timeout has occured before receiving any responces from host. Confirm the host condition or [Timeout] of global resource specified in [Destination].

Notes