Upgrade 2.0.1->2.0.3 web gui crash

Started by norg, April 13, 2016, 12:14:49 AM

Previous topic - Next topic

norg

Hi after upgrade everything is ok except web gui
Deploying war file no problem
login screen to netxms no problem
after loging in http status 500
Thanks for directing me the right way

type Exception report

message Servlet execution threw an exception

description The server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

root cause

java.lang.NoClassDefFoundError: Could not initialize class sun.text.normalizer.NormalizerImpl
java.text.RBTableBuilder.build(RBTableBuilder.java:107)
java.text.RBCollationTables.<init>(RBCollationTables.java:83)
java.text.RuleBasedCollator.<init>(RuleBasedCollator.java:300)
java.text.RuleBasedCollator.<init>(RuleBasedCollator.java:281)
sun.util.locale.provider.CollatorProviderImpl.getInstance(CollatorProviderImpl.java:106)
java.text.Collator.getInstance(Collator.java:242)
java.text.Collator.getInstance(Collator.java:224)
com.ibm.icu.text.Collator.getInstance(Collator.java:326)
org.eclipse.ui.actions.PerspectiveMenu$2.<init>(PerspectiveMenu.java:98)
org.eclipse.ui.actions.PerspectiveMenu.<init>(PerspectiveMenu.java:97)
org.eclipse.ui.internal.ChangeToPerspectiveMenu.<init>(ChangeToPerspectiveMenu.java:48)
org.eclipse.ui.actions.ContributionItemFactory$6.create(ContributionItemFactory.java:295)
org.netxms.ui.eclipse.console.ApplicationActionBarAdvisor.makeActions(ApplicationActionBarAdvisor.java:91)
org.eclipse.ui.application.ActionBarAdvisor.fillActionBars(ActionBarAdvisor.java:147)
org.eclipse.ui.internal.WorkbenchWindow.fillActionBars(WorkbenchWindow.java:3614)
org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:407)
org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workbench3xImplementation.java:29)
org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1933)
org.eclipse.ui.internal.Workbench.access$11(Workbench.java:1931)
org.eclipse.ui.internal.Workbench$16.runWithException(Workbench.java:1244)
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:230)
org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
org.eclipse.swt.widgets.Display.syncExec(Display.java:1092)
org.eclipse.ui.internal.StartupThreading.runWithWorkbenchExceptions(StartupThreading.java:55)
org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:1242)
org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:2061)
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1992)
org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:188)
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:790)
org.netxms.ui.eclipse.console.ApplicationWorkbenchAdvisor.openWindows(ApplicationWorkbenchAdvisor.java:87)
org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1640)
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:230)
org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
org.eclipse.swt.widgets.Display.syncExec(Display.java:1092)
org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:110)
org.eclipse.ui.internal.Workbench.init(Workbench.java:1635)
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2655)
org.eclipse.ui.internal.Workbench.access$5(Workbench.java:2530)
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:701)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:684)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157)
org.netxms.ui.eclipse.console.Application.start(Application.java:84)
org.eclipse.rap.ui.internal.application.EntryPointApplicationWrapper.createUI(EntryPointApplicationWrapper.java:38)
org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:172)
org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:284)
java.lang.Thread.run(Thread.java:745)
org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:105)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.63 logs.

Alex Kirhenshtein

Hello.

I found a few mentions of similar issue on google, but no definite answer how to fix it (or what cause that).
I'd suggest: completely restart tomcat (if hot deploy was used), upgrade jdk, change JDK vendor (e.g. openjdk -> oracle jdk)

norg

solved by general update of the machine