Most of the settings in the server.xml file should not be modified and are not documented here. If you want information on server.xml settings not covered here, see the Tomcat Servlet/JSP Container documentation, referenced in Related publications.
The following abstraction from the XML for the server.xml file locates, in bold, the two <Context>
elements that contain the parameters you may need to change.
<Server ...> <Listener ...> |
... |
<Listener ...> |
<GlobalNamingResources ...> <Service name="Tomcat-Standalone"> <Connector ...> |
... |
<Connector ...> <Engine name="Standalone" ...> <Logger .../> <Host name="localhost" ...> <Valve .../> |
... |
<Valve .../>
<Logger .../>
<Context path=/admin ...> |
... |
</Context> <Context path=/device ...> |
... |
</Context>
</Host>
</Engine>
</Service>
</Server>
|
The two <Context>
elements have exactly the same parameters. The parameters in <Context path=/admin ...>
control the /admin
context; those in <Context path=/device ...>
control the /device
context. All parameters are specified in the form, <Parameter name=
param_name value=
param_value />
.
Do not edit the server.xml file directly. Instead, edit your changes into the server.xml.default file, then run the defaults_setup.bat script (Windows) or defaults_setup script (UNIX). See Editing configuration files.
The @@...@@
variables server.xml.default file must not be modified. Values for these variables are set globally in the defaults file; change the value of @@...@@
variables in the defaults file and run the defaults_setup.bat script (Windows) or defaults_setup script (UNIX) to update the values in server.xml.
Table 3. server.xml file settings
Parameter name |
Description |
||
---|---|---|---|
|
Location of jsoapconfig.xml file. |
||
|
URL for SOAP server. |
||
|
Used as the shared secret between the SOAP server and client to blowfish encrypt the session ID and user’s password during authentication. Only the first 40 characters are used, so make sure they are unique and random. NoteYou must set the same |
||
|
The base URL used in upgrades. |
||
|
Allow clients to connect to server securely (using https://). This parameter affects incoming clients only. You must have sagd.so or sagd.dll installed for this setting to have any effect. NoteYou must uncomment this setting if SSL is enabled in sync.conf, and the setting for this parameter must match that in sync.conf. |
||
|
Set this directive to true to force all inbound client-to-server connections to be secure. NoteYou must uncomment this setting if SSL is enabled in sync.conf, and the setting for this parameter must match that in sync.conf. |
||
|
The name of the machine running M-Business Sync Server. |
||
|
The port at which to access M-Business Sync Server. |
||
|
The full name of the machine running the UI server. On UNIX, the UI server is the |
||
|
URL of the home page for the server. If a user launches the M-Business Connect desktop application and clicks the Contents
button, M-Business Connect accesses the server using the URL given here. Specify a URL relative to |
||
|
The server name that appears in M-Business Connect on the desktop and on the device. This setting also appears in the defaults file. |
||
|
Set to |
Send feedback about this page using email. | Copyright © 2008, iAnywhere Solutions, Inc. |