Troubleshoot: Unable to publish store after fix pack application

A WebSphere Commerce store publish fails to publish due to out of memory error.

 

Problem

After applying the WebSphere Commerce Fix Pack, a store publish fails for either a business-to-business or business-to-consumer store. The following error, or one that is similar, is displayed in the SystemErr.log file

ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I:
FFDC closed incident stream file
/opt/IBM/WebSphere/AppServer61/profiles/d717/logs/ffdc/server1_1ee61ee6_
  date_time_0.txt
AlarmThreadPo W Encountered a failure in the fireAlarm method java.lang.
  OutOfMemoryError:
Failed to fork OS thread
    at java.lang.Thread.startImpl(Native Method)
    at java.lang.Thread.start(Thread.java:970)
    at com.ibm.ws.util.ThreadPool.addThread(ThreadPool.java:623)
    at com.ibm.ws.util.ThreadPool$3.run(ThreadPool.java:1112)
    at com.ibm.ws.security.util.AccessController.
           doPrivileged(AccessController.java:63)
    at com.ibm.ws.util.ThreadPool.execute(ThreadPool.java:1110)
    at com.ibm.ws.util.ThreadPool.execute(ThreadPool.java:987)
    at com.ibm.ejs.util.am.AlarmThreadPool.fireAlarm(AlarmThreadPool.java:70)
    at com.ibm.ejs.util.am.AlarmManagerThread.run(AlarmManagerThread.java:122)
    at java.lang.Thread.run(Thread.java:801)

 

Solution

To recover from this error log onto the WebSphere console and complete the following:

  1. Expand Servers > Application Servers. Click server1.

  2. Under Server Infrastructure, expand Java and Process Management > Process Definition.

  3. Under Additional Properties, click Java Virtual Machine.

  4. In the Generic JVM Arguments field, enter -Xss5m

  5. Save your changes and exit the WebSphere console.

  6. Proceed to publish a store.

Related tasks

Install WebSphere Commerce fix packs

Uninstall WebSphere Commerce fix packs


Related Reference

WebSphere Commerce APARs

Troubleshoot: WebSphere Commerce fix pack issues