Re: "app-register" configuration file's error
"Shash Chatterjee" <[email protected]>
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <[email protected]> |
I have run into this in the last few days, this is a problem on Windows with
Ant parallel tasks. What happens is the meta-generation tasks quits
unexpectedly and leaves a half-generated XML config file as a result. Make
sure you do an "ant clean", set the ant.thread.count property in
ant.properties to 1. Also, make sure you have ANT_OPTS=-Xmx256m or something
like that defined. Watch out for any kind of Out of Memory errors in the Ant
output.
HTH,
Shash
> Hello,
>
> I've built keel in "nojms-cocoon-deploy" regime and after tomcat
> started I have the following message
>
> Fatal Error at Line 8, column 1 in file:///F:/java/keel/keel-build/deploy/jakart
> a-tomcat-4.1.30/webapps/cocoon/WEB-INF/keel/server/conf/app-register/ChangePassw
> ord-model-system.xconf
> org.xml.sax.SAXParseException: XML document structures must start
> and end within the same entity. at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
> rorHandlerWrapper.java:232)
> at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWra
> pper.java:213)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
> java:366)
>
> The file "ChangePassword-model-system.xconf" in the module
> "app-register" in the folder ${keel}\app-register\conf\server\is not
> well-formed and has the following content (the "keel" root element
> and "register.change-password" element are unclosed):
>
> <keel>
> <register.change-password
> id="register.change-password"
> activation="request"
> logger="register">
>
> After closing "keel" and "register.change-password" elements
> application works normally.
>
> --
> Best regards,
> Peter Velychko
> [email protected]
>
> _______________________________________________
> User mailing list
> [email protected]
> http://lists.keelframework.org/listinfo.cgi/user-keelframework.org