<!ENTITY % CLASSNAME "CDATA">

<!ENTITY % BOOLEAN "true|false">

<!-- Logging settings. -->
<!ELEMENT log (file*, mail*, logger*)>

<!-- Contains a name/value pair initialization param. -->
<!ELEMENT property (#PCDATA)>
<!ATTLIST property name CDATA #IMPLIED
value CDATA #IMPLIED
>

<!-- Used to restrict the maximum number of connections any given site can accept concurrently at any time. If text exists inside the tag it is used as redirect-URL when the limit is reached. -->
<!ELEMENT max-http-connections (#PCDATA)>
<!ATTLIST max-http-connections max-connections-queue-timeout CDATA #IMPLIED
socket-backlog CDATA #IMPLIED
value CDATA #IMPLIED
>

<!-- A relative/absolute path to log events to. -->
<!ELEMENT file (#PCDATA)>
<!ATTLIST file path CDATA #IMPLIED
>

<!-- This file contains the configuration for an application-server. -->
<!ELEMENT application-server (rmi-config?, jms-config?, orb?, principals?, log?, transaction-config?, global-application, application*, global-web-app-config?, max-http-connections?, web-site*,  compiler?, cluster?  )>
<!ATTLIST application-server application-auto-deploy-directory CDATA #IMPLIED
application-directory CDATA #IMPLIED
deployment-directory CDATA #IMPLIED
recovery-procedure CDATA #IMPLIED
transaction-log CDATA #IMPLIED
>

<!-- The default application for this server. This will act as a parent to the other applications in terms of object visibility etc. -->
<!ELEMENT global-application (#PCDATA)>
<!ATTLIST global-application name CDATA #IMPLIED
path CDATA #IMPLIED
>

<!-- Defines the relative/absolute path to a <a class="link" href="rmi-server.xml.html">RMI XML-file</a> containing the RMI-server/client settings. -->
<!ELEMENT rmi-config (#PCDATA)>
<!ATTLIST rmi-config path CDATA #IMPLIED
>

<!-- A e-mail address to log events to. A valid mail-session also needs to be specified if this option is used. -->
<!ELEMENT mail (#PCDATA)>
<!ATTLIST mail address CDATA #IMPLIED
>

<!-- Cluster settings for this server. -->
<!ELEMENT cluster (#PCDATA)>
<!ATTLIST cluster id CDATA #IMPLIED
>

<!-- The relative/absolute path to a <a class="link" href="orion-web.xml.html">web-application</a> used as default settings template for this server. -->
<!ELEMENT global-web-app-config (#PCDATA)>
<!ATTLIST global-web-app-config path CDATA #IMPLIED
>

<!-- Transaction configuration for the server. -->
<!ELEMENT transaction-config (#PCDATA)>
<!ATTLIST transaction-config timeout CDATA #IMPLIED
>

<!-- Defines the relative/absolute path to a <a class="link" href="web-site.xml.html">web-site XML-file</a> containing the configuration for a web-site to include in this server. -->
<!ELEMENT web-site (#PCDATA)>
<!ATTLIST web-site path CDATA #IMPLIED
>

<!-- Specifies an alternative compiler (such as Jikes) for EJB/JSP compiling. -->
<!ELEMENT compiler (#PCDATA)>
<!ATTLIST compiler classpath CDATA #IMPLIED
debug CDATA #IMPLIED
executable CDATA #IMPLIED
nowarn CDATA #IMPLIED
>

<!-- Specifies to start up an ORB instance (J2SE standard API) for EJB IIOP binding. -->
<!ELEMENT orb (transient-name-server)>
<!ATTLIST orb persistent-server-port CDATA #IMPLIED
port CDATA #IMPLIED
>

<!-- If specified, a transient name server service is started in process. -->
<!ELEMENT transient-name-server (#PCDATA)>
<!ATTLIST transient-name-server class CDATA #IMPLIED
>

<!-- A custom logger of server events -->
<!ELEMENT logger (property*)>
<!ATTLIST logger class %CLASSNAME; #IMPLIED
>

<!-- Defines the relative/absolute path to a <a class="link" href="principals.xml.html">principals XML-file</a> containing the users/groups for this server. This tag should not be specified in server.xml anymore as it has moved to application.xml -->
<!ELEMENT principals (#PCDATA)>
<!ATTLIST principals path CDATA #IMPLIED
>

<!-- Defines the relative/absolute path to a <a class="link" href="jms-server.xml.html">JMS XML-file</a> containing the JMS-server/client settings. -->
<!ELEMENT jms-config (#PCDATA)>
<!ATTLIST jms-config path CDATA #IMPLIED
>

<!-- An application is a unit with it's own set of users, web-apps and ejb-jars. -->
<!ELEMENT application (#PCDATA)>
<!ATTLIST application auto-start (true|false) "true"
deployment-directory CDATA #IMPLIED
name CDATA #IMPLIED
parent CDATA #IMPLIED
path CDATA #IMPLIED
>

