Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-4084

JBoss agent fails to install on AS 7.0.0.Final due to incorrect module namespace version

    XMLWordPrintable

    Details

    • Rank:
      1|hzohdj:

      Description

      The module currently uses xmlns="urn:jboss:module:1.1" namespace, however JBoss 7.0.0.Final does not support that version of the module system yet. In order to make the JBoss v7 agent compatible with older versions the module.xml should be modified to reference the 1.0 schema instead (the actual content of the XML does not have to change, only the namespace should be modified).
      An example stacktrace from JBoss would look like:

      Caused by: org.jboss.modules.ModuleLoadException: Error loading module from /Users/aldaris/jboss7/modules/org/forgerock/openam/agent/main/module.xml 
      at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:249) 
      at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:200) 
      at org.jboss.modules.LocalModuleLoader.parseModuleInfoFile(LocalModuleLoader.java:147) 
      at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:124) 
      at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:245) 
      at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:194) 
      at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:97) 
      at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:176) 
      at org.jboss.modules.Module.linkImports(Module.java:1039) 
      at org.jboss.modules.Module.relink(Module.java:1151) 
      at org.jboss.modules.ModuleLoader.relink(ModuleLoader.java:400) 
      at org.jboss.as.server.moduleservice.ServiceModuleLoader.relinkModule(ServiceModuleLoader.java:204) 
      at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:64) 
      ... 5 more 
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,72] 
      Message: Unexpected content of type 'element start' named '{urn:jboss:module:1.1}module' 
      at org.jboss.modules.ModuleXmlParser.unexpectedContent(ModuleXmlParser.java:312) 
      at org.jboss.modules.ModuleXmlParser.parseDocument(ModuleXmlParser.java:503) 
      at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:244) 
      ... 17 more
      

        Attachments

          Activity

            People

            markdr Mark de Reeper
            peter.major Peter Major [X] (Inactive)
            Filip Kubáň [X] Filip Kubáň [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: