The stack indicates a programming error than an ICN issue. Testing with upgraded Java may help provide more clues.
------------------------------
Nanda Pilaka
IBM Content Navigator Support
------------------------------
Original Message:
Sent: Tue July 23, 2024 03:41 PM
From: Jayem Nolan
Subject: ICN Plugin UpdateObjectTypeServlet incompatible with java.util.EventListener
Here is the stack error.
[7/23/24 15:39:21:315 EDT] 0000007f webapp E com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet Error]-[Failed to load listener: UpdateObjectTypeServlet]: java.lang.ClassCastException: UpdateObjectTypeServlet incompatible with java.util.EventListener
at com.ibm.ws.webcontainer.managedobject.ManagedObjectListenerWrapper.<init>(ManagedObjectListenerWrapper.java:51)
at com.ibm.ws.webcontainer.webapp.WebApp.loadListener(WebApp.java:1790)
at com.ibm.ws.webcontainer.webapp.WebApp.loadLifecycleListeners(WebApp.java:1648)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:441)
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:1249)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1591)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:720)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:1162)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:801)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2325)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5568)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5694)
at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2330)
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:1909)
------------------------------
Jayem Nolan
Original Message:
Sent: Mon July 22, 2024 12:40 PM
From: Nanda Pilaka
Subject: ICN Plugin UpdateObjectTypeServlet incompatible with java.util.EventListener
hello Vicky,
Can you please post the stack trace for the error?
------------------------------
Nanda Pilaka
IBM Content Navigator Support
Original Message:
Sent: Mon July 15, 2024 09:47 AM
From: Vicky Zheng
Subject: ICN Plugin UpdateObjectTypeServlet incompatible with java.util.EventListener
Hello,
We have developed the ICN external plugin and the plugin was working fine until recently upgrade. We have done WAS upgrade to V9.0 and ICN version upgrade to V8.7. The plugin was recompiled with new library WAS V9.0 and deployed to WAS successful. The plugin started successful. However we found one error message in ICN system log and the plugin didn't work due to it. The error message is "com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet Error]-[Failed to load listener: UpdateObjectTypeServlet]: java.lang.ClassCastException: UpdateObjectTypeServlet incompatible with java.util.EventListener". The java version is 1.8.0_371, java run time version =8.0.8.5 which is same as before upgrade. Any suggestion please?
------------------------------
Vicky Zheng
------------------------------