7.0

Table Of Contents
W
hen executed in
n
o-UI mode
,
QuarkXPress Server displays no visible user
interface and must be controlled (started and stopped) from a command
prompt. Running QuarkXPress Server in no-UI mode will slightly improve
its performance. To access QuarkXPress Server in no-UI mode, launch the
application from the command line. For example:
To launch QuarkXPress Server in no-UI mode on Mac OS, Control+click the
QuarkXPress Server application file and choose
Show Package Contents. Drag
the “QuarkXPress Server.exe” file from the
Contents Þ MacOS folder to an open
X11 terminal window, add “ –noui” to the end of the command, and press Enter.
To launch QuarkXPress Server in no-UI mode from the command line on
Windows, use a command such as:
C:\Program Files\Quark\QuarkXPress
Server 7\QuarkXPress Server\QuarkXPress Server.exe -noui.
COMMAND LINE OPTIONS
QuarkXPress Server supports the following command-line options:
The
noui option makes the server run without any user interface. This is the
normal mode for production use of QuarkXPress Server.
The
-nonetwork parameter makes the server run without loading any network
interfaces; in this mode, the only transactions a server can run are those passed
to it by another process.
The
-tm parameter makes the transaction layer of the server mask exceptions
into transaction errors.
The
-tt parameter makes the transaction layer of the server throw exceptions
to the server layer.
EXIT CODES
When the server shuts down, QuarkXPress Server returns exit codes. The
“keepalive.sh” file (Mac OS) or “keepalive.bat” file (Windows) uses these
codes to check the type of QuarkXPress Server shutdown. If the exit code
indicates that QuarkXPress Server shut down unexpectedly, the “keepalive”
utilities automatically relaunch QuarkXPress Server.
Valid exit codes are as follows:
QUARK DYNAMIC DOCUMENT SERVER_EXIT_NORMAL (0): The server
exited normally.
QUARK DYNAMIC DOCUMENT SERVER_EXIT_EXCEPTION (6969): The server
exited as a result of an exception that was handled by the server layer.
QUARK DYNAMIC DOCUMENT SER
VER_EXIT_ST
ARTUP (6970): The server
exited as a result of a startup problem. In this case, restarting does not solve
the problem; you must relaunch QLA.
QUARK DYNAMIC DOCUMENT SERVER_EXIT_RESTART (6971): The server
exited as a result of a remotely requested restart.
QUARK DYNAMIC DOCUMENT SERVER_EXIT_SHUTDOWN (6972):
The server exited as a result of a remotely requested shutdown.
LAUNCHING QUARKXPRESS SERVER
6
|
CHAPTER 1: GETTING ST
ARTED WITH QUARKXPRESS SERVER