To run your C++ component externally, configure the following component properties:
General / C++ Executable Specifies the name of the executable that the server launches as a subprocess. Specify a plain filename, with no path information or platform extensions such as .exe for Windows. The executable must exist in the EAServer cpplib subdirectory. When you generate a component skeleton, EAServer Manager generates a makefile to build the executable.
Resources / Maximum Wait Specifies the maximum time, in seconds, that the server waits for method execution to complete. A value of 0 indicates infinity, which is the default. If the method does not complete in time, the server returns a CORBA::NO_RESOURCE_EXCEPTION to the caller.
Resources / Maximum Active Instances Specifies the maximum number of external component processes that run simultaneously. A value of 0 indicates no limit, which is the default. There is one process per component instance, and one component instance per client session. When the limit has been reached, client requests for new instances block until an existing instance is destroyed. The maximum blocking time is limited by the Maximum Wait setting.
Copyright © 2005. Sybase Inc. All rights reserved. |