cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fagerstrom <dani...@nada.kth.se>
Subject Re: [M10N] cocoon-webapp
Date Sun, 08 Jan 2006 10:22:23 GMT
Jorg Heymans skrev:
...
> yes, the jetty6 plugin insists on target/classes. Cocoon still refuses
> to start however, i got exactly the same problem. I then tried to mount
> the webapp under jetty6 (not the plugin) and found that cocoon needs a
> property set for a temporary webapp dir of some sort.
> 
> 
> <Item>
>   <New id="testWebAppContext"
> class="org.mortbay.jetty.webapp.WebAppContext">
>   <Set name="Server"><Ref id="Server"/></Set>
>   <Set name="contextPath">/cocoon</Set>
>   <Set
> name="war">/Users/jheymans/src/cocoon-trunk/webapp/src/main/webapp</Set>
>   <Set name="tempDirectory">./target</Set>
>   </New>
> </Item>
> 
> 
> this makes cocoon run under jetty6. I raised the issue on the jetty
> support list [1].
> 
> If you mount the webapp from jetty4 or 5 it works without problems.
> 
> 
> Regards
> Jorg
> 
> [1] http://thread.gmane.org/gmane.comp.java.jetty.support/7728
> 

So, we have to wait for some more features for the Jetty plugin. I made 
./cocoon.sh use the webapp from mvn war:inplace so that we have 
something that is easy to use.

/Daniel

Mime
View raw message