Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3916

Magnolia 4.5 resources exception during startup on Jboss

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 4.5
    • 4.5
    • core
    • None
    • Jboss AS 5.1 / 6.1

    Description

      During Magnolia startUp, the application is not deployed due to the following exception:

      2011-12-12 10:38:30,888 INFO [STDOUT] (main) 2011-12-12 10:38:30,887 WARN info.magnolia.cms.util.ClasspathResourcesUtil : Looks like we're in a JBoss 5 expanded war directory, will attempt to load resources from the file system instead; see MAGNOLIA-2577.
      2011-12-12 10:38:31,149 INFO [STDOUT] (main) 2011-12-12 10:38:31,125 ERROR info.magnolia.init.MagnoliaServletContextListener : Oops, Magnolia could not be started
      java.lang.NullPointerException
      at java.io.File.<init>(File.java:222)
      at info.magnolia.cms.core.Path.getAppRootDir(Path.java:125)
      at info.magnolia.cms.core.Path.getAbsoluteFileSystemPath(Path.java:155)
      at info.magnolia.cms.util.ClasspathResourcesUtil.collectFromFileSystem(ClasspathResourcesUtil.java:180)
      at info.magnolia.cms.util.ClasspathResourcesUtil.findResources(ClasspathResourcesUtil.java:156)
      at info.magnolia.module.model.reader.BetwixtModuleDefinitionReader.findModuleDescriptors(BetwixtModuleDefinitionReader.java:115)
      at info.magnolia.module.model.reader.BetwixtModuleDefinitionReader.readAll(BetwixtModuleDefinitionReader.java:104)
      at info.magnolia.module.ModuleManagerImpl.loadDefinitions(ModuleManagerImpl.java:144)
      at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:178)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              ehechinger Eric Hechinger
              ehechinger Eric Hechinger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD