Content Management and Capture

 View Only
  • 1.  ICN Plugin UpdateObjectTypeServlet incompatible with java.util.EventListener

    Posted Mon July 15, 2024 12:36 PM

    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
    ------------------------------


  • 2.  RE: ICN Plugin UpdateObjectTypeServlet incompatible with java.util.EventListener

    Posted Mon July 22, 2024 12:41 PM

    hello Vicky,

    Can you please post the stack trace for the error?



    ------------------------------
    Nanda Pilaka
    IBM Content Navigator Support
    ------------------------------



  • 3.  RE: ICN Plugin UpdateObjectTypeServlet incompatible with java.util.EventListener

    Posted Wed July 24, 2024 01:32 PM

    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
    ------------------------------



  • 4.  RE: ICN Plugin UpdateObjectTypeServlet incompatible with java.util.EventListener

    Posted Thu August 01, 2024 12:41 PM

    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
    ------------------------------