Usage

Verify that the property SERVER_CONTROL_CLASS=com.trax.template.startup.StartUp is set in the application.properties file.

On the server go to server-jbs-localhost\server\default\deploy. (in accordance to your directory structure)

Open the template.ear archive

Select the folder \APP-INF\lib

Open the config-server-jbs.jar archive in that folder

Edit the file application.properties and verify the SERVER_CONTROL_CLASS line

In AvantGard Trax, edit the Server startup and server shutdown rule sequences.

Go to System > Rule Library > Rule Sequence.

Edit either the Server startup or Server shutdown rule

Select the Rule invocation tab

Add the rules which have to be executed on startup or shutdown.