Loads
all the JAR files located within the shared-classes directories. The
precedence order of loading is dictated by the directories the JAR
files are located in.
Before you start
Determine
the broker
workpath to use by running the
mqsireportbroker command as
follows:
mqsireportbroker <my_broker_name>
See
the
mqsireportbroker command for an example output from
the command. On
z/OS® the
workpath is
usually referred to as the
component directory.
JAR files are loaded in the following
precedence order:
- JAR files placed in the execution group shared-classes directory
allow only a single defined execution group to access them. Files
placed in here are loaded first. No other execution groups can use
them.
Add the JAR files to the following directory:
Ensure that the broker name, and any execution groups created,
contain only characters that are valid on your file system. You may
also need to create the required directory structure.All files
placed into the execution group shared-classes directory
that have a .jar extension, are loaded and made
available in the broker Java™ environment
for that execution group. JAR files in this directory take precedence
over JAR files in the broker shared-classes directory.
Note: If the execution group shared-classes directory
is empty when the execution group is deleted, the directory is automatically
removed.
- JAR files placed in the broker shared-classes directory
allow only a single defined broker to access them. Files placed in
here are loaded after any files placed in the execution group shared-classes directory.
No other broker can use them.
Add the JAR files to the
following directory:
Ensure that the broker name contains only characters that are
valid on your file system. You may also need to create the required
directory structure.All files placed into the broker shared-classes directory
that have a .jar extension, are loaded and made
available in the broker Java environment
for that broker. JAR files in this directory take precedence over
JAR files in the top level shared-classes directory.
Note: If the broker shared-classes directory
is empty when the broker is deleted, the directory is automatically
removed.
- JAR files placed in the top level shared-classes directory
are made available to all brokers and all execution groups. Files
placed in here are loaded after any files placed in the broker shared-classes directory.
Add the JAR files to the following directory:
- For Windows
workpath\shared-classes
- For Linux, UNIX and z/OS
workpath/shared-classes
Note: On z/OS,
the workpath or component directory
is typically unique per broker, and therefore the top level shared-classes directory
is not shared with other brokers. In this case, there is no difference
between using the top level shared-classes directory
and using the broker shared-classes directory.