Skip to Content

Picture a scenario where you are setting up for a demo to your CIO about a new feature that will knock his socks off! and then imagine that you come to office and see that your J2EE engine is behaving like its got the mumps and cholera all at one time!

 

To add salt to injury , it speaks to you in a language only a mathematical genius of our time can understand ( or possibly the people who have coded it..but alas you are not them)

 

I have had many situations like this and come across exit codes which are really designed to help you to fix the engine. They really tell you if they need more space, or if there is a network problem or a memory issue.

 

I have listed some of these codes which I have come across , I hope that helps the loss due to translation to the minimum. I will keep adding to this.. and please if you have come across something not in the list, then please let me know, and I will add them to the list for everyone’s benefit.

 

 

Exit Codes:

Exit Code 

 Explanation

 Normal exit

 666

 Out of memory

 1

 Forced shutdown

 999

 Error occurs during AS Java shutdown

 -336

 No notification from Message Server

 339 / – 339

 Client is not authorized to access the Message Server – restart the node

 -11111

 License expired

 505

 Problem accessing the database. Make sure the database is running and check the database connection details

 514

 Problem accessing the file system entry j2ee/os_libs. Check the file system permissions

 533

 Error while synchronizing the files in j2ee/cluster/bootstrap. Check the file system permissions

 538

 Error while updating the j2ee/cluster/instance.properties file. Check the file system permissions.

 543

 Error while synchronizing the AS Java binaries. Check the file system permissions

 554

 Invalid value for the AS Java startup mode. For more information, check the bootstrap logs and see SAP Note 915825

 555

 Invalid value for the AS Java startup mode. For more information, check the bootstrap logs and see SAP Note 915825

 545

 Current VM type is not supported according to the specified compatibility list

 12

 Error installing license

 64

 Error reading bootstrap properties

 3

 Unsupported VM on this platform

 

 

 

Let me know if this helps you. I will try to add more solutions and codes soon.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

    1. Shantanu Garg Post author
      HI Mingzuo,

      Well, an exit code is really a hint to the reason why a particular process/app dies. It churns out an exit code in the end which can tell you the reason for the application dying on you.

      For example. if a J2EE engine goes down with the exit code of ‘666’ then it means that it ran out of memory  and hence had to shutdown / restart.

      hope this helps you.

      cheers,
      Shantanu

      (0) 

Leave a Reply