IBM Support

SOA Operational Flow and Sun JVM

Question & Answer


Question

In order to work with the Operational Flow workspace the TEP client must be configured to use the IBM Java Virtual Machine. Is there a way to work-around this and continue to use the Sun JVM?

Cause

The IBM JVM includes Xalan libraries by default and Sun does not.

Here is the typical exception you get in the Java plugin output:

Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: org/apache/xalan/client/XSLTProcessorApplet at com.ibm.management.soa.tepui.flow.topo.SCPTextUtil.<clinit>(SCPTextUtil.java:61)
...

Answer

The solution is to include the Xalan library in the Sun JVM classpath. Here are the steps for both Desktop and Browser clients, assuming that Sun JVM plugin has been already activated for the specific TEP client (see official documentation).

Steps to configure the Tivoli Desktop Client in order to work with SOA D4 agent and Sun JRE

1) Download Xalan package from the official site

http://xalan.apache.org

e.g. filename to be downloaded is "xalan-j/xalan-j_2_7_1-bin.zip"
(the xalan version distributed all-in-one jar)

2) Extract from the downloaded zip the "xalan.jar" file

size for v2.7.1 is "3,176,148 bytes"

3) Copy xalan.jar to

<ITM_HOME>\CNP directory, for Windows Desktop Client

or

<ITM_HOME>/<platform>/cj/lib, for UNIX Desktop Client

4) Edit <ITM_HOME>\CNP\cnp.bat (Windows)
or <ITM_HOME>/<platform>/cj/bin/cnp.sh (Unix)

by appending "xalan.jar" to the classpath entry.

E.g. for Windows

@set
CLASSPATH=cnp.jar;cnp_vbjorball.jar;ae.jar;kjrall.jar;cnp_jviewsall.jar;
browser.jar;browser-winnt.jar;browser-core-winnt.jar;chart.jar;terminal.
jar;util.jar;icu4jm32.jar;deploy.jar;cnp_ps.jar;ka4_resources.jar;kdy_re
sources.jar;khd_resources.jar;kib_resources.jar;kit.jar;tec_tap.jar;cons
ole.jar;ibmjsse.jar;jhall.jar;jsafe.zip;log4j-1.1.1.jar;launch.jar;nways
_dep.jar;nvnways.jar;jcf.jar;jrim.jar;uif.jar;klz_resources.jar;knt_reso
urces.jar;kr2_resources.jar;kr3_resources.jar;kr4_resources.jar;kr5_reso
urces.jar;kr6_resources.jar;ksy_resources.jar;kul_resources.jar;kum_reso
urces.jar;kux_resources.jar;kht_resources.jar;kd4ui.jar
;xalan.jar

E.g. for UNIX

export
CLASSPATH=/opt/IBM/ITM/JRE/li6263:${KCJ_LIB}/cnp.jar:${KCJ_LIB}/cnp_vbjo
rball.jar:${KCJ_LIB}/ae.jar:${KCJ_LIB}/kjrall.jar:${KCJ_LIB}/cnp_jviewsa
ll.jar:${KCJ_LIB}/browser.jar:${KCJ_LIB}/browser-li.jar:${KCJ_LIB}/brows
er-core-li.jar:${KCJ_LIB}/chart.jar:${KCJ_LIB}/terminal.jar:${KCJ_LIB}/u
til.jar:${KCJ_LIB}/icu4jm32.jar:${KCJ_LIB}/deploy.jar:${KCJ_LIB}/cnp_ps.
jar:${KCJ_LIB}/kor_resources.jar:${KCJ_LIB}/kyn_resources.jar:${KCJ_LIB}
/kyn_tepui.jar:${KCJ_LIB}/kph_resources.jar:${KCJ_LIB}/kp5_resources.jar
:${KCJ_LIB}/kpx_resources.jar:${KCJ_LIB}/kqv_resources.jar:${KCJ_LIB}/ku
m_resources.jar:${KCJ_LIB}/knt_resources.jar:${KCJ_LIB}/kva_resources.ja
r:${KCJ_LIB}/ka4_resources.jar:${KCJ_LIB}/koy_resources.jar:${KCJ_LIB}/k
oq_resources.jar:${KCJ_LIB}/klz_resources.jar:${KCJ_LIB}/kpv_resources.j
ar:${KCJ_LIB}/kul_resources.jar:${KCJ_LIB}/kit.jar:${KCJ_LIB}/tec_tap.ja
r:${KCJ_LIB}/console.jar:${KCJ_LIB}/ibmjsse.jar:${KCJ_LIB}/jhall.jar:${K
CJ_LIB}/jsafe.zip:${KCJ_LIB}/log4j-1.1.1.jar:${KCJ_LIB}/launch.jar:${KCJ
_LIB}/nways_dep.jar:${KCJ_LIB}/nvnways.jar:${KCJ_LIB}/jcf.jar:${KCJ_LIB}
/jrim.jar:${KCJ_LIB}/uif.jar:${KCJ_LIB}/kux_resources.jar:${KCJ_LIB}/kqr
_resources.jar:${KCJ_LIB}/kqx_resources.jar:${KCJ_LIB}/kpk_resources.jar
:${KCJ_LIB}/kud_resources.jar
:${KCJ_LIB}/xalan.jar

5) Restart the Desktop Client.

Steps to configure the Browser Client in order to work with SOA D4 agent and Sun JRE

Just copy the file "xalan.jar" (downloaded from the website above) to the following directory:

<SUN_JVM_HOME>\lib\ext

e.g. (Windows) C:\Program Files\Java\jre1.5.0_22\lib\ext

e.g. (UNIX) /opt/jre1.5.0_22/lib/ext

Finally, open your browser and connect to TEPS.

[{"Product":{"code":"SS3PHK","label":"Tivoli Composite Application Manager for SOA"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"ITCAM for SOA (Dist)","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21429283