[ http://jira.magnolia.info/browse/MAGNOLIA-1602?page=comments#action_14356
]
Tom Jensen commented on MAGNOLIA-1602:
--------------------------------------
This doesn't break the build but makes magnolia unusable. The exception that
happens on startup is:
INFO info.magnolia.cms.beans.config.ModuleRegistration
ModuleRegistration.java(readModuleDefinitions:150) 12.07.2007 11:59:49 Reading
module definition
INFO info.magnolia.cms.beans.config.ModuleRegistration
ModuleRegistration.java(readModuleDefinitions:165) 12.07.2007 11:59:49 Parsing
module file /META-INF/magnolia/admininterface.xml for module @
...\magnolia-3.1-SNAPSHOT\WEB-INF\lib\magnolia-module-admininterface-3.1-SNAPSHOT.jar
ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/magnolia-3.1-SNAPSHOT]
StandardContext.java(listenerStart:3768) 12.07.2007 11:59:49 Exception
sending context initialized event to listener instance of class
info.magnolia.cms.servlets.PropertyInitializer
info.magnolia.cms.beans.config.ConfigurationException: can't read the module
definition files.: null: null
at
info.magnolia.cms.beans.config.ModuleRegistration.readModuleDefinitions(ModuleRegistration.java:180)
at
info.magnolia.cms.beans.config.ModuleRegistration.init(ModuleRegistration.java:108)
at
info.magnolia.cms.beans.config.ModuleRegistration.getInstance(ModuleRegistration.java:82)
at
info.magnolia.cms.servlets.PropertyInitializer.loadModuleProperties(PropertyInitializer.java:198)
at
info.magnolia.cms.servlets.PropertyInitializer.contextInitialized(PropertyInitializer.java:174)
...
I poked around in the code and determined that the
i.m.cms.beans.config.ModuleRegistration was pointing to the module.dtd in the
old place it used to be (/info/magnolia/cms/module/module.dtd). So I repointed
to the correct place (/info/magnolia/module/model/module.dtd), rebuilt and
fired it up again. The exception I got on startup this time was:
INFO info.magnolia.cms.beans.config.ModuleRegistration
ModuleRegistration.java(readModuleDefinitions:150) 12.07.2007 12:14:20 Reading
module definition
INFO info.magnolia.cms.beans.config.ModuleRegistration
ModuleRegistration.java(readModuleDefinitions:165) 12.07.2007 12:14:20 Parsing
module file /META-INF/magnolia/admininterface.xml for module @
...\magnolia-3.1-SNAPSHOT\WEB-INF\lib\magnolia-module-admininterface-3.1-SNAPSHOT.jar
ERROR org.apache.commons.digester.Digester Digester.java(error:1538)
12.07.2007 12:14:21 Parse Error at line 9 column 10: The content of element
type "module" must match
"(name,(displayName|display-name)?,description?,class,versionHandler,version,properties?,dependencies?,servlets?,repositories?)".
org.xml.sax.SAXParseException: The content of element type "module" must match
"(name,(displayName|display-name)?,description?,class,versionHandler,version,properties?,dependencies?,servlets?,repositories?)".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1685)
at
info.magnolia.module.BetwixtModuleDefinitionReader.read(BetwixtModuleDefinitionReader.java:62)
at
info.magnolia.cms.beans.config.ModuleRegistration.readModuleDefinitions(ModuleRegistration.java:169)
at
info.magnolia.cms.beans.config.ModuleRegistration.init(ModuleRegistration.java:108)
at
info.magnolia.cms.beans.config.ModuleRegistration.getInstance(ModuleRegistration.java:82)
at
info.magnolia.cms.servlets.PropertyInitializer.loadModuleProperties(PropertyInitializer.java:198)
at
info.magnolia.cms.servlets.PropertyInitializer.contextInitialized(PropertyInitializer.java:174)
...
Rather than trying to track down how to fix this I thought I'd just make this
comment and defer it to whomever worked on this and might know more quickly
than I how to fix.
> Update mechanism
> ----------------
>
> Key: MAGNOLIA-1602
> URL: http://jira.magnolia.info/browse/MAGNOLIA-1602
> Project: Magnolia
> Issue Type: New Feature
> Components: core
> Reporter: Grégory Joseph
> Assigned To: Grégory Joseph
> Fix For: 3.1 M2
>
>
> We had some brainstorming sessions today about the update mechanism that will
> be part of Magnolia 3.1.
> We put our ideas down in mindmaps. While that format might not be ideal to
> read for someone who did not participate in the meetings, we also see it as a
> good compromise between ease of creation, maintenance and usefulness, as
> opposed to long-ish spec-ish text documents. We'll be happy to provide info
> or clarify points that are not clear by themselves, and/or discuss any of
> them.
> The first one is an attempt to list all the problems to solve and features
> we'd like to see in there:
> http://www.mind42.com/pub/mindmap?mid=fd256f03-1679-4b9a-a788-b768bb2b2a04
> The seconds focuses more on technical or practical aspects, with some
> decisions being taken or viewpoints being adopted:
> http://www.mind42.com/pub/mindmap?mid=8f526afb-f339-4884-9a47-f9207e80704b
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------