UCMDB and UD Practitioners Forum (Previously CMS)
cancel

UCMDB Class Model does not work after upgrade to 10.22

Highlighted
snikitin
Regular Collector

UCMDB Class Model does not work after upgrade to 10.22

Hello.

I deploy clean UCMDB 10.20 and then upgrade it to 10.22 with CP18.

After that i coud not generate class model, get error: Internal error occurred. 
In wrapper.log i see next events

INFO   | jvm 1   | 2016/01/27 02:33:32.116 | Constructing Javadoc information...
INFO   | jvm 1   | 2016/01/27 02:33:32.616 | /opt/hp/UCMDB/UCMDBServer/deploy/ucmdb-ui/static/classmodel/source/internal_classes/domain.java:47: error: cannot find symbol
INFO   | jvm 1   | 2016/01/27 02:33:32.617 | public string domain_type = null;
INFO   | jvm 1   | 2016/01/27 02:33:32.617 |       ^
INFO   | jvm 1   | 2016/01/27 02:33:32.617 |   symbol:   class string
INFO   | jvm 1   | 2016/01/27 02:33:32.617 |   location: class domain

INFO   | jvm 1   | 2016/01/27 02:33:32.627 | /opt/hp/UCMDB/UCMDBServer/deploy/ucmdb-ui/static/classmodel/source/internal_classes/calculated_link.java:41: error: cannot find symbol
INFO   | jvm 1   | 2016/01/27 02:33:32.627 | public static xml MENU = null;
INFO   | jvm 1   | 2016/01/27 02:33:32.627 |              ^
INFO   | jvm 1   | 2016/01/27 02:33:32.627 |   symbol:   class xml
INFO   | jvm 1   | 2016/01/27 02:33:32.627 |   location: interface calculated_link

INFO   | jvm 1   | 2016/01/27 02:33:32.627 | /opt/hp/UCMDB/UCMDBServer/deploy/ucmdb-ui/static/classmodel/source/internal_classes/discoverymodule.java:92: error: cannot find symbol
INFO   | jvm 1   | 2016/01/27 02:33:32.627 | public string_list discoverymodule_patterns = null;
INFO   | jvm 1   | 2016/01/27 02:33:32.627 |       ^
INFO   | jvm 1   | 2016/01/27 02:33:32.628 |   symbol:   class string_list
INFO   | jvm 1   | 2016/01/27 02:33:32.628 |   location: class discoverymodule

INFO   | jvm 1   | 2016/01/27 02:33:33.228 | javadoc: error - In doclet class com.hp.ucmdb.uiserver.services.cmdb.impl.classmodeljavadoc.doclet.UcmdbHtmlDoclet, method start has thrown an exception java.lang.reflect.InvocationTargetException
INFO   | jvm 1   | 2016/01/27 02:33:33.228 | java.lang.NoSuchMethodError: com.sun.tools.doclets.formats.html.ConfigurationImpl.getInstance()Lcom/sun/tools/doclets/formats/html/ConfigurationImpl;
INFO   | jvm 1   | 2016/01/27 02:33:33.228 |   at com.hp.ucmdb.uiserver.services.cmdb.impl.classmodeljavadoc.doclet.UcmdbHtmlDoclet.generate(UcmdbHtmlDoclet.java:31)
INFO   | jvm 1   | 2016/01/27 02:33:33.229 |   at com.hp.ucmdb.uiserver.services.cmdb.impl.classmodeljavadoc.doclet.UcmdbHtmlDoclet.start(UcmdbHtmlDoclet.java:25)
INFO   | jvm 1   | 2016/01/27 02:33:33.229 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1   | 2016/01/27 02:33:33.229 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO   | jvm 1   | 2016/01/27 02:33:33.229 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1   | 2016/01/27 02:33:33.229 |   at java.lang.reflect.Method.invoke(Method.java:497)

..

How i can fixed it?

1 REPLY
Rey_L
Frequent Visitor

Re: UCMDB Class Model does not work after upgrade to 10.22

I have seen a few issues with upgrading to 10.22 and CP 18, mostly with the CP 18 upgrade

If model topology is not starting but if jetty and the JMX start, go to the JMX and invoke updateClassModel

If the JVM fails to start at all, then I had to uninstall 10.22 patch and reinstall 10.22

I've seen other issues after a 10.22 CP 18 upgrade but please try updateClassModel and let me know if that does not work.

Other issues I've seen are with temp tables/views of specific CI types with SQL errors because of an invalid column.

Rey Lejano

effectualsystems.com
//Add this to "OnDomLoad" event