1. EJB Engine Commands

The following is a list of EJB engine commands.

Command Description

cancel-ejb-timer

Cancels the EJB timer of a server.

ejb-timer-info

Displays the EJB timer information of a server.

modify-active-management

Changes the active management of a server.

modify-check-resolution

Changes the resolution of a server.

show-active-management

Displays the active management information of a server.

show-check-resolution

Displays the resolution information of a server.

1.1. cancel-ejb-timer

Cancels the EJB timer of a server.

  • Alias

    cancelejbtimer, canceltimer

  • Usage

    cancel-ejb-timer -server <server-name>
                     -module <module-id> | -timer <timer-id>
  • Parameters

    Parameter Description

    -server <server-name>

    Server name.

    -module <module-id>

    ID of the module for which the timer will be canceled.

    -timer <timer-id>

    ID of the timer to be canceled.

  • Example

    [MASTER]domain1.adminServer>cancel-ejb-timer -server server1 -timer 502
    Successfully canceled.

1.2. ejb-timer-info

Displays the EJB timer information of a server.

  • Alias

    ejbtimerinfo, timerinfo, scheduler

  • Usage

    ejb-timer-info -server <server-name>
                   [-module <module-id> | -all]
                   [-detail]
  • Parameters

    Parameter Description

    -server <server-name>

    Server name.

    [-module <module-id> ]

    Name of the EJB module for which the timer information is to be displayed.

    [-all]

    Displays the timer information for all EJB modules.

    [-detail]

    Displays detailed timer information.

  • Example

    [MASTER]domain1.adminServer>ejb-timer-info -server server1 -all -detail
    Persistent Timer List: server[server1]
    Module ID: Timer
    ================================================================================
    +----+-------------+---------+--------------------+------+---------------------+
    | ID |     BEAN    |  METHOD |      SCHEDULE      | INFO |         NEXT        |
    +----+-------------+---------+--------------------+------+---------------------+
    | 52 | Persistence | print() | sec=*,min=*,hour=* |      | 2016-08-29 (Mon) PM |
    |    |TestBean     |         |,dayOfMonth=*,dayOf |      | 03:50:34 KST        |
    |    |             |         |Week=*,month=*,year |      |                     |
    |    |             |         |=*                  |      |                     |
    +----+-------------+---------+--------------------+------+---------------------+
    ================================================================================

1.3. modify-active-management

Changes the active management of a server.

  • Alias

    modifyam

  • Usage

    modify-active-management -server <server-name>
                             [-mbt,--maxBlockedThread <max-blocked-thread>]
                             [-mit,--maxIdleTime <max-idle-time>]
                             [-f,--forceLock]
                             [-detail]
  • Parameters

    Parameter Description

    -server <server-name>

    Server name.

    [-mbt,--maxBlockedThread <max-blocked-thread>]

    [Dynamic] Maximum number of blocked threads.

    [-mit,--maxIdleTime <max-idle-time>]

    [Dynamic] Maximum idle time to determine the blocked state.

    [-f,--forceLock]

    Forcibly applies the configuration changes.

    [-detail]

    Displays detailed results of the dynamic changes.

  • Example

    [MASTER]domain1.adminServer>modify-active-management -server server1 -mbt 5 -mit 300001
    Successfully performed the MODIFY operation for active-management for the server (server1)..
    Check the results using "show-active-management -server server1"

1.4. modify-check-resolution

Changes the resolution of a server.

  • Alias

    modifyresolution, ejbengineresolution

  • Usage

    modify-check-resolution -server <server-name>
                            [-r,--resolution <resolution>]
                            [-f,--forceLock]
                            [-detail]
  • Parameters

    Parameter Description

    -server <server-name>

    Server name.

    [-r,--resolution <resolution>]

    [Dynamic] Resolution of the EJB engine to be changed.

    [-f,--forceLock]

    Forcibly applies the configuration changes.

    [-detail]

    Displays detailed results of the dynamic changes.

  • Example

    [MASTER]domain1.adminServer>modify-check-resolution -server server1 -r 3000001
    Successfully performed the MODIFY operation for The EJB engine resolution of the server (server1)..
    Check the results using "show-check-resolution -server server1"

1.5. show-active-management

Displays the active management information of a server.

  • Alias

    showam

  • Usage

    show-active-management -server <server-name>
  • Parameters

    Parameter Description

    -server <server-name>

    Server name.

  • Example

    [MASTER]domain1.adminServer>show-active-management -server server1
    Shows the current configuration.
    active-management for the server (server1).
    ===================================================================
    +---------------------------------------------------------+-------+
    | Max Blocked Thread                                      | 5     |
    | Max Idle Time                                           | 300001|
    +---------------------------------------------------------+-------+
    ===================================================================

1.6. show-check-resolution

Displays the resolution information of a server.

  • Alias

    showresolution

  • Usage

    show-check-resolution -server <server-name>
  • Parameters

    Parameter Description

    -server <server-name>

    Server name.

  • Example

    [MASTER]domain1.adminServer>show-check-resolution -server server1
    Shows the current configuration.
    The EJB engine resolution of the server (server1).
    ========================================================
    +---------------------------------------------+--------+
    | Resolution                                  | 3000001|
    +---------------------------------------------+--------+
    ========================================================