[Occurrence condition]
In a distributed environment consisting of multiple servers, this issue occurs when the startup process for intra-mart Accel Platform proceeds before the server manager becomes operational.
The following error logs will be output to the server that failed to start up.
<pre>
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at jp.co.intra_mart.system.asynchronous.update.TaskMessageMigrator.start(TaskMessageMigrator.java:41)
at jp.co.intra_mart.system.servlet.PlatformServletContextListener.contextInitialized(PlatformServletContextListener.java:150)
</pre>
It occurs not only when multiple servers are started at nearly the same time, but also when servers are started one at a time with intervals between them while another server is already running.
Because the occurrence of this issue depends on the timing of application startup, it may not occur every time, even with the same configuration or procedure.
This issue is more likely to occur in environments where products/applications that add services are installed, as it takes longer for the server manager to become operational.
[Cause]
When an application starts, a process is executed to migrate information about asynchronous tasks from storage to the database.
This process assumes that the server manager is running. Therefore, if the server manager is being re-elected and no server manager is available, an error occurs and the application fails to start.
[Workaround]
In environments where this fix has not been applied, you can temporarily work around this issue using the following method.
- Restart the server that failed to start.
- Start each server one at a time, leaving an interval between them, and wait for the previously started server to finish starting up before starting the next one.
(The frequency of occurrence will decrease, but it cannot be completely avoided.)
[Handling method]
We will modify the task migration process performed when each application starts in a distributed environment so that startup does not fail even if the server manager cannot be detected.
This fix will be included in the following versions.
- 2027 Spring im_service 8.0.31 (Released 04-01-2027)
- 2026 Spring im_service 8.0.30_PATCH-001, 2026 Autumn im_service 8.0.29_PATCH-002 (Released 10-30-2026)
If you are using a version prior to the one mentioned above (Summer 2015 - Autumn 2025), please add the user module attached to this FAQ (im_service-8_0_11-8_0_28-PATCH_999-1.0.0.zip) to your project, recreate the WAR file, and deploy it.
This user module is common to all versions from Summer 2015 to Autumn 2025.
[After applying the user module]
- If asynchronous task migration is required (when updating from a version prior to Spring 2015 that managed asynchronous tasks in storage), and the server manager does not become operational within one minute, the following warning log will be output, the migration will be skipped, and startup will continue.
The migration will be performed when the server that will become the server manager starts up.
Skipped the migration process of the asynchronous tasks because the ServerManager did not become active. ...
- If the migration files for the asynchronous task are invalid, startup will fail on all nodes.
If an error occurs while loading the files to be migrated and intra-mart Accel Platform fails to start, the files may be corrupted.
Please back up or modify the migration files in the <SYSTEM_STORAGE_PATH>/queue directory and then start up.
- When updating to a version that includes this fix (the official release version/patch mentioned above), please remove this user module from your project.
--Target-------------------------------------------------------------------------
iAP/Accel Platform/2015 Summer - 2025 Autumn
--------------------------------------------------------------------------------
FAQID:1536
In a distributed environment, initialization of intra-mart Accel Platform fails (data migration for the asynchronous task service), preventing it from starting.