sp_extengine

Description

Starts and stops EJB Server. Displays status information about EJB Server.

Syntax

sp_extengine 'ejb_server', '{ start | stop | status }'

Parameters

ejb_server

the logical name of the EJB Server.

start

starts the EJB Server.

stop

shuts down the EJB Server.

status

displays status information about the EJB Server.

Examples

Example 1

Informs user that the EJB Server SYB_EJB is running:

sp_extengine 'SYB_EJB', 'status'
Enterprise java bean server is up and running.

Example 2

Shuts down the EJB Server SYB_EJB:

sp_extengine 'SYB_EJB', 'stop'

Usage

Permissions

The permission checks for sp_extenengine differ based on your granular permissions settings.

Granular permissions enabled

With granular permissions enabled, you must be a user with manage server privilege.

Granular permissions disabled

With granular permissions disabled, you must be a user with sa_role.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

Documents See the User’s Guide to EJB Server for more information.