Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2078

Missing DSpaceWebapp in dspace-oai module

    XMLWordPrintable

    Details

    • Attachments:
      1
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      In the web.xml of the oai webapp is the DSpaceContextListener as listener defined. This listener trys to create a DSpaceWebapp in package org.dspace.utils. But in oai there is no DSpaceWebapp. This leads to following errors in the tomcat logs.
      at contextInitialized: "Can't create webapp MBean"
      at contextDestroyed:
      Exception sending context destroyed event to listener instance of class org.dspace.app.util.DSpaceContextListener
      java.lang.NullPointerException
      at org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:146)
      at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5014)
      at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5659)
      at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
      at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
      at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)

      A simple solution would be to add the attached class DSpaceWebapp to org.dspace.utils in dspace-oai (like in JSPUI and XMLUI)

        Attachments

          Activity

            People

            Assignee:
            mwood Mark H. Wood
            Reporter:
            christian.scheible Christian Scheible
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: