- Add a JavaCompute node to your message flow.
- Create Java code for a JavaCompute node.
See Using JAXB with a JavaCompute node for an example of a project using Java objects generated by the JAXB binding compiler.
- Right-click the project folder for the project on which you are working, and click Properties.
- Click Java Build Path in the left pane.
- Click the Libraries tab.
- Complete one of the following steps:
- To add an internal dependency, click Add JARs, select the JAR file that you want to add, then click OK.
- To add an external dependency, click Add External JARs, select the JAR file that you want to add, then click Open. Copy the JAR file to the shared-classes directory required. For more details of the shared-classes directories available and the effects of each, see Java shared classloader. If you do not copy the JAR file to a valid shared-classes directory, ClassNotFoundException exceptions are generated at run time.
Reference: https://www.ibm.com/support/knowledgecenter/en/SSMKHH_9.0.0/com.ibm.etools.mft.doc/ac30280_.htm
Loads all the JAR files located within the shared-classes directories.
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.
Determine the integration node workpath to use by running the mqsireportbroker command as follows:
mqsireportbroker integrationNodeName
JAR files are loaded in the following precedence order:
- For Windows
- workpath\config\<my_int_node_name>\<my_int_server_label>\shared-classes
- For Linux, UNIX, and z/OS
- workpath/config/<my_int_node_name>/<my_int_server_label>/shared-classes
- For Windows
- workpath\config\<my_int_node_name>\shared-classes
- For Linux, UNIX, and z/OS
- workpath/config/<my_int_node_name>/shared-classes
- For Windows
- workpath\shared-classes
- For Linux, UNIX and z/OS
- workpath/shared-classes
No comments:
Post a Comment