Server Management - Systems Insight Manager
1752292 Members
4692 Online
108786 Solutions
New Discussion юеВ

Re: Java Errors after upgrade to 5.3

 
SOLVED
Go to solution
SJO EGGER
Regular Advisor

Java Errors after upgrade to 5.3

Hi,

since the upgrade from HP-SIM 5.2 to 5.3 we daily get following error message
30 J├дn 06:05:34,977 ERROR [[AxisServlet]] Servlet.service() for servlet AxisServlet threw exception
java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:99)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:393)
at java.lang.StringBuffer.append(StringBuffer.java:225)
at java.io.StringWriter.write(StringWriter.java:79)
at org.apache.axis.encoding.SerializationContextImpl.startElement(SerializationContextImpl.java:978)
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:152)
at org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1255)
at org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:795)
at org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:866)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:179)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)
at org.apache.axis.message.MessageElement.output(MessageElement.java:783)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:483)
at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:375)
at org.apache.axis.Message.getContentType(Message.java:399)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:887)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at sun.reflect.GeneratedMethodAccessor463.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
30 J├дn 06:05:35,023 INFO [HPSIM_DEBUG] [Panic Logger-0] (Low Memory Detector) Heap collection hitting upper limits 94% used
Connection to the SIM is not possible until we restart the HP-SIM Service. Has anyone an idea how to solve this problem?
Thanks
Alex
11 REPLIES 11
Brian Hahne
Regular Advisor

Re: Java Errors after upgrade to 5.3

Where are you seeing that log?
I don't have a solution, I'm wondering if I am having the same issue.

I can log into SIM, but once I enter credentials, it never goes further.
SJO EGGER
Regular Advisor

Re: Java Errors after upgrade to 5.3

Seems to be that you've got the same issue.
The Log is called mxdomainmgr.0.log and is located in ...\Program Files\HP\Systems Insight Manager\logs.

JKytsi
Honored Contributor

Re: Java Errors after upgrade to 5.3

java.lang.OutOfMemoryError: Java heap space

You have to increase the heap size.

For the \Program Files\HP\Systems Insight Manager\config\globalsettings.prop file

MX_JVM_OPTS=-XX:PermSize=128m -XX:MaxPermSize=128m -Xms1024m -Xmx1024m
Remember to give Kudos to answers! (click the KUDOS star)

You can find me from Twitter @JKytsi
Brian Hahne
Regular Advisor

Re: Java Errors after upgrade to 5.3

Yeah looks like this is my error:
03 Feb 09:04:41,866 ERROR [[ResourceAccessAPIsBean]] Servlet.service() for servlet ResourceAccessAPIsBean threw exception
java.lang.OutOfMemoryError: Java heap space
Brian Hahne
Regular Advisor

Re: Java Errors after upgrade to 5.3

So, how do you increase the heap size?
What to change from and to?
That setting you presented is kinda cryptic to me
JKytsi
Honored Contributor

Re: Java Errors after upgrade to 5.3

add the row to globalsettings.props file
Remember to give Kudos to answers! (click the KUDOS star)

You can find me from Twitter @JKytsi
SJO EGGER
Regular Advisor

Re: Java Errors after upgrade to 5.3

already done jarkko - thank you.

only to be sure: the same value f├Г┬╝r PermSize and MaxPermSize?
only found the MaxPermSize parameter in this document: http://docs.hp.com/de/T2786-90201/ch04s04.html

thanks
JKytsi
Honored Contributor
Solution

Re: Java Errors after upgrade to 5.3

well ... it then just reserves the whole memory range, but it could work without the max setting too.

Remember to assign point if this was helpfull.
Remember to give Kudos to answers! (click the KUDOS star)

You can find me from Twitter @JKytsi
Brian Hahne
Regular Advisor

Re: Java Errors after upgrade to 5.3

I'm adding the line now.
Is this an issue that was known? How'd you find the fix?