HTTP 500 Internal server error.

Technote (troubleshooting)


Problem(Abstract)

Open a Poll Definitions -->Classes Tab --> HTTP 500 Internal server error, after that all the Poll Definitions show the same error when opened.

Symptom

Exception created : java.lang.StackOverflowError in SystemOut.log

[7/11/12 9:23:20:589 EST] 00000055 servlet  I com.ibm.ws.webcontainer.servlet.ServletWrapper init
SRVE0242I: [isc] [/ibm/console/ncp_monitor] [TIPTableControllerServlet]: Initialization successful.
[7/11/12 9:23:35:261 EST] 00000057 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service
SRVE0068E: Uncaught exception created in one of the service methods of the servlet action in application isc.

Exception created : java.lang.StackOverflowError
atcom.micromuse.precision.monitorconfiguration.da.MonitorConfigDAOImpl.setParentSelected(MonitorConfigDAOImpl.java:3919)
atcom.micromuse.precision.monitorconfiguration.da.MonitorConfigDAOImpl.setParentSelected(MonitorConfigDAOImpl.java:3925)
atcom.micromuse.precision.monitorconfiguration.da.MonitorConfigDAOImpl.setParentSelected(MonitorConfigDAOImpl.java:3925)
.
.
atcom.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116.



Diagnosing the problem

ncp_oql -domain DOMAIN -service NCIM -username ncim -password ncim -query "select classId, className, superClassId, classType from ncim.entityClass order by classId;"

Query will give more rows but the issue with the below rows
{
CLASSID=0;
CLASSNAME='';
SUPERCLASSID=63641268;
CLASSTYPE='Switch';
}
{
        CLASSID=1;
        CLASSNAME='Core';
        SUPERCLASSID=NULL;
        CLASSTYPE='Core';
}
..
..
{
        CLASSID=5;
        CLASSNAME='NetworkDevice';
        SUPERCLASSID=1;
        CLASSTYPE='NetworkDevice';
}
{
        CLASSID=63641268;
        CLASSNAME='Avaya';
        SUPERCLASSID=5;
        CLASSTYPE='NetworkDevice';
}
The OQL result contained a record with CLASSID 0 and empty CLASSNAME would caused GUI to enter an infinite loop 0->63641268->5->1->0 and broken with StackOverflowErrorexception.


Resolving the problem

To remove the Class with ClassId zero and empty ClassName do the following

#itnm_stop ncp
#ncp_oql -domain DOMAIN -service ncim -username ncim -password xxxx -query "delete from ncim.entityClass;"
#itnm_start ncp


Historical Number

40060
999
616

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Tivoli Network Manager IP Edition

Software version:

3.9

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows

Reference #:

1649802

Modified date:

2013-09-23

Translate my page

Machine Translation

Content navigation