I can deploy my Vaadin Flow .war with Jetty or Jetty Runner but when I try to deploy it to WebSphere 8.5.5.9 I am getting errors…
Vaadin Flow only needs minimum Servlet 3.0 and JDK 8 right?
I checked metadata-complete when deploying the war file in WAS console.
trace.log (attempting to start the web application twice, second time has class loading order changed so parent is last)
[4/12/18 19:46:33:372 UTC]
00000109 AdminHelper A ADMN1008I: An attempt is made to start the masterui-1_0_0a_war application. (User ID = defaultWIMFileBasedRealm/wasadmin)
[4/12/18 19:46:33:383 UTC]
00000109 CompositionUn A WSVR0190I: Starting composition unit WebSphere:cuname=masterui-1_0_0a_war in BLA WebSphere:blaname=masterui-1_0_0a_war.
[4/12/18 19:46:33:444 UTC]
00000109 ApplicationMg A WSVR0200I: Starting application: masterui-1_0_0a_war
[4/12/18 19:46:33:444 UTC]
00000109 ApplicationMg A WSVR0203I: Application: masterui-1_0_0a_war Application build level: 1.0.0a
[4/12/18 19:46:33:507 UTC]
00000109 SibMessage I [:]
CWSID0017I: Configuration reload is starting for bus MDM.SIB.op-server1.
[4/12/18 19:46:33:510 UTC]
00000109 SibMessage I [:]
CWSID0018I: Configuration reload is complete for bus MDM.SIB.op-server1.
[4/12/18 19:46:33:511 UTC]
00000109 SibMessage I [:]
CWSID0019I: Configuration reload is starting for messaging engine MdmNode01.op-server1-MDM.SIB.op-server1.
[4/12/18 19:46:33:518 UTC]
00000109 SibMessage I [:]
CWSID0020I: Configuration reload is complete for messaging engine MdmNode01.op-server1-MDM.SIB.op-server1.
[4/12/18 19:46:33:540 UTC]
00000d3b FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\IBM\WebSphere\AppServer\profiles\MdmAppSrv01\logs\ffdc\op-server1_7840e269_18.04.12_19.46.33.5252433143390687983372.txt com.ibm.ws.management.event.NotificationDispatcher.run 219
[4/12/18 19:46:34:431 UTC]
00000109 webapp I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: masterui-1.0.0a.war.
[4/12/18 19:46:34:439 UTC]
00000109 WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key default_host/imt
[4/12/18 19:46:50:961 UTC]
00000109 webapp I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message - [masterui-1_0_0a_war#masterui-1.0.0a.war]
:.Initializing AtmosphereFramework
[4/12/18 19:46:50:966 UTC]
00000109 webapp W com.ibm.ws.webcontainer.webapp.WebAppImpl initializeServletContainerInitializers exception.occurred.while.running.ServletContainerInitializers.onStartup
[4/12/18 19:46:51:011 UTC]
00000109 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\IBM\WebSphere\AppServer\profiles\MdmAppSrv01\logs\ffdc\op-server1_1508b684_18.04.12_19.46.51.0067008499503324464843.txt com.ibm.ws.webcontainer.webapp.WebGroup 131
[4/12/18 19:46:51:015 UTC]
00000109 webapp E com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0015E: Failure to initialize Web application masterui-1.0.0a.war
[4/12/18 19:46:51:025 UTC]
00000109 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\IBM\WebSphere\AppServer\profiles\MdmAppSrv01\logs\ffdc\op-server1_1508b684_18.04.12_19.46.51.0164848662029229174610.txt com.ibm.ws.webcontainer.WebContainer 736
[4/12/18 19:46:51:032 UTC]
00000109 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\IBM\WebSphere\AppServer\profiles\MdmAppSrv01\logs\ffdc\op-server1_1508b684_18.04.12_19.46.51.0252592136961925854831.txt com.ibm.ws.runtime.component.WebContainerImpl.install 124
[4/12/18 19:46:51:040 UTC]
00000109 DeployedAppli W WSVR0206E: Module, masterui-1.0.0a.war, of application, masterui-1_0_0a_war.ear/deployments/masterui-1_0_0a_war, failed to start
[4/12/18 19:46:51:045 UTC]
00000109 ApplicationMg W WSVR0101W: An error occurred starting, masterui-1_0_0a_war
[4/12/18 19:46:51:045 UTC]
00000109 ApplicationMg A WSVR0217I: Stopping application: masterui-1_0_0a_war
[4/12/18 19:46:51:068 UTC]
00000109 ApplicationMg A WSVR0220I: Application stopped: masterui-1_0_0a_war
[4/12/18 19:46:51:121 UTC]
00000109 CompositionUn E WSVR0194E: Composition unit WebSphere:cuname=masterui-1_0_0a_war in BLA WebSphere:blaname=masterui-1_0_0a_war failed to start.
Digging through the FFDC logs I found one that may be a suspect…
[4/12/18 19:46:51:007 UTC]
FFDC Exception:java.lang.NullPointerException SourceId:com.ibm.ws.webcontainer.webapp.WebGroup ProbeId:131 Reporter:com.ibm.ws.webcontainer.webapp.WebGroupImpl@2a6cc3b3
java.lang.NullPointerException
at com.vaadin.flow.server.startup.AbstractRouteRegistryInitializer.validateRouteAnnotation(AbstractRouteRegistryInitializer.java:184)
at com.vaadin.flow.server.startup.AbstractRouteRegistryInitializer.lambda$checkForConflictingAnnotations$1(AbstractRouteRegistryInitializer.java:93)
at com.vaadin.flow.server.startup.AbstractRouteRegistryInitializer$$Lambda$26.000000005A20E850.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:959)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:591)
at com.vaadin.flow.server.startup.AbstractRouteRegistryInitializer.checkForConflictingAnnotations(AbstractRouteRegistryInitializer.java:89)
at com.vaadin.flow.server.startup.AbstractRouteRegistryInitializer$$Lambda$20.00000000556BA280.accept(Unknown Source)
...
Right now I’ve ran out of ideas to try.