# Application elements

This section describes the application elements available in the custom namespace defined by the eacToolkit.xsd XML schema.

For more details, refer to the eacToolkit.xsd schema file distributed within the file eacHandlers.jar.

Element | Description
--- | ---
`app` | This element defines the global application settings inherited by all other objects in the document, including application name, EAC central server host and port, data file prefix, the lock manager used by the application and whether or not SSL is enabled. In addition, this object defines global defaults for the working directory and the logs directory, which can be inherited or overridden by objects in the document.
    <app appName="myApp" eacHost="devhost.company.com" eacPort="8888"
        dataPrefix="myApp" sslEnabled="false" lockManager="LockManager" >
      <working-dir>C:\Endeca\apps\myApp</working-dir>
      <log-dir>./logs/baseline</log-dir>
    </app>
`lock-manager` | This element defines a LockManager object used by the application to interact with the EAC's synchronization web service. Lock managers can be configured to release locks when a failure is encountered, ensuring that the system returns to a "neutral" state if a script or component fails. Multiple lock managers can be defined.
    <lock-manager id="LockManager" releaseLocksOnFailure="true" />