Server Management - Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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?
SJO EGGER
Regular Advisor

Re: Java Errors after upgrade to 5.3

Thanks for your Help. Jarkko
mark q
Regular Advisor

Re: Java Errors after upgrade to 5.3

do you guys have a reccomended settings somewhere I'm getting ready to upgrade sim to 5.3 and I'm seeing this on my existing server

I have 4200 devices - remote sql.

380 g4 - 4 gig of memory

I'm upgrading to enterprise edition with 16 gig of memory and lots of disk space

I'm doing the following switches in the boot.ini to see if it helps java


/3gb /pae /usepmtimer

do you guys set windows to maximize for programs or services?