KB Article #180997

rap_getnum Looks for TFXSLT in n0is0

Problem

The script $ACTISEDI/lib/rap/rap_getnum looks for the TFXSLT service in n0is0. If TFXSLT has been moved from n0is0 to a different Integration Server instance and rap_getnum is executed, the following error is written WEAS.log:

ERROR 2020-05-13 00:00:29,454 JmxUtil [Thread-1293100] - de.axway.is.service:name=TFXSLT

javax.management.InstanceNotFoundException: de.axway.is.service:name=TFXSLT

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1444)

at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1324)

at javax.management.remote.rmi.RMIConnectionImpl$6.run(RMIConnectionImpl.java:1365)

...


Resolution

Update the script $ACTISEDI/lib/rap/rap_getnum. On line 12 of the script replace "n0is0" with the name of the slave where the service TFXSLT is functioning. Example for TFXSLT running in n0is1:

Line 12 should look like this:

$ACTISEDI/bin/talk2webedi 'landscape slave=n0is1 serviceName=TFXSLT methodName=getnum command=INVOKESERVICEMETHOD methodParams='$file' ' > $tmp_out 2>&1