KB Article #178398

TSIM 3.9.1 SP7 Post-Update

Problem

-- After applying SP7 for TSIM 3.9.1 (on AIX OS), TSIM can't start and also it is not possible to apply any other patch/SP.

-- Ajas top and diag tool cannot be used anymore;


--TSIM start:

~/Axway/TSIM/$ tsim start

Starting all IS instances

/edi/TST/Axway/TSIM/is/instances/is0/bin/start

Unable to update instance pid: Instance is0 not found

Could not create framework: java.lang.NullPointerException

java.lang.NullPointerException

at java.security.SecureRandom.nextBytes(SecureRandom.java:471)

at java.security.SecureRandom.next(SecureRandom.java:494)

at java.util.Random.nextLong(Random.java:435)

at java.io.File$TempDirectory.generateFile(File.java:1916)

at java.io.File.createTempFile(File.java:2021)

at org.eclipse.osgi.internal.baseadaptor.AdaptorUtil.canWrite(AdaptorUtil.java:208)

at org.eclipse.core.runtime.adaptor.LocationManager.canWrite(LocationManager.java:276)

at org.eclipse.core.runtime.adaptor.LocationManager.buildLocation(LocationManager.java:204)

at org.eclipse.core.runtime.adaptor.LocationManager.initializeLocations(LocationManager.java:150)

at org.eclipse.osgi.baseadaptor.BaseAdaptor.<init>(BaseAdaptor.java:87)

at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:68)

at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.java:38)

at org.eclipse.osgi.launch.Equinox.init(Equinox.java:176)

at org.apache.karaf.main.Main.launch(Main.java:272)

at org.apache.karaf.main.Main.main(Main.java:440)

001ERROR server did not start!, rc=1


-- Ajas top:

Parameter CHECK_PID is enabled. Looking for running servers (de.axway.ec.server.EdiEcServer) in process list.

ERROR: Error -- committed value cannot be larger than the max value

ERROR 2017-06-13 12:41:16,143 EdiEcServer [Thread-56634] - CoreCommandHandler - committed value cannot be larger than the max value

ERROR 2017-06-13 12:41:16,143 EdiEcServer [Thread-56634] -

java.lang.IllegalArgumentException: committed value cannot be larger than the max value

at java.lang.management.MemoryUsage.<init>(MemoryUsage.java:109)

at de.axway.common.vmutils.ThreadTopBase.toString(ThreadTopBase.java:365)

at de.axway.common.vmutils.ThreadTopBase.toString(ThreadTopBase.java:263)

at de.axway.lib.ec.server.CoreCommandHandler.handleTop(CoreCommandHandler.java:476)

at de.axway.lib.ec.server.CoreCommandHandler.handleCommand(CoreCommandHandler.java:149)

at de.axway.lib.ec.server.Server.processConnection(Server.java:1177)

at de.axway.lib.ec.server.Server$ConnectionThread.run(Server.java:2314)


-- Diag tool:

~/Axway/TSIM/unsupported/diag$ /usr/java7_64/bin/java -jar diag.jar dump 14286920

Diag v1.16.0-1 (Wed Jan 21 14:25:41 CET 2015) - (C)opyright 2014 by Axway GmbH

com.ibm.tools.attach.AttachNotSupportedException: target not found

at com.ibm.tools.attach.javaSE.VirtualMachineImpl.attachTarget(VirtualMachineImpl.java:87)

at com.ibm.tools.attach.javaSE.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:37)

at ibm.tools.attach.J9AttachProvider.attachVirtualMachine(J9AttachProvider.java:55)

at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:236)

at de.axway.commons.vmutils.java6.VMUtils.getJMXServiceURL(VMUtils.java:79)

at com.axway.tsim.diag.VMUtils.getJMXServiceURL(VMUtils.java:116)

at com.axway.tsim.diag.VMUtils.initMBeanServerConnection(VMUtils.java:62)

at com.axway.tsim.diag.command.DumpCommand.run(DumpCommand.java:90)

at com.axway.tsim.diag.Main.main(Main.java:137)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

at java.lang.reflect.Method.invoke(Method.java:618)

at com.simontuffs.onejar.Boot.run(Boot.java:340)

at com.simontuffs.onejar.Boot.main(Boot.java:166)

at com.axway.onejar.Boot.main(Boot.java:30)

java.lang.IllegalArgumentException: port out of range:14286920


-- or:

WARN [main] 2017-06-13 08:37:45,280 c.a.t.d.Main:main - com.sun.tools.attach.AgentInitializationException: ATTACH_ERR AgentInitializationException102

TRACE [main] 2017-06-13 08:37:45,282 c.a.t.d.Main:main - stacktrace

com.sun.tools.attach.AgentInitializationException: ATTACH_ERR AgentInitializationException102

at ibm.tools.attach.J9VirtualMachine.loadAgent(J9VirtualMachine.java:67)

at com.sun.tools.attach.VirtualMachine.loadAgent(VirtualMachine.java:550)

at de.axway.commons.vmutils.java6.VMUtils.loadDefaultAgent(VMUtils.java:120)

at de.axway.commons.vmutils.java6.VMUtils.getJMXServiceURL(VMUtils.java:93)

at com.axway.tsim.diag.VMUtils.getJMXServiceURL(VMUtils.java:116)

at com.axway.tsim.diag.VMUtils.initMBeanServerConnection(VMUtils.java:62)

at com.axway.tsim.diag.command.TopCommand.run(TopCommand.java:70)

at com.axway.tsim.diag.Main.main(Main.java:137)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)

at java.lang.reflect.Method.invoke(Method.java:620)

at com.simontuffs.onejar.Boot.run(Boot.java:340)

at com.simontuffs.onejar.Boot.main(Boot.java:166)

at com.axway.onejar.Boot.main(Boot.java:30)


Resolution

  1. After installing SP7, before starting TSIM, replace existing links (java.policy, java.security and javaws.policy) in ~/Axway/Java/aix-power/jre8_u03_64/lib/security/ (Axway Installer location) with the files from archive java_policy_security_files.zip.
  2. Replace the links (jmxremote.access, jmxremote.password.template, management.properties and snmp.acl.template ) in ~/Axway/Java/aix-power/jre8_u03_64/lib/management with the files from java_management_files.zip
  3. Replace the links (jaxp.properties.sample, logging.properties and xerces.properties) in ~/Axway/Java/aix-power/jre8_u03_64/lib/ with the files from java_properties_files.zip