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

DSpace 6.0 Handle server not starting

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: configuration
    • Labels:
    • Environment:
      Ubuntu server 14.04
      OpenJDK 1.7
      Tomcat 7.0.52
      Postgresql 9.5
    • Attachments:
      0
    • Comments:
      16
    • Documentation Status:
      Not Required

      Description

      With a clean installation of DSpace 6.0rc2-snapshot and following this guide: https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-TheHandleServer

      The handle server won't start.

      It looks like the change of config files is somehow affecting "start-handle-server" script.
      For example it is not able to find the logging dir anymore.
      It does if we add in dspace.cfg:

      log.dir=/opt/dspace/log
      
      # All other log4j settings moved to config/log4j.properties
      
      

      The error is the following:

          java.lang.IllegalStateException: DSpace kernel cannot be null
          at org.dspace.utils.DSpace.getServiceManager(DSpace.java:63)
          at org.dspace.services.factory.DSpaceServicesFactory.getInstance(DSpaceServicesFactory.java:35)
          at org.dspace.handle.factory.HandleServiceFactory.getInstance(HandleServiceFactory.java:24)
          at org.dspace.handle.HandlePlugin.<init>(HandlePlugin.java:60)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
          at java.lang.Class.newInstance(Class.java:383)
          at net.handle.server.HandleStorageFactory.getStorage(HandleStorageFactory.java:64)
          at net.handle.server.HandleServer.<init>(HandleServer.java:562)
          at net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
          at net.handle.server.Main.initialize(Main.java:152)
          at net.handle.server.Main.main(Main.java:75)
      Shutting down...
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tdonohue Tim Donohue
                Reporter:
                eanasagasti Eneko Anasagasti
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: