cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Refondini <patrick.refond...@pobox.com>
Subject Cocoon 2.2 - recent change - how to run block for development
Date Thu, 23 Nov 2006 18:53:18 GMT
Hi,

Is there a new way to run blocks for development ? Currently I follow 
what's documented at:

http://cocoon.zones.apache.org/daisy/documentation/g1/1159.html


Using Cocoon 2.2 for developping blocks I was accustomed to:

mvn package
mvn jetty6:run

I recently (now ;) ) successfully rebuilt trunk and used 
1.0.0-M4-SNAPSHOT block archetype to build a fresh block:

org.apache.cocoon.maven.deployer.servlet.ShieldingListener
seems to have been removed leading to:

[INFO] Started configuring web.xml, resource 
base=/Users/patrick/dev/c22/testblock/target/testblock-1.0-SNAPSHOT
923 [main] WARN org.mortbay.log - Could not instantiate listener 
org.apache.cocoon.maven.deployer.servlet.ShieldingListener
java.lang.ClassNotFoundException: 
org.apache.cocoon.maven.deployer.servlet.ShieldingListener

         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
(...)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] Finished configuring web.xml
995 [main] WARN org.mortbay.log - failed CocoonDebugFilter
996 [main] WARN org.mortbay.log - failed 
ContextHandler@dc28b2{/,file:/Users/patrick/dev/c22/testblock/target/testblock-1.0-SNAPSHOT/}
1080 [main] INFO org.mortbay.log - Started SelectChannelConnector @ 
0.0.0.0:8888
1081 [main] WARN org.mortbay.log - failed Server@735aa1
[INFO] Jetty server exiting.
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Failure

Embedded error: 
org.apache.cocoon.maven.deployer.servlet.ShieldingServletFilter


While running:
mvn jetty6:run



Thanks for any hint,


Patrick





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message