|
<application-server application-auto-deploy-directory="../applications/auto" application-directory="../applications" deployment-directory="../application-deployments" recovery-procedure="automatic|prompt|ignore" transaction-log="persistence"> |
|
This file contains the configuration for an application-server.
application-auto-deploy-directory - Specifies a directory where dropped .ears will be automatically installed and their included web-apps bound to the default web-site if any. Not specified by default.
application-directory - Specifies a directory to store applications (.ear files). If none is specified (the default) orion will
store the info in [orion home]/applications. This is used when deploying with the admin-tool.
deployment-directory - Specifies a directory to store deployment info for applications. If none is specified orion will
store the info inside the .ear files.
recovery-procedure - How to react to needed recovery. 'automatic' (the default) automatically attempts recovery. 'prompt' prompts the user (system in/out). 'ignore' ignores recovery (useful in dev environments).
transaction-log - Specifies the directory to use to store persistent transaction information. If none specified the the default used is 'persistence'
|
|
<rmi-config path="./rmi.xml" /> |
| |
Defines the relative/absolute path to a RMI XML-file containing the RMI-server/client settings.
path - The path.
|
|
<jms-config path="./jms.xml" /> |
| |
Defines the relative/absolute path to a JMS XML-file containing the JMS-server/client settings.
path - The path.
|
|
<orb persistent-server-port="10001" port="900"> |
| |
Specifies to start up an ORB instance (J2SE standard API) for EJB IIOP binding.
persistent-server-port - The persistent server port to use, used for persistent (such as EJB) references. The default is 10001.
port - The port to use, the default is 900.
|
| |
<transient-name-server class="null" /> |
| | |
If specified, a transient name server service is started in process.
class - The transient name server service implementation class. The default is the Sun service
|
| |
|
<principals path="./principals.xml" /> |
| |
Defines the relative/absolute path to a principals XML-file containing the users/groups for this server. This tag should not be specified in server.xml anymore as it has moved to application.xml
path - The path.
|
|
<log> |
| |
Logging settings.
|
| |
<file path="../log/server.log" /> |
| | |
A relative/absolute path to log events to.
path - The path.
|
| |
<mail address="my@mail.address" /> |
| | |
A e-mail address to log events to. A valid mail-session also needs to be specified if this option is used.
address - The mail-address.
|
| |
<logger class="com.co.MyLogger"> |
| | |
A custom logger of server events
class - A class implementing com.evermind.util.Logger that will be sent server events
|
| | |
<property name="theName" value="theValue" /> |
| | | |
Contains a name/value pair initialization param.
name - The name of the parameter.
value - The value of the parameter.
|
| |
| |
|
<transaction-config timeout="60000" /> |
| |
Transaction configuration for the server.
timeout - The max time taken for a transaction to finish before it can get rolled back due to a timeout in milli-seconds. The default value is 60000.
|
|
<global-application name="default" path="./application.xml" /> |
| |
The default application for this server. This will act as a parent to the other applications in terms of object visibility etc.
name - Name used to reference the application.
path - The path to the root of the application package or to the configuration file.
|
|
<application auto-start="true|false" deployment-directory="../application-deployments/myapp" name="anApplication" parent="anotherApplication" path="../applications/myApplication.ear" /> |
| |
An application is a unit with it's own set of users, web-apps and ejb-jars.
auto-start - Whether or not an application should start directly at startup. The default is true. Setting auto-start to false is useful if you have a large number of applications installed and want them to start on demand (to improve general server startup time, resource usage, etc).
deployment-directory - Specifies a directory to store deployment info for this application. If none is specified (the default) orion will
first look for the global deployment-directory and if none exists
store the info inside the .ear file.
name - Name used to reference the application.
parent - Optional 'parent' application, the default is the global application. Children see the namespace of it's parent application. This is used in order to share services such as EJBs among multiple applications.
path - The path to the root of the application package or to the configuration file.
|
|
<global-web-app-config path="./global-web-application.xml" /> |
| |
The relative/absolute path to a web-application used as default settings template for this server.
path - The path.
|
|
<max-http-connections max-connections-queue-timeout="10" socket-backlog="30" value="10000">http://optional.redirect.url/page.jsp</max-http-connections> |
| |
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.
max-connections-queue-timeout - How many seconds to wait for the number of connections to go down if hitting max-connections before either server busy or redirect message is served. The default is 10 seconds.
socket-backlog - The number of connections to queue up before denying connections at the socket level. The default, 30, should be fine.
value - The maximum number of connections, the default is 1000000.
|
|
<web-site path="./my-web-site.xml" /> |
| |
Defines the relative/absolute path to a web-site XML-file containing the configuration for a web-site to include in this server.
path - The path.
|
|
<compiler classpath="/my/rt.jar" debug="true|false" executable="jikes" nowarn="true|false" /> |
| |
Specifies an alternative compiler (such as Jikes) for EJB/JSP compiling.
classpath - This attribute specifies an alternative/additional classpath when compiling.
Some compilers need an additional classpath (such as jikes that need the rt.jar of the Java 2 VM to be included).
debug - Wether or not to enable debug info in the produced binaries.
executable - The name of the executable to use, jikes, jvc etc.
nowarn - Wether or not to suppress warnings produced by the compiler.
|
|
<cluster id="123" /> |
| |
Cluster settings for this server.
id - The id (unique within the cluster) of this server.
|
| |