Closed GoogleCodeExporter closed 9 years ago
When trying to access SWF files, I get a cocoon (ResourceNotFound) exception.
I was able to edit the webapp/sitemap.xmap file to recognise .swf and .mp4
files.
However, for the 100MB mp4 file, I got an out of memory message.
Anyway, it makes sense not to use cocoon at all for this (because we only want
to
serve static content).
This can be done by editing the web.xml file as follows:
<servlet>
<servlet-name>static</servlet-name>
<servlet-class>org.mortbay.jetty.servlet.Default</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>static</servlet-name>
<url-pattern>*.swf</url-pattern>
</servlet-mapping>
...plus further entries for .mp4, .mp3, .aac etc
Original comment by mjc1...@gmail.com
on 19 Feb 2009 at 9:43
Fixed in r181.
Original comment by mjc1...@gmail.com
on 19 Feb 2009 at 10:05
Original issue reported on code.google.com by
mjc1...@gmail.com
on 19 Feb 2009 at 9:38