Error : java.exe has encountered a problem and about to close

This kind of error occurs usually when trying to publish a store in WCS. While trying to publish a store using Commerce Admin Console, java.exe terminates by showing a windows error message.

Solution:

The cause of this problem is due to Java JIT (Just In Time) compiler interference in compilation of java files. So disable JIT after login to WebSphere Administrative console.

  • Go to http://localhost:9060/ibm/console
  • Click login.
  • Navigate to Servers>Application servers>server1
  • In the Configuration tab, under Server Infrastructure, expand Java and Process Management.
  • Select Process definition.
Click on Java Virtual Machine link under Additional properties on the right panel.
Now the bread crumb shows ‘Application servers > server1 > Process Definition > Java Virtual Machine

  • Select the checkbox ‘Disable JIT’.
  • Save the changes.
  • Restart the server.
  • Try to publish the store again.  

No comments:

Post a Comment