IBM Support

Running the AdminApp.edit or AdminApp.update wsadmin command might result in an ArrayIndexOutOfBoundsException exception

Troubleshooting


Problem

The []AdminApp.edit[] and []AdminApp.update[] commands fail when you run either command in a wsadmin session that uses a SOAP or Remote Method Invocation (RMI) connector. This issue occurs when you are using WebSphere Application Server Express with the Feature Pack for Service Component Architecture (SCA).

Symptom

When you run the AdminApp.edit or AdminApp.update command an Array Index Out of Bounds exception results, which resembles the following text:
com.ibm.websphere.management.exception.AdminException
javax.management.MBeanException
com.ibm.websphere.management.exception.AdminException

java.lang.ArrayIndexOutOfBoundsException: java.lang.ArrayIndexOutOfBoundsException:
Array index out of range: 0

Resolving The Problem

Run the AdminApp.edit or AdminApp.update command in a local wsadmin session that has a conntype value set to NONE. Alternatively, use the administrative console to perform the application edit or update successfully.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Deploy (for example: AAT or ANT or EAR\/WAR\/JAR)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0","Edition":"Feature Pack for SCA","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Deploy (for example: AAT or ANT or EAR\/WAR\/JAR)","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"7.0","Edition":"Feature Pack for SCA","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
06 June 2019

UID

swg21328175