If you modify the sample, you must rebuild it for your modifications to take effect.

The EAM Sample Solution bundle includes an Ant build file that rebuilds the sample WAR file, eam-sample.war.

Verify that you have set up and started the EAM Sample Solution in an application server.

Verify that you have Apache Ant in your development environment. For information about how to install and configure Ant, see http://ant.apache.org/.

1

In a command prompt, go to the root folder of your tc Server.

For example, your_tcserver\vfabric-tc-server-standard-2.5.X-X.

2

Stop the tcserver tc Server by running the following command.

Option

Description

tcruntime-ctl.bat tcserver stop

Windows

tcruntime-ctl.sh tcserver stop

Linux

3

In a command prompt, go to the root folder of your ESX Agent Manager SDK development environment.

For example, eam_work_folder

4

Rebuild the EAM Sample Solution WAR file by running the ant command.

5

Copy the file eam-sample.war from the ESX Agent Manager SDK work folder to the webapps folder in your tc Server.

Source location: the eam_work_folder that you created in Download the vSphere ESX Agent Manager SDK

Destination location: your_tcserver\vfabric-tc-server-standard-2.5.X-X\eamserver\webapps

6

Restart the tc Server instance tcserver by running the following command.

Option

Description

tcruntime-ctl.bat tcserver start

Windows

tcruntime-ctl.sh tcserver start

Linux

You rebuilt the EAM Sample Solution.

View the changes that you made to the EAM Sample Solution in Solutions Manager in the vCenter Client.