Jelastic deployment: exception

My war file is above 154K, therefore, i have uploaded teh war file using URL option and deployed but getting following error (extract from catalina).

      2017-11-08 23:14:27.786 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from /WEB-INF/local.app.properties
Nov 08, 2017 11:14:27 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [com.haulmont.cuba.web.sys.singleapp.SingleAppWebServletListener]
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.persistence.expressions.ExpressionOperator
	at com.haulmont.cuba.core.sys.persistence.EclipseLinkCustomizer.initTransientCompatibleAnnotations(EclipseLinkCustomizer.java:30)
	at com.haulmont.cuba.core.sys.AbstractAppContextLoader.beforeInitAppContext(AbstractAppContextLoader.java:43)

Any suggestions? Thanks for your help.

Here is more detail exception:

    Nov 08, 2017 10:07:07 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing AtmosphereFramework
Nov 08, 2017 10:07:07 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
2017-11-08 22:07:07.743 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AppComponents - Using app components: [com.haulmont.cuba, com.haulmont.reports, com.haulmont.fts, com.haulmont.charts]
2017-11-08 22:07:07.788 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from classpath:com/myapp/erp/app.properties
2017-11-08 22:07:07.789 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from /WEB-INF/local.app.properties
Nov 08, 2017 10:07:07 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [com.haulmont.cuba.core.sys.singleapp.SingleAppCoreServletListener]
java.lang.ExceptionInInitializerError
	at org.eclipse.persistence.internal.helper.ClassConstants.<clinit>(ClassConstants.java:64)
	at org.eclipse.persistence.expressions.ExpressionOperator.<init>(ExpressionOperator.java:255)
	at org.eclipse.persistence.expressions.ExpressionOperator.notOperator(ExpressionOperator.java:2123)
	at org.eclipse.persistence.expressions.ExpressionOperator.initializeFunctionOperators(ExpressionOperator.java:1350)
	at org.eclipse.persistence.expressions.ExpressionOperator.initializeOperators(ExpressionOperator.java:1384)
	at org.eclipse.persistence.expressions.ExpressionOperator.<clinit>(ExpressionOperator.java:46)
	at com.haulmont.cuba.core.sys.persistence.EclipseLinkCustomizer.initTransientCompatibleAnnotations(EclipseLinkCustomizer.java:30)
	at com.haulmont.cuba.core.sys.AbstractAppContextLoader.beforeInitAppContext(AbstractAppContextLoader.java:43)
	at com.haulmont.cuba.core.sys.AppContextLoader.beforeInitAppContext(AppContextLoader.java:81)
	at com.haulmont.cuba.core.sys.AbstractWebAppContextLoader.contextInitialized(AbstractWebAppContextLoader.java:71)
	at com.haulmont.cuba.core.sys.singleapp.SingleAppCoreContextLoader.contextInitialized(SingleAppCoreContextLoader.java:56)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:216)
	at com.haulmont.cuba.core.sys.singleapp.SingleAppCoreServletListener.contextInitialized(SingleAppCoreServletListener.java:88)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.NullPointerException
	at org.eclipse.persistence.indirection.IndirectCollectionsFactory.getProvider(IndirectCollectionsFactory.java:190)
	at org.eclipse.persistence.indirection.IndirectCollectionsFactory.<clinit>(IndirectCollectionsFactory.java:43)
	... 30 more

2017-11-08 22:07:07.858 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AppComponents - Using app components: [com.haulmont.cuba, com.haulmont.reports, com.haulmont.fts, com.haulmont.charts]
2017-11-08 22:07:07.861 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from classpath:com/myapp/erp/web-app.properties
2017-11-08 22:07:07.861 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from /WEB-INF/local.app.properties
Nov 08, 2017 10:07:07 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [com.haulmont.cuba.web.sys.singleapp.SingleAppWebServletListener]
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.persistence.expressions.ExpressionOperator
	at com.haulmont.cuba.core.sys.persistence.EclipseLinkCustomizer.initTransientCompatibleAnnotations(EclipseLinkCustomizer.java:30)
	at com.haulmont.cuba.core.sys.AbstractAppContextLoader.beforeInitAppContext(AbstractAppContextLoader.java:43)
	at com.haulmont.cuba.web.sys.WebAppContextLoader.beforeInitAppContext(WebAppContextLoader.java:38)
	at com.haulmont.cuba.core.sys.AbstractWebAppContextLoader.contextInitialized(AbstractWebAppContextLoader.java:71)
	at com.haulmont.cuba.web.sys.singleapp.SingleAppWebContextLoader.contextInitialized(SingleAppWebContextLoader.java:71)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:216)
	at com.haulmont.cuba.web.sys.singleapp.SingleAppWebServletListener.contextInitialized(SingleAppWebServletListener.java:84)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.base/java.lang.Thread.run(Thread.java:844)

08-Nov-2017 22:07:07.864 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
Nov 08, 2017 10:07:08 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
WARNING: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [571] milliseconds.
08-Nov-2017 22:07:08.438 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
22:07:08,440 |-INFO in ch.qos.logback.classic.servlet.LogbackServletContextListener@7783de32 - About to stop ch.qos.logback.classic.LoggerContext [default]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/opt/tomcat/lib/catalina.jar) to field java.lang.Thread.threadLocals
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
08-Nov-2017 22:07:08.539 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/tomcat/webapps/ROOT.war] has finished in [12,464] ms
08-Nov-2017 22:07:08.541 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-80"]
08-Nov-2017 22:07:08.549 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
08-Nov-2017 22:07:08.551 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
08-Nov-2017 22:07:08.554 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 12556 ms
08-Nov-2017 23:13:56.844 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-80"]
08-Nov-2017 23:13:56.880 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
08-Nov-2017 23:13:56.883 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
08-Nov-2017 23:13:56.883 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
08-Nov-2017 23:13:56.884 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
08-Nov-2017 23:13:56.885 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
08-Nov-2017 23:13:56.886 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 647 ms
08-Nov-2017 23:13:56.940 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
08-Nov-2017 23:13:56.940 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.23
08-Nov-2017 23:13:57.069 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/tomcat/webapps/ROOT.war]
Nov 08, 2017 11:14:27 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
23:14:27,342 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
23:14:27,342 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
23:14:27,343 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/opt/tomcat/webapps/ROOT/WEB-INF/lib/cuba-shared-lib-6.7.2.jar!/logback.xml]
23:14:27,361 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@6c65b204 - URL [jar:file:/opt/tomcat/webapps/ROOT/WEB-INF/lib/cuba-shared-lib-6.7.2.jar!/logback.xml] is not of type file
23:14:27,399 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
23:14:27,402 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [Console]
23:14:27,412 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
23:14:27,443 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [Console] to Logger[ROOT]
23:14:27,445 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba] to DEBUG
23:14:27,445 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.core.sys] to INFO
23:14:27,445 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.core.sys.CubaDefaultListableBeanFactory] to WARN
23:14:27,445 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.core.app.scheduling] to INFO
23:14:27,445 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.web.sys] to INFO
23:14:27,445 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.portal] to INFO
23:14:27,445 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.core.app.LockManager] to INFO
23:14:27,445 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [eclipselink] to WARN
23:14:27,445 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [eclipselink.sql] to INFO
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework] to WARN
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.activiti] to INFO
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [freemarker] to INFO
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.thymeleaf.TemplateEngine] to INFO
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.docx4j] to WARN
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.xlsx4j] to WARN
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate] to WARN
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [sun] to INFO
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.sun] to INFO
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [javax] to INFO
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to INFO
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.eclipse.jetty] to INFO
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.atmosphere] to INFO
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.docx4j.utils.ResourceUtils] to ERROR
23:14:27,446 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.docx4j.Docx4jProperties] to ERROR
23:14:27,447 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [ org.xlsx4j.jaxb.Context] to ERROR
23:14:27,447 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.perf4j.TimingLogger] to OFF
23:14:27,447 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.gui.logging.UIPerformanceLogger] to OFF
23:14:27,447 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
23:14:27,448 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@259340b8 - Registering current configuration as safe fallback point
23:14:27,304 |-INFO in ch.qos.logback.classic.servlet.LogbackServletContainerInitializer@35963a52 - Adding an instance of  class ch.qos.logback.classic.servlet.LogbackServletContextListener to the current web-app
Nov 08, 2017 11:14:27 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing AtmosphereFramework
Nov 08, 2017 11:14:27 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
2017-11-08 23:14:27.672 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AppComponents - Using app components: [com.haulmont.cuba, com.haulmont.reports, com.haulmont.fts, com.haulmont.charts]
2017-11-08 23:14:27.706 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from classpath:com/myapp/erp/app.properties
2017-11-08 23:14:27.708 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from /WEB-INF/local.app.properties
Nov 08, 2017 11:14:27 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [com.haulmont.cuba.core.sys.singleapp.SingleAppCoreServletListener]
java.lang.ExceptionInInitializerError
	at org.eclipse.persistence.internal.helper.ClassConstants.<clinit>(ClassConstants.java:64)
	at org.eclipse.persistence.expressions.ExpressionOperator.<init>(ExpressionOperator.java:255)
	at org.eclipse.persistence.expressions.ExpressionOperator.notOperator(ExpressionOperator.java:2123)
	at org.eclipse.persistence.expressions.ExpressionOperator.initializeFunctionOperators(ExpressionOperator.java:1350)
	at org.eclipse.persistence.expressions.ExpressionOperator.initializeOperators(ExpressionOperator.java:1384)
	at org.eclipse.persistence.expressions.ExpressionOperator.<clinit>(ExpressionOperator.java:46)
	at com.haulmont.cuba.core.sys.persistence.EclipseLinkCustomizer.initTransientCompatibleAnnotations(EclipseLinkCustomizer.java:30)
	at com.haulmont.cuba.core.sys.AbstractAppContextLoader.beforeInitAppContext(AbstractAppContextLoader.java:43)
	at com.haulmont.cuba.core.sys.AppContextLoader.beforeInitAppContext(AppContextLoader.java:81)
	at com.haulmont.cuba.core.sys.AbstractWebAppContextLoader.contextInitialized(AbstractWebAppContextLoader.java:71)
	at com.haulmont.cuba.core.sys.singleapp.SingleAppCoreContextLoader.contextInitialized(SingleAppCoreContextLoader.java:56)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:216)
	at com.haulmont.cuba.core.sys.singleapp.SingleAppCoreServletListener.contextInitialized(SingleAppCoreServletListener.java:88)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.NullPointerException
	at org.eclipse.persistence.indirection.IndirectCollectionsFactory.getProvider(IndirectCollectionsFactory.java:190)
	at org.eclipse.persistence.indirection.IndirectCollectionsFactory.<clinit>(IndirectCollectionsFactory.java:43)
	... 30 more

2017-11-08 23:14:27.782 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AppComponents - Using app components: [com.haulmont.cuba, com.haulmont.reports, com.haulmont.fts, com.haulmont.charts]
2017-11-08 23:14:27.785 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from classpath:com/myapp/erp/web-app.properties
2017-11-08 23:14:27.786 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from /WEB-INF/local.app.properties
Nov 08, 2017 11:14:27 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [com.haulmont.cuba.web.sys.singleapp.SingleAppWebServletListener]
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.persistence.expressions.ExpressionOperator
	at com.haulmont.cuba.core.sys.persistence.EclipseLinkCustomizer.initTransientCompatibleAnnotations(EclipseLinkCustomizer.java:30)
	at com.haulmont.cuba.core.sys.AbstractAppContextLoader.beforeInitAppContext(AbstractAppContextLoader.java:43)
	at com.haulmont.cuba.web.sys.WebAppContextLoader.beforeInitAppContext(WebAppContextLoader.java:38)
	at com.haulmont.cuba.core.sys.AbstractWebAppContextLoader.contextInitialized(AbstractWebAppContextLoader.java:71)
	at com.haulmont.cuba.web.sys.singleapp.SingleAppWebContextLoader.contextInitialized(SingleAppWebContextLoader.java:71)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:216)
	at com.haulmont.cuba.web.sys.singleapp.SingleAppWebServletListener.contextInitialized(SingleAppWebServletListener.java:84)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.base/java.lang.Thread.run(Thread.java:844)

08-Nov-2017 23:14:27.789 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
Nov 08, 2017 11:14:28 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
WARNING: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [471] milliseconds.
08-Nov-2017 23:14:28.294 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
23:14:28,296 |-INFO in ch.qos.logback.classic.servlet.LogbackServletContextListener@28877562 - About to stop ch.qos.logback.classic.LoggerContext [default]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/opt/tomcat/lib/catalina.jar) to field java.lang.Thread.threadLocals
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
08-Nov-2017 23:14:28.371 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/tomcat/webapps/ROOT.war] has finished in [31,302] ms
08-Nov-2017 23:14:28.373 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-80"]
08-Nov-2017 23:14:28.380 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
08-Nov-2017 23:14:28.382 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
08-Nov-2017 23:14:28.385 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 31498 ms

Hi CUBA team
I contacted the Jelastic cloud provider Mircloud.host about the above exception and they have come back with the following message:

“We received a response from the developers.
As we were told, to start your application requires cuba-studio and probably in a defolted container with tomcat, cuba does not runing. At least you need install openjfx.

Specify, please, this ready-made software?
Do you have any installation documentation and a list of all the necessary modules?”

Do you have any comments or suggestions?

Mortoza

I thought the issue has been resolved but later realized that it is the old version of my app running on cloud. I am wondering if this issue is related to the cloud provider or CUBA framework. Here is the exceptions from catalina.out

12-Nov-2017 17:46:17.239 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
12-Nov-2017 17:46:17.240 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-80"]
12-Nov-2017 17:46:17.292 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
12-Nov-2017 17:46:17.342 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
12-Nov-2017 17:46:17.393 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
Nov 12, 2017 5:46:17 PM org.apache.catalina.core.ApplicationContext log
INFO: Destroying Spring FrameworkServlet 'rest_api'
2017-11-12 17:46:17.396 INFO  [localhost-startStop-2] com.haulmont.restapi.sys.SingleAppRestApiServlet$1 - Closing WebApplicationContext for namespace 'rest_api-servlet': startup date [Sun Nov 12 16:00:40 UTC 2017]; parent: com.haulmont.cuba.web.sys.singleapp.SingleAppWebContextLoader$1@6ff13247
Nov 12, 2017 5:46:17 PM org.apache.catalina.core.ApplicationContext log
INFO: Destroying Spring FrameworkServlet 'remoting'
2017-11-12 17:46:17.407 INFO  [localhost-startStop-2] com.haulmont.cuba.core.sys.CubaXmlWebApplicationContext - Closing WebApplicationContext for namespace 'remoting-servlet': startup date [Sun Nov 12 16:00:34 UTC 2017]; parent: com.haulmont.cuba.core.sys.singleapp.SingleAppCoreContextLoader$1@41fdb2bf
Nov 12, 2017 5:46:17 PM org.apache.catalina.core.ApplicationContext log
INFO: Destroying Spring FrameworkServlet 'dispatcher'
2017-11-12 17:46:17.408 INFO  [localhost-startStop-2] com.haulmont.cuba.web.sys.singleapp.SingleAppDispatcherServlet$1 - Closing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Sun Nov 12 16:00:39 UTC 2017]; parent: com.haulmont.cuba.web.sys.singleapp.SingleAppWebContextLoader$1@6ff13247
17:46:17,410 |-INFO in ch.qos.logback.classic.servlet.LogbackServletContextListener@38af4d3b - About to stop ch.qos.logback.classic.LoggerContext [default]
12-Nov-2017 17:46:17.454 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
12-Nov-2017 17:46:17.455 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@c33c24a]) and a value of type [org.apache.xerces.jaxp.SAXParserImpl] (value [org.apache.xerces.jaxp.SAXParserImpl@18764fa]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
12-Nov-2017 17:46:17.455 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@c33c24a]) and a value of type [org.apache.xerces.jaxp.SAXParserImpl] (value [org.apache.xerces.jaxp.SAXParserImpl@1996e144]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
12-Nov-2017 17:46:17.462 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-80"]
12-Nov-2017 17:46:17.463 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
12-Nov-2017 17:46:17.464 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
12-Nov-2017 17:46:17.464 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-80"]
12-Nov-2017 17:46:17.465 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
12-Nov-2017 17:46:17.465 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
12-Nov-2017 17:46:25.613 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-80"]
12-Nov-2017 17:46:25.684 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
12-Nov-2017 17:46:25.686 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
12-Nov-2017 17:46:25.687 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
12-Nov-2017 17:46:25.687 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
12-Nov-2017 17:46:25.689 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
12-Nov-2017 17:46:25.689 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 573 ms
12-Nov-2017 17:46:25.714 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
12-Nov-2017 17:46:25.714 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.16
12-Nov-2017 17:46:25.741 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/tomcat/webapps/ROOT.war]
Nov 12, 2017 5:46:40 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
17:46:40,212 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
17:46:40,213 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
17:46:40,213 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/opt/tomcat/webapps/ROOT/WEB-INF/lib/cuba-shared-lib-6.7.2.jar!/logback.xml]
17:46:40,228 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@7d2ae6dc - URL [jar:file:/opt/tomcat/webapps/ROOT/WEB-INF/lib/cuba-shared-lib-6.7.2.jar!/logback.xml] is not of type file
17:46:40,262 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:46:40,266 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [Console]
17:46:40,274 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:46:40,298 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [Console] to Logger[ROOT]
17:46:40,299 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba] to DEBUG
17:46:40,299 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.core.sys] to INFO
17:46:40,299 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.core.sys.CubaDefaultListableBeanFactory] to WARN
17:46:40,299 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.core.app.scheduling] to INFO
17:46:40,299 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.web.sys] to INFO
17:46:40,299 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.portal] to INFO
17:46:40,299 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.core.app.LockManager] to INFO
17:46:40,299 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [eclipselink] to WARN
17:46:40,299 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [eclipselink.sql] to INFO
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework] to WARN
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.activiti] to INFO
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [freemarker] to INFO
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.thymeleaf.TemplateEngine] to INFO
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.docx4j] to WARN
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.xlsx4j] to WARN
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate] to WARN
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [sun] to INFO
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.sun] to INFO
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [javax] to INFO
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to INFO
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.eclipse.jetty] to INFO
17:46:40,300 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.atmosphere] to INFO
17:46:40,301 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.docx4j.utils.ResourceUtils] to ERROR
17:46:40,301 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.docx4j.Docx4jProperties] to ERROR
17:46:40,301 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [ org.xlsx4j.jaxb.Context] to ERROR
17:46:40,301 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.perf4j.TimingLogger] to OFF
17:46:40,301 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.gui.logging.UIPerformanceLogger] to OFF
17:46:40,301 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
17:46:40,302 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@72e703ac - Registering current configuration as safe fallback point
17:46:40,165 |-INFO in ch.qos.logback.classic.servlet.LogbackServletContainerInitializer@1faf97ee - Adding an instance of  class ch.qos.logback.classic.servlet.LogbackServletContextListener to the current web-app
Nov 12, 2017 5:46:40 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Nov 12, 2017 5:46:40 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing AtmosphereFramework
2017-11-12 17:46:40.536 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AppComponents - Using app components: [com.haulmont.cuba, com.haulmont.reports, com.haulmont.fts, com.haulmont.charts]
2017-11-12 17:46:40.567 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from classpath:com/myapp/erp/app.properties
2017-11-12 17:46:40.568 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from /WEB-INF/local.app.properties
2017-11-12 17:46:40.661 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AppContextLoader - DbmsType of the main database is set to postgres
2017-11-12 17:46:41.332 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.persistence.MappingFileCreator - Creating file /opt/tomcat/myappERPSystems-core/work/orm.xml
2017-11-12 17:46:41.345 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.persistence.PersistenceConfigProcessor - Creating file /opt/tomcat/myappERPSystems-core/work/persistence.xml
2017-11-12 17:46:41.421 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.singleapp.SingleAppCoreContextLoader$1 - Refreshing com.haulmont.cuba.core.sys.singleapp.SingleAppCoreContextLoader$1@20571130: startup date [Sun Nov 12 17:46:41 UTC 2017]; root of context hierarchy
2017-11-12 17:46:52.152 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.CubaThreadPoolTaskScheduler - Initializing ExecutorService  'scheduler'
2017-11-12 17:46:54.480 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.jmx.MBeanExporter - Registering beans for JMX exposure: [myappERPSystems-core.cuba:type=PersistenceManager, myappERPSystems-core.cuba:type=ConfigStorage, myappERPSystems-core.cuba:type=UserSessions, myappERPSystems-core.cuba:type=UniqueNumbers, myappERPSystems-core.cuba:type=Emailer, myappERPSystems-core.cuba:type=EntityLog, myappERPSystems-core.cuba:type=FileStorage, myappERPSystems-core.cuba:type=LockManager, myappERPSystems-core.cuba:type=CachingFacade, myappERPSystems-core.cuba:type=ClusterManager, myappERPSystems-core.cuba:type=ScriptingManager, myappERPSystems-core.cuba:type=ServerInfo, myappERPSystems-core.cuba:type=Scheduling, myappERPSystems-core.cuba:type=ObjectsCacheManager, myappERPSystems-core.cuba:type=PasswordEncryptionSupport, myappERPSystems-core.cuba:type=JmxNodeIdentifier, myappERPSystems-core.cuba:type=JmxLogControl, myappERPSystems-core.cuba:type=ClassLoaderManager, myappERPSystems-core.cuba:type=StatisticsCounter, myappERPSystems-core.cuba:type=BruteForceProtection, myappERPSystems-core.cuba:type=QueryCacheSupport, myappERPSystems-core.cuba:type=IdpSessions, myappERPSystems-core.cuba:type=ServerTokenStore]
2017-11-12 17:46:55.049 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.jmx.MBeanExporter - Registering beans for JMX exposure: [myappERPSystems-core.reports:type=CubaOfficeIntegration, myappERPSystems-core.reports:type=ReportImportExport, myappERPSystems-core.reports:type=ReportingMigrator]
2017-11-12 17:46:55.093 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.jmx.MBeanExporter - Registering beans for JMX exposure: [myappERPSystems-core.fts:type=FtsManager]
2017-11-12 17:46:55.121 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.MetadataImpl - Initializing metadata
2017-11-12 17:46:55.529 WARN  [localhost-startStop-1] com.haulmont.cuba.core.sys.MetaModelLoader - Class com.myapp.erp.entity.gen.LogRecordLevel is not loaded into metadata
2017-11-12 17:46:55.608 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.MetadataImpl - Metadata initialized in 487ms
2017-11-12 17:46:55.823 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.dbupdate.DbUpdaterEngine - Updating database...
2017-11-12 17:46:56.777 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.dbupdate.DbUpdaterEngine - Database is up-to-date
2017-11-12 17:46:56.779 DEBUG [localhost-startStop-1] com.haulmont.cuba.security.auth.AnonymousSessionHolder - Initialize anonymous session
2017-11-12 17:46:58.036 DEBUG [localhost-startStop-1] com.haulmont.cuba.security.auth.AuthenticationManagerBean - Authentication attempt using com.haulmont.cuba.security.auth.providers.AnonymousAuthenticationProvider
2017-11-12 17:46:58.037 INFO  [localhost-startStop-1] com.haulmont.cuba.core.app.ConfigStorage - Loading DB-stored app properties cache
2017-11-12 17:46:58.462 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.DefaultPermissionValuesConfig - Initializing default permission values
2017-11-12 17:46:58.511 DEBUG [localhost-startStop-1] com.haulmont.cuba.security.auth.AuthenticationManagerBean - Authentication successful for com.haulmont.cuba.security.auth.AnonymousUserCredentials@35dfd519
2017-11-12 17:46:58.518 INFO  [localhost-startStop-1] com.haulmont.cuba.security.auth.AuthenticationManagerBean - Logged in: 7189e19f-96a1-940e-444b-5a8498187a48 [anonymous]
2017-11-12 17:46:58.518 DEBUG [localhost-startStop-1] com.haulmont.cuba.security.auth.AnonymousSessionHolder - Anonymous session initialized with id 7189e19f-96a1-940e-444b-5a8498187a48
2017-11-12 17:46:58.519 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - AppContext initialized
Nov 12, 2017 5:46:58 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'remoting'
2017-11-12 17:46:58.578 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.remoting.RemotingServlet - FrameworkServlet 'remoting': initialization started
2017-11-12 17:46:58.587 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.CubaXmlWebApplicationContext - Refreshing WebApplicationContext for namespace 'remoting-servlet': startup date [Sun Nov 12 17:46:58 UTC 2017]; parent: com.haulmont.cuba.core.sys.singleapp.SingleAppCoreContextLoader$1@20571130
2017-11-12 17:46:58.637 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.remoting.RemoteServicesBeanCreator - Configuring remote services
2017-11-12 17:46:59.121 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.remoting.RemotingServlet - FrameworkServlet 'remoting': initialization completed in 542 ms
2017-11-12 17:46:59.151 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AppComponents - Using app components: [com.haulmont.cuba, com.haulmont.reports, com.haulmont.fts, com.haulmont.charts]
2017-11-12 17:46:59.155 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from classpath:com/myapp/erp/web-app.properties
2017-11-12 17:46:59.156 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from /WEB-INF/local.app.properties
2017-11-12 17:46:59.162 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.singleapp.SingleAppWebContextLoader$1 - Refreshing com.haulmont.cuba.web.sys.singleapp.SingleAppWebContextLoader$1@27fdb1b3: startup date [Sun Nov 12 17:46:59 UTC 2017]; root of context hierarchy
2017-11-12 17:47:00.977 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.remoting.discovery.StaticServerSelector - Server URLs: [http://localhost:8080/myappERPSystems-core/remoting]
2017-11-12 17:47:00.983 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.remoting.WebRemoteProxyBeanCreator - Configuring proxy beans for local service invocations: [cuba_LoginService, cuba_AuthenticationService, cuba_TrustedClientService, cuba_ServerInfoService, cuba_UserSettingService, cuba_UserManagementService, cuba_DataService, cuba_ConfigStorageService, cuba_PersistenceManagerService, cuba_LockService, cuba_UserSessionService, cuba_FoldersService, cuba_EmailService, cuba_FileStorageService, cuba_EntitySnapshotService, cuba_UniqueNumbersService, cuba_LocalizedMessageService, cuba_ResourceService, cuba_ScheduledTasksService, cuba_EntityLogService, cuba_TestingService, cuba_ObjectsCacheManagerService, cuba_DomainDescriptionService, cuba_RelatedEntitiesService, cuba_EntitySqlGenerationService, cuba_NumberIdService, cuba_QueryResultsService, cuba_DynamicAttributesCacheService, cuba_EntityRestoreService, cuba_LocalFileExchangeService, cuba_EntityImportExportService, cuba_ScreenProfilerService, cuba_ServerTokenStore, cuba_IdpService, cuba_ConstraintLocalizationService, cuba_AttributeAccessService]
2017-11-12 17:47:00.985 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.remoting.WebRemoteProxyBeanCreator - Configuring proxy beans for local service invocations: [report_ReportService, report_ReportWizardService]
2017-11-12 17:47:00.985 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.remoting.WebRemoteProxyBeanCreator - Configuring proxy beans for local service invocations: [cuba_FtsService]
2017-11-12 17:47:00.985 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.remoting.WebRemoteProxyBeanCreator - Configuring proxy beans for local service invocations: [erp_AccountsService, erp_ProcurementService, erp_MaterialsManagementService, erp_SalesService, erp_ProductionPlanService, erp_NumberGenerationService, erp_DistributionService, erp_SupplyChainService, erp_AssetService, erp_myappUtilService, erp_HrisService, erp_QualityManagementService, erp_AccountsReceivableService, erp_AccountsPayableService]
2017-11-12 17:47:02.281 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.CubaThreadPoolTaskScheduler - Initializing ExecutorService  'scheduler'
2017-11-12 17:47:02.498 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.jmx.MBeanExporter - Registering beans for JMX exposure: [myappERPSystems.cuba:type=ConfigStorage, myappERPSystems.cuba:type=CachingFacade, myappERPSystems.cuba:type=FileUploading, myappERPSystems.cuba:type=JmxNodeIdentifier, myappERPSystems.cuba:type=JmxLogControl, myappERPSystems.cuba:type=ClassLoaderManager, myappERPSystems.cuba:type=StatisticsCounter]
2017-11-12 17:47:02.511 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.MetadataImpl - Initializing metadata
2017-11-12 17:47:03.102 WARN  [localhost-startStop-1] com.haulmont.cuba.core.sys.MetaModelLoader - Class com.myapp.erp.entity.gen.LogRecordLevel is not loaded into metadata
2017-11-12 17:47:03.253 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.MetadataImpl - Metadata initialized in 742ms
2017-11-12 17:47:03.257 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - AppContext initialized
Nov 12, 2017 5:47:03 PM com.vaadin.server.DefaultDeploymentConfiguration checkProductionMode
WARNING: 
=================================================================
Vaadin is running in DEBUG MODE.
Add productionMode=true to web.xml to disable debug features.
To show debug window, add ?debug to your application URL.
=================================================================
2017-11-12 17:47:03.363 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Installed AtmosphereHandler com.vaadin.server.communication.PushAtmosphereHandler mapped to context-path: /*
2017-11-12 17:47:03.364 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Installed the following AtmosphereInterceptor mapped to AtmosphereHandler com.vaadin.server.communication.PushAtmosphereHandler
2017-11-12 17:47:03.371 INFO  [localhost-startStop-1] org.atmosphere.util.IOUtils - META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader
2017-11-12 17:47:03.407 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Atmosphere is using org.atmosphere.util.VoidAnnotationProcessor for processing annotation
2017-11-12 17:47:03.429 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol 
2017-11-12 17:47:03.461 INFO  [localhost-startStop-1] org.atmosphere.container.JSR356AsyncSupport - JSR 356 Mapping path /{path}
2017-11-12 17:47:03.480 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Installing Default AtmosphereInterceptors
2017-11-12 17:47:03.481 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework -         org.atmosphere.interceptor.CorsInterceptor : CORS Interceptor Support
2017-11-12 17:47:03.481 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework -         org.atmosphere.interceptor.CacheHeadersInterceptor : Default Response's Headers Interceptor
2017-11-12 17:47:03.483 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework -         org.atmosphere.interceptor.PaddingAtmosphereInterceptor : Browser Padding Interceptor Support
2017-11-12 17:47:03.483 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework -         org.atmosphere.interceptor.AndroidAtmosphereInterceptor : Android Interceptor Support
2017-11-12 17:47:03.483 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Dropping Interceptor org.atmosphere.interceptor.HeartbeatInterceptor
2017-11-12 17:47:03.483 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework -         org.atmosphere.interceptor.SSEAtmosphereInterceptor : SSE Interceptor Support
2017-11-12 17:47:03.484 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework -         org.atmosphere.interceptor.JSONPAtmosphereInterceptor : JSONP Interceptor Support
2017-11-12 17:47:03.486 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework -         org.atmosphere.interceptor.JavaScriptProtocol : Atmosphere JavaScript Protocol
2017-11-12 17:47:03.486 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework -         org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor : org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor
2017-11-12 17:47:03.486 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework -         org.atmosphere.interceptor.OnDisconnectInterceptor : Browser disconnection detection
2017-11-12 17:47:03.487 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework -         org.atmosphere.interceptor.IdleResourceInterceptor : org.atmosphere.interceptor.IdleResourceInterceptor
2017-11-12 17:47:03.487 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults to disable them.
2017-11-12 17:47:03.502 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Using EndpointMapper class org.atmosphere.util.DefaultEndpointMapper
2017-11-12 17:47:03.502 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Using BroadcasterCache: org.atmosphere.cache.UUIDBroadcasterCache
2017-11-12 17:47:03.502 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Default Broadcaster Class: org.atmosphere.cpr.DefaultBroadcaster
2017-11-12 17:47:03.502 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Broadcaster Polling Wait Time 100
2017-11-12 17:47:03.502 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Shared ExecutorService supported: true
2017-11-12 17:47:03.503 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Messaging Thread Pool Size: Unlimited
2017-11-12 17:47:03.503 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Async I/O Thread Pool Size: 200
2017-11-12 17:47:03.503 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
2017-11-12 17:47:03.503 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
2017-11-12 17:47:03.510 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Invoke AtmosphereInterceptor on WebSocket message true
2017-11-12 17:47:03.510 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - HttpSession supported: true

remaining part of the exception

    2017-11-12 17:47:03.510 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Atmosphere is using DefaultAtmosphereObjectFactory for dependency injection and object creation
2017-11-12 17:47:03.510 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Atmosphere is using async support: org.atmosphere.container.JSR356AsyncSupport running under container: Apache Tomcat/8.5.16 using javax.servlet/3.0 and jsr356/WebSocket API
2017-11-12 17:47:03.510 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Atmosphere Framework 2.2.9.vaadin2.cuba1 started.
2017-11-12 17:47:03.516 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Installed AtmosphereInterceptor  Track Message Size Interceptor using | with priority BEFORE_DEFAULT 
Nov 12, 2017 5:47:03 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'dispatcher'
2017-11-12 17:47:03.539 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.singleapp.SingleAppDispatcherServlet - FrameworkServlet 'dispatcher': initialization started
2017-11-12 17:47:03.541 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.singleapp.SingleAppDispatcherServlet$1 - Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Sun Nov 12 17:47:03 UTC 2017]; parent: com.haulmont.cuba.web.sys.singleapp.SingleAppWebContextLoader$1@27fdb1b3
2017-11-12 17:47:04.046 DEBUG [localhost-startStop-1] org.jboss.logging - Logging Provider: org.jboss.logging.Slf4jLoggerProvider
2017-11-12 17:47:04.860 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.singleapp.SingleAppDispatcherServlet - FrameworkServlet 'dispatcher': initialization completed in 1321 ms
2017-11-12 17:47:04.861 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Initializing servlet 'rest_api'
Nov 12, 2017 5:47:04 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'rest_api'
2017-11-12 17:47:04.876 INFO  [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - FrameworkServlet 'rest_api': initialization started
2017-11-12 17:47:04.876 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Servlet with name 'rest_api' will try to create custom WebApplicationContext context of class 'com.haulmont.cuba.core.sys.CubaXmlWebApplicationContext', using parent context [com.haulmont.cuba.web.sys.singleapp.SingleAppWebContextLoader$1@27fdb1b3: startup date [Sun Nov 12 17:46:59 UTC 2017]; root of context hierarchy]
2017-11-12 17:47:04.877 INFO  [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet$1 - Refreshing WebApplicationContext for namespace 'rest_api-servlet': startup date [Sun Nov 12 17:47:04 UTC 2017]; parent: com.haulmont.cuba.web.sys.singleapp.SingleAppWebContextLoader$1@27fdb1b3
2017-11-12 17:47:05.017 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet$1 - Bean factory for WebApplicationContext for namespace 'rest_api-servlet': com.haulmont.cuba.core.sys.CubaDefaultListableBeanFactory@5cc59ac5: defining beans [com.haulmont.cuba.core.sys.CubaPropertyPlaceholderConfigurer#0,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,standardEntityJsonTransformer,cuba_OauthTokenRevoker,cuba_RestServicesConfiguration,cuba_RestJsonTransformations,cuba_RestQueriesConfiguration,enumsController,messagesController,documentationController,healthCheckController,userInfoController,servicesController,fileUploadController,fileDownloadController,datatypesController,entitiesController,entitiesMetadataController,restControllerExceptionHandler,permissionsController,OAuthTokenController,queriesController,cuba_RestParseUtils,cuba_RestControllerUtils,idpAuthController,cuba_IdpAuthLifecycleManager,idpLogoutCallbackController,ldapAuthController,cuba_RestFilterParser,cuba_DatatypesControllerManager,cuba_ServicesControllerManager,cuba_EnumsControllerManager,cuba_PermissionsControllerManager,cuba_UserInfoControllerManager,cuba_QueriesControllerManager,cuba_EntitiesMetadataControllerManager,cuba_LocalizationControllerManager,cuba_EntitiesControllerManager,cuba_Events,mvcContentNegotiationManager,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping,mvcCorsConfigurations,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.validation.beanvalidation.OptionalValidatorFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter,mvcUriComponentsContributor,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,org.springframework.web.servlet.handler.MappedInterceptor#1,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.web.PortResolverImpl#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.web.context.NullSecurityContextRepository#0,org.springframework.security.web.savedrequest.NullRequestCache#0,org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0,org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser$DefaultWebSecurityExpressionHandlerBeanFactory#0,org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser$DefaultWebSecurityExpressionHandlerBeanFactory#0$created#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.userDetailsServiceFactory,org.springframework.security.web.DefaultSecurityFilterChain#0,clientAuthenticationEntryPoint,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,clientAuthenticationManager,clientDetailsUserDetailsService,clientDetailsService,oauthAuthorizationRequestManager,defaultOAuth2RequestValidator,oauth2TokenGranter,oauth2TokenEndpoint,oauth2HandlerMapping,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#1,userAuthenticationManager,userAuthenticationProvider,tokenEnhancer,tokenServices,tokenStore,cuba_ExternalOAuthTokenGranter,resourceFilter,org.springframework.security.web.PortMapperImpl#1,org.springframework.security.web.PortResolverImpl#1,org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0,org.springframework.security.authentication.ProviderManager#1,org.springframework.security.web.context.NullSecurityContextRepository#1,org.springframework.security.web.savedrequest.NullRequestCache#1,org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#1,org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser$DefaultWebSecurityExpressionHandlerBeanFactory#1,org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser$DefaultWebSecurityExpressionHandlerBeanFactory#1$created#0,org.springframework.security.access.vote.AffirmativeBased#1,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#1,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#1,org.springframework.security.authentication.AnonymousAuthenticationProvider#1,org.springframework.security.web.DefaultSecurityFilterChain#1,org.springframework.security.web.PortMapperImpl#2,org.springframework.security.web.PortResolverImpl#2,org.springframework.security.authentication.ProviderManager#2,org.springframework.security.web.context.NullSecurityContextRepository#2,org.springframework.security.web.savedrequest.NullRequestCache#2,org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#2,org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser$DefaultWebSecurityExpressionHandlerBeanFactory#2,org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser$DefaultWebSecurityExpressionHandlerBeanFactory#2$created#0,org.springframework.security.access.vote.AffirmativeBased#2,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#2,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#2,org.springframework.security.authentication.AnonymousAuthenticationProvider#2,org.springframework.security.web.DefaultSecurityFilterChain#2,org.springframework.security.web.PortMapperImpl#3,org.springframework.security.web.PortResolverImpl#3,org.springframework.security.authentication.ProviderManager#3,org.springframework.security.web.context.NullSecurityContextRepository#3,org.springframework.security.web.savedrequest.NullRequestCache#3,org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#3,org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser$DefaultWebSecurityExpressionHandlerBeanFactory#3,org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser$DefaultWebSecurityExpressionHandlerBeanFactory#3$created#0,org.springframework.security.access.vote.AffirmativeBased#3,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#3,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#3,org.springframework.security.authentication.AnonymousAuthenticationProvider#3,org.springframework.security.web.DefaultSecurityFilterChain#3,org.springframework.security.web.PortMapperImpl#4,org.springframework.security.web.PortResolverImpl#4,org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#1,org.springframework.security.authentication.ProviderManager#4,org.springframework.security.web.context.NullSecurityContextRepository#4,org.springframework.security.web.savedrequest.NullRequestCache#4,org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#4,org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser$DefaultWebSecurityExpressionHandlerBeanFactory#4,org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser$DefaultWebSecurityExpressionHandlerBeanFactory#4$created#0,org.springframework.security.access.vote.AffirmativeBased#4,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#4,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#4,org.springframework.security.web.DefaultSecurityFilterChain#4,cuba_AnonymousAuthenticationFilter,cuba_RestLastSecurityFilter,oauthAuthenticationEntryPoint,cuba_RestCorsSource,cuba_RestCorsConfig,multipartResolver]; parent: com.haulmont.cuba.core.sys.CubaDefaultListableBeanFactory@2b63612a
2017-11-12 17:47:05.177 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet$1 - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@197d6b51]
2017-11-12 17:47:05.177 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet$1 - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@19a118f]
2017-11-12 17:47:06.506 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet$1 - Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@75ac2ac9]
2017-11-12 17:47:06.507 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Using MultipartResolver [org.springframework.web.multipart.commons.CommonsMultipartResolver@378f379c]
2017-11-12 17:47:06.507 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Unable to locate LocaleResolver with name 'localeResolver': using default [org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver@3634b0ba]
2017-11-12 17:47:06.507 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Unable to locate ThemeResolver with name 'themeResolver': using default [org.springframework.web.servlet.theme.FixedThemeResolver@1d69977c]
2017-11-12 17:47:06.509 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Unable to locate RequestToViewNameTranslator with name 'viewNameTranslator': using default [org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@9071c7a]
2017-11-12 17:47:06.510 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - No ViewResolvers found in servlet 'rest_api': using default
2017-11-12 17:47:06.510 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Unable to locate FlashMapManager with name 'flashMapManager': using default [org.springframework.web.servlet.support.SessionFlashMapManager@3c622505]
2017-11-12 17:47:06.511 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Using MultipartResolver [org.springframework.web.multipart.commons.CommonsMultipartResolver@378f379c]
2017-11-12 17:47:06.511 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Unable to locate LocaleResolver with name 'localeResolver': using default [org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver@381cd96a]
2017-11-12 17:47:06.511 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Unable to locate ThemeResolver with name 'themeResolver': using default [org.springframework.web.servlet.theme.FixedThemeResolver@7faa24a7]
2017-11-12 17:47:06.513 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Unable to locate RequestToViewNameTranslator with name 'viewNameTranslator': using default [org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@22178621]
2017-11-12 17:47:06.513 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - No ViewResolvers found in servlet 'rest_api': using default
2017-11-12 17:47:06.513 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Unable to locate FlashMapManager with name 'flashMapManager': using default [org.springframework.web.servlet.support.SessionFlashMapManager@40b83fb5]
2017-11-12 17:47:06.514 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Published WebApplicationContext of servlet 'rest_api' as ServletContext attribute with name [org.springframework.web.servlet.FrameworkServlet.CONTEXT.rest_api]
2017-11-12 17:47:06.514 INFO  [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - FrameworkServlet 'rest_api': initialization completed in 1638 ms
2017-11-12 17:47:06.514 DEBUG [localhost-startStop-1] com.haulmont.restapi.sys.SingleAppRestApiServlet - Servlet 'rest_api' configured successfully
Nov 12, 2017 5:47:07 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
WARNING: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [540] milliseconds.
12-Nov-2017 17:47:07.078 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/tomcat/webapps/ROOT.war] has finished in [41,337] ms
12-Nov-2017 17:47:07.082 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-80"]
12-Nov-2017 17:47:07.090 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
12-Nov-2017 17:47:07.096 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
12-Nov-2017 17:47:07.098 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 41408 ms

Please do not paste logs into messages, use attachments. There are a couple of hints for you: Ответы на вопросы - CUBA.Platform

Hi Yuriy
Ok, will do. Sorry for any inconvenience.

Hi Yuriy @artamonov
I just have received response from mirhost cloud provider as below.

“To run a custom application requires cuba-studio and probably in default container with tomcat, cuba does not start. At least it needs openjfx.
CUBA Studio Installation: CUBA Studio Installation - CUBA Platform. Developer’s Manual
Try to install or upgrade CUBA.”

does it have dependency on openjfx to deploy? I am using the latest version of CUBA framework and studio.

Hi
I am having a bit hard time in cloud deployment after the war file has been exceeded the direct upload limit of 154 MB, would appreciate for your help @artamonov or any other CUBA fellow.

I worked with Mirhost technical team who installed openJFX and also deployed by app but no luck.

Here is what I did (did more than what I am supposed to…!!):

  1. Removed the ware file under distribution.
  2. Undeploy
  3. Deploy
  4. Deploy to Cloud
    When I tried to deploy to cloud, it threw exception after showing upload of 100% which might be normal as the war file is exceeding the limit for direct upload.

Then I uploaded the war file from distribution folder to my web server from where the technical team of Mirhost deployed it to my cloud environment. I still get the old version!! What could be the reason? Thanks for your help.

Mortoza

Hi,
It seems Mirhost people have something misunderstood.
Regarding the problem: I encountered the same NoClassDefFoundError when put several WARs with different names to webapps/. Check which files are there. Check which WARs are going to be deployed. Do not deploy several contexts to a single environment.
If the problem persists try to deploy the application to a brand new Jelastic environment.

Which version of JDK do you use in Cloud? At the moment of writing, CUBA supports java 8 and it seems your environment uses java 9. So the environment is incompatible.

Hi Rostislav
I am using JDK 8, I didn’t change any environment setting.

image

Moreover, deployment works. Even the the technical team themselves upload and deployed it and confirmed. and I can run the app but it always shows up the old version. It there anything with the war file build in the Studio which is generating always the old version?

Mortoza

It’s now resolved. …