This topic contains sections marked as revised for this release

WebSphere Message Brokers
File: ac37125_
Writer: Kate Hostler

Concept topic

This build: July 31, 2007 21:20:42

JavaCompute node classloading

When you include one or more JavaCompute nodes in a broker archive (bar) file, the JAR files are loaded in a separate classloader. The classloader loads all classes that are packaged within the deployed bar. These classes override any classes that are in the shared classes directory or the CLASSPATH environment variable.

The broker uses the following classloader tree:

The diagram shows the components of the classloader tree that are used by the broker. The Bootstrap is the root node of the tree and has the System as its only child. The child of System is Common. Common has two children: Broker and Shared. Broker does not have any children; Shared has one child, EGShared.

These components are in the classloader tree:

The broker uses the following search path to find JavaCompute node classes:

  1. The deployed JAR file
  2. <WorkPath>/shared-classes/ to locate any JAR files
  3. The CLASSPATH environment variable
Related tasks
Creating Java code for a JavaCompute node
Deploying JavaCompute node code
Related reference
JavaCompute node
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:20:42

ac37125_ This topic's URL is: