Webclient problem update 2020.3.0 --> 2021.3.2 LTS

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Webclient problem update 2020.3.0 --> 2021.3.2 LTS

Postby briese-it » Fri Jan 14, 2022 1:28 pm

I updated to 2021.3.2. Smartclient runs fine, but after logging in to the webclient, the login screen persists and the following error is in the application server log:

Code: Select all
2022-01-14 12:23    http-nio-8080-exec-3    ERROR    com.servoy.j2db.util.Debug    error executing event com.servoy.j2db.FormManager$1@3097f6ff    1C49BB3B-F5D5-43DC-A756-EFD6A4FD512B    svy_login_vw_pv
java.lang.NoClassDefFoundError: ua_parser/Parser
at com.servoy.j2db.server.headlessclient.util.HCUtils.<clinit>(HCUtils.java:73) ~[j2dbdev.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.server.headlessclient.WebClient.getClientOSName(WebClient.java:177) ~[j2dbdev.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.scripting.JSApplication.js_getOSName(JSApplication.java:3075) ~[j2db.jar:2021.3.2.3644_LTS]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_101]
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138) ~[js.jar:?]
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292) ~[js.jar:?]
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1487) ~[js.jar:?]
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815) ~[js.jar:?]
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) ~[js.jar:?]
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:399) ~[js.jar:?]
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3534) ~[js.jar:?]
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107) ~[js.jar:?]
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:676) ~[j2db.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.scripting.ScopesScope.executeGlobalFunction(ScopesScope.java:193) ~[j2db.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.FormManager.makeSolutionSettings(FormManager.java:236) ~[j2db.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.server.headlessclient.WebFormManager.makeSolutionSettings(WebFormManager.java:80) ~[j2dbdev.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.FormManager$1.run(FormManager.java:123) ~[j2db.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.server.headlessclient.EventsRunnable.run(EventsRunnable.java:58) [j2dbdev.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.server.headlessclient.WebClient.executeEvents(WebClient.java:526) [j2dbdev.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.server.headlessclient.EventsRunnable.run(EventsRunnable.java:70) [j2dbdev.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.server.headlessclient.WebClient.executeEvents(WebClient.java:526) [j2dbdev.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.generateResponse(WebEventExecutor.java:728) [j2dbdev.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:425) [j2dbdev.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:394) [j2dbdev.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:389) [j2dbdev.jar:2021.3.2.3644_LTS]
at com.servoy.j2db.server.headlessclient.dataui.ServoyActionEventBehavior.onUpdate(ServoyActionEventBehavior.java:91) [j2dbdev.jar:2021.3.2.3644_LTS]
at org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior.onEvent(AjaxFormComponentUpdatingBehavior.java:158) [wicket.jar:1.4-SNAPSHOT]
at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) [wicket.jar:1.4-SNAPSHOT]
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:312) [wicket.jar:1.4-SNAPSHOT]
at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157) [wicket.jar:1.4-SNAPSHOT]
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) [wicket.jar:1.4-SNAPSHOT]
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279) [wicket.jar:1.4-SNAPSHOT]
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358) [wicket.jar:1.4-SNAPSHOT]
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465) [wicket.jar:1.4-SNAPSHOT]
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) [wicket.jar:1.4-SNAPSHOT]
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486) [wicket.jar:1.4-SNAPSHOT]
at com.servoy.j2db.server.servlets.Zz.doGet(Zz.java:13) [j2dbdev.jar:2021.3.2.3644_LTS]
at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160) [wicket.jar:1.4-SNAPSHOT]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [servlet-api.jar:3.1.0]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [servlet-api.jar:3.1.0]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.57]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.57]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.57]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.57]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.57]
at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.17.0.jar:2.17.0]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.57]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.57]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [catalina.jar:8.5.57]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.57]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543) [catalina.jar:8.5.57]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [catalina.jar:8.5.57]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [catalina.jar:8.5.57]
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690) [catalina.jar:8.5.57]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.57]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:8.5.57]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615) [tomcat-coyote.jar:8.5.57]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote.jar:8.5.57]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818) [tomcat-coyote.jar:8.5.57]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1626) [tomcat-coyote.jar:8.5.57]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.57]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_101]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.57]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
Caused by: java.lang.ClassNotFoundException: ua_parser.Parser
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_101]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_101]
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[?:1.8.0_101]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_101]
... 68 more


Any ideas?
Michael Harms
Head of Software Development
Briese Schiffahrts GmbH & Co.KG, Germany

- Servoy 2024.6.1.3983
- Servoy 2021.3.0.3642
- Servoy 2020.3.3.3565_LTS
Running on Windows 2019 DataCenter - MSSQL2017 & PostGreSQL
User avatar
briese-it
 
Posts: 182
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany

Re: Webclient problem update 2020.3.0 --> 2021.3.2 LTS

Postby briese-it » Mon Jan 17, 2022 10:48 am

Problem solved. ua-parser was missing in the wrapper.conf
Michael Harms
Head of Software Development
Briese Schiffahrts GmbH & Co.KG, Germany

- Servoy 2024.6.1.3983
- Servoy 2021.3.0.3642
- Servoy 2020.3.3.3565_LTS
Running on Windows 2019 DataCenter - MSSQL2017 & PostGreSQL
User avatar
briese-it
 
Posts: 182
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 2 guests