Page 1 of 1

Web Author Component 23.1.1.0 fails to start up in Websphere Traditional

Posted: Thu Nov 04, 2021 11:14 pm
by david.badger
Hello,

We have been using the Web Author Component 22.1 in Websphere Traditional 8.5.5.16 for some time. When attempting to run 23.1.1 in the same environment, we get the following exceptions on startup, and the Web Author application / admin fails to load:

Code: Select all

CWNEN0047W: Resource annotations on the fields of the ro.sync.servlet.StartupServlet class will be ignored. The annotations could not be obtained because of the exception : java.lang.NoClassDefFoundError: javax.websocket.DeploymentException
	at java.lang.J9VMInternals.prepareClassImpl(Native Method)
	at java.lang.J9VMInternals.prepare(J9VMInternals.java:304)
	at java.lang.Class.getDeclaredFields(Class.java:866)
	at com.ibm.wsspi.injectionengine.InjectionProcessor.getAllDeclaredFields(InjectionProcessor.java:548)
	at com.ibm.wsspi.injectionengine.InjectionProcessor.processAllAnnotations(InjectionProcessor.java:716)
	at com.ibm.wsspi.injectionengine.InjectionProcessorContextImpl.processAllAnnotations(InjectionProcessorContextImpl.java:61)
	at com.ibm.ws.injectionengine.AbstractInjectionEngine.processAnnotations(AbstractInjectionEngine.java:741)
	at com.ibm.ws.injectionengine.AbstractInjectionEngine.processInjectionMetaData(AbstractInjectionEngine.java:561)
	at com.ibm.ws.injectionengine.SharedInjectionEngineImpl.processInjectionMetaData(SharedInjectionEngineImpl.java:229)
	at com.ibm.ws.injectionengine.ReferenceContextImpl.processImpl(ReferenceContextImpl.java:793)
	at com.ibm.ws.injectionengine.ReferenceContextImpl.process(ReferenceContextImpl.java:394)
	at com.ibm.ws.webcontainer.webapp.WebAppImpl.populateJavaNameSpace(WebAppImpl.java:1378)
	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:329)
	at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
	at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:171)
	at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
	at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
	at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
	at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1211)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1462)
	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:641)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:1040)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:795)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2279)
	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5572)
	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5698)
	at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2284)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:436)
	at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:379)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:127)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:985)
	at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:524)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Caused by: java.lang.ClassNotFoundException: javax.websocket.DeploymentException
	at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
	at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:244)
	at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:937)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:882)
	at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:135)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
	at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
	at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
	at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:587)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
	at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:619)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
	... 36 more
And when attempting to load the admin page:

Code: Select all

FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\IBM\WebSphere\AppServer\profiles\AppSrv1\logs\ffdc\server1_99529f74_21.11.04_14.44.27.0412810313010820687925.txt com.ibm.ws.management.AdminServiceImpl.invoke 679
[11/4/21 14:45:24:260 EDT] 000000c0 ServerCache   I   DYNA1001I: WebSphere Dynamic Cache instance named ws/WSSecureMapNotShared initialized successfully.
[11/4/21 14:45:24:261 EDT] 000000c0 ServerCache   I   DYNA1071I: The cache provider "default" is being used.
[11/4/21 14:45:25:231 EDT] 000000c0 authz         I   CWWIM2000I Initialization of the authorization component completed successfully.
[11/4/21 14:45:25:377 EDT] 000000c0 ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service Uncaught service() exception thrown by servlet Resteasy: java.lang.NoClassDefFoundError: javax.servlet.WriteListener
	at java.lang.ClassLoader.defineClassImpl(Native Method)
	at java.lang.ClassLoader.defineClassInternal(ClassLoader.java:391)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:360)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:154)
	at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:858)
	at com.ibm.ws.classloader.CompoundClassLoader.localFindClass(CompoundClassLoader.java:766)
	at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:607)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
	at org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher.createServletResponse(HttpServlet30Dispatcher.java:39)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.createResteasyHttpResponse(HttpServletDispatcher.java:71)
	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:237)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:60)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4047)
	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1016)
	at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:213)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Caused by: java.lang.ClassNotFoundException: javax.servlet.WriteListener
	at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
	at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:244)
	at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:937)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:882)
	at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:135)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
	at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
	at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
	at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:587)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
	at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:619)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
	... 39 more
Is there some missing dependency or incompatibility with WebSphere 8.5.5.16 and the Author Component 23.x? The same issue occurs when attempting to run version 24.0.

Thanks.

Re: Web Author Component 23.1.1.0 fails to start up in Websphere Traditional

Posted: Fri Nov 05, 2021 3:55 pm
by cristi_talau
Hello,

We tried to reproduce the problem and in our deployment Web Author Component started in WAS 9.0.5.8 and we could not reproduce the problems you noticed.

I would suggest several alternatives:
  • Try to use another web server such as Tomcat or even WebShpere liberty. Our recent concurrent editing function does not work in WAS Traditional and we plan to deprecate the support for WAS Traditional. Do you think you will be able to make the switch?
  • If you cannot make the switch, try to use a newer version of WAS. We officially support IBM WebSphere (Traditional) 9.0.0.6, but we tested it with 9.0.5.8 and it worked.
  • Please make sure that you follow this procedure [1] , especially the part about parent-last classloader.
Best,
Cristian

[1] https://www.oxygenxml.com/doc/versions/ ... orial.html

Re: Web Author Component 23.1.1.0 fails to start up in Websphere Traditional

Posted: Fri Nov 05, 2021 6:54 pm
by david.badger
Thanks for the information. Unfortunately upgrading WAS or switching software is not currently an option.

Is there an official list of supported WAS versions by Web Author release? Having that information would be really helpful.

Thanks again,

Dave

Re: Web Author Component 23.1.1.0 fails to start up in Websphere Traditional

Posted: Fri Nov 05, 2021 8:24 pm
by cristi_talau
Hello,

Here is documented the supported version of WAS for version 23.1.1: https://www.oxygenxml.com/doc/versions/ ... fq_dgk_54b .

Best,
Cristian