Post-installation configuration

EAServer provides several options for scripted automated configuration of server properties and application components:

For information on jagtool and jagant, see “Using jagtool and jagant” in the EAServer Automated Configuration Guide.

You can call these tools from your installation script or install program to configure the server and install application components. For example, you might install your own components by importing them as EAServer JAR files with the jagtool or jagant deploy command, then use the install command to install the components to the preconfigured server. You might also use the create command to define data sources (connection caches).

Most tasks that you can accomplish manually from the Management Console can be automated using jagtool or jagant. In addition, the EAServer Automated Configuration Guide explains how to use Ant-based configuration scripts for configuring embedded EAServer installations.

You can create a single JAR file that contains a server configuration, data source configurations, components, Web applications, and all other entities required to run your application.

To create a deployable JAR file, use the jagtool export command. At install time, you can use the jagtool deploy command to install the entities into the EAServer repository.

You can install additional required files, such as the shell script that runs your server (in the EAServer bin directory), and JAR files that contain utility Java classes or JDBC drivers (in the EAServer java/lib directory). To add files to an entity collection, list them in the com.sybase.jaguar.entitycollection.files property. They are installed when you deploy the JAR file.