cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agsoftware.dnsalias.com>
Subject Re: The new build system
Date Sat, 22 Feb 2003 02:56:26 GMT
David Crossley dijo:
> Antonio Gallardo wrote:
> <snip/>
>> Sorry, but I have another problem (see below).
>
> Thanks Antonio, i just fixed the broken xml comments
> in cocoon.xconf ... so now you can proceed with
> testing the new build system.
>
> It finally compiles the webapp, so i am off to do
> 'build run'.
> --David

The best of Cocoon Comunity is the 24 hours support! This is great! Thanks
David for fix the bug!

By the way, now a after the "./build.sh clean", a full build takes just 1
min 39 secs! This is amazing!

Thanks Stefano again! And thanks to people that switched Cocoon from the
fat Tomcat to the slim Jetty! I think I will throw the Tomcat book I buyed
;-)

Best Regards,

Antonio Gallardo

P.S: I finally can build the cocoon. Now the problem is when I launch:

./build.sh run

jetty starts, but when I point the browser to http://locahost:8888/ (as
Stefano suggested) I got:

Not allowed to define mixed content in the element cocoon at
file:/home/agallardo/CVS/cocoon/xml-cocoon2/build/cocoon-2.1-dev/webapp/WEB-INF/cocoon.xconf:3:23

The error.log is:

ERROR   (2003-02-21) 20:47.03:961   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: Exception reloading
org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load configurations
	at org.apache.cocoon.Cocoon.configure(Cocoon.java:366)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:285)
	at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1313)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:505)
	at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219)
	at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:436)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
	at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:490)
	at org.mortbay.http.HttpServer.start(HttpServer.java:647)
	at org.mortbay.jetty.Server.main(Server.java:411)
Caused by: org.xml.sax.SAXException: Not allowed to define mixed content
in the element cocoon at
file:/home/agallardo/CVS/cocoon/xml-cocoon2/build/cocoon-2.1-dev/webapp/WEB-INF/cocoon.xconf:3:23
	at
org.apache.avalon.framework.configuration.SAXConfigurationHandler.endElement(SAXConfigurationHandler.java:136)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)
	at
org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:898)
	at
org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:644)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1008)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
	at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
	at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
	at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
	at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:254)
	at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:273)
	at org.apache.cocoon.Cocoon.configure(Cocoon.java:363)
	... 9 more





Mime
View raw message