cancel
Showing results for 
Search instead for 
Did you mean: 

Wily Introscope - The EM failed to start. Java heap space

Former Member
0 Kudos

Dear SAP gurus,

I just installed Instroscope Version 8.2.3.5 but I am getting the following error when I started with the command "./EMCtrl.sh start":

10/13/11 08:37:51 AM UTC [ERROR] [Manager.TransactionTracer] Throwable exception updating the index java.lang.OutOfMemoryError: Java heap space

10/13/11 08:37:51 AM UTC [ERROR] [Manager.Bootstrap] Load all Management Modules FAILED.

10/13/11 08:37:51 AM UTC [ERROR] [Manager] The EM failed to start. Java heap space

Therefore, it is not accessible using the Introscope Workstation.

I check that ports 8081and 6001 are free.

After I increased the heap space from 2G to 3G, I could access using Introscope Workstation (http://emhost:8081/workstation) obtaining the following error though:

HTTP ERROR: 500

/usr/sap/ccms/wilyintroscope/work/Jetty_0_0_0_0_8081_WebContent____.newrsn/jsp/org/apache/jsp/index_jsp.java (No such file or directory)

RequestURI=/

Caused by:

java.io.FileNotFoundException: /usr/sap/ccms/wilyintroscope/work/Jetty_0_0_0_0_8081_WebContent____.newrsn/jsp/org/apache/jsp/index_jsp.java (No such file or directory)

HOWEVER, this was only availabe for aprox 40 seconds, after this I got again the java heap space error (see last 4 lines):

10/13/11 11:22:14 AM UTC [INFO] [Manager.SapPush] Startup successful

10/13/11 11:22:14 AM UTC [INFO] [Manager.Extension] Succesfully loaded service

10/13/11 11:22:14 AM UTC [INFO] [Manager.EMWebServer] EM webapps port: 8081

10/13/11 11:22:14 AM UTC [INFO] [Manager.EMWebServer] EM max server threads: 100

10/13/11 11:22:14 AM UTC [INFO] [Manager.EMWebServer] EM webapps directory: /usr/sap/ccms/wilyintroscope/webapps

10/13/11 11:22:14 AM UTC [INFO] [Manager.EMWebServer] EM webapps checks for new webapps every 60 seconds

10/13/11 11:22:14 AM UTC [INFO] [Manager.EMWebServer] Deployed web application: Introscope Configuration and Administration Help

10/13/11 11:22:15 AM UTC [INFO] [Manager.EMWebServer] Deployed web application: Introscope User Guide Help

10/13/11 11:22:15 AM UTC [INFO] [Manager.EMWebServer] Deployed web application: SAP Documentation

10/13/11 11:22:16 AM UTC [INFO] [Manager.EMWebServer] Deployed web application: Introscope WebView

10/13/11 11:22:23 AM UTC [INFO] [Manager.EMWebServer] Deployed web application: Introscope Online Documentation

10/13/11 11:22:23 AM UTC [INFO] [Manager.EMWebServer] Deployed web application: CEM URL Adapter

10/13/11 11:22:23 AM UTC [INFO] [Manager.EMWebServer] Deployed web application: Workstation WebStart

10/13/11 11:23:07 AM UTC [ERROR] [Manager.Bootstrap] Load all Management Modules FAILED.

10/13/11 11:23:07 AM UTC [ERROR] [Manager] The EM failed to start. Java heap space

10/13/11 11:23:07 AM UTC [INFO] [Manager.EMWebServer] Shutting down EM Web Server...

10/13/11 11:23:07 AM UTC [INFO] [Manager] Beginning orderly shutdown...

Does anyone know how to avoid this error?is it necessary to keep on increasing the heap space?

The note 723909 stands:

"For 64 bit platforms (that means not only your OS but also your JDK supports 64 bit) we recommend using 2GB: -Xmx2048m -Xms2048m"

Please suggest how to go further with this issue.

I am using SAP Solman 71 SPS3 on Linux on x86_64 64bit.

Thanks in advance, Marc

Accepted Solutions (1)

Accepted Solutions (1)

allam_drebes
Advisor
Advisor
0 Kudos

Hi Marc,

Check if you have configured the JAVA heap space correctly, refer to KBA 1630229 depending on the OS you have to configure the java memory in different locations.

Regards,

Allam

Former Member
0 Kudos

Thanks Allam.

This is exactly what I was looking for. My problem was solved after applying the corresponding note.

Regards, Marc

Answers (0)