I have a question regarding JRE versions of the Integration server. Our 7.1 installation runs on Java 1.5. Now we have a thirdparty jar which has been compiled with Java 1.6. So when we try to use this jar, webMethods complains about the different versions. So we downloaded jdk1.6 and copied as “linux160” directory (under /opt/webMethods/jvm). Then we changed the extended settings in integration server accordingly. But this also doesn’t solve the problem. Is there a workaround?
I do, but not in production environment (lack of support of JVM 1.6 from SoftwareAG).
I don’t know about any build-in self-test in IS, but You must somehow test Your integration code anyway - maybe You alone have sufficient test set, to be sure it working.
Of course, in bin/server.sh / bin\server.bat JAVA_DIR must be set:
JAVA_DIR=/jre
or
JAVA_DIR=
If You using jcode, bin/jcode.sh / bin\jcode.bat should also be modify in that way.
There may be a need for additional change - in file: config/server.cnf.
Two lines should look like this:
watt.server.compile=/bin/javac -classpath {0} -d {1} {2}
watt.server.compile.unicode=/bin/javac -encoding Unicode -classpath {0} -d {1} {2}
This file is editable from from WWW console (WmRoot) also.