Carsten Ziegeler wrote:
Reinhard Poetz schrieb:

[EMAIL PROTECTED] wrote:

Author: reinhard
Date: Thu May 18 04:32:59 2006
New Revision: 407533

URL: http://svn.apache.org/viewvc?rev=407533&view=rev
Log:
alter server version number to '2.2'; uncomment ParanoidCocoonServlet as it's 
not working ATM

no offense but the ParanoidCocoonServlet causes exceptions for me because of problems with changed method signatures. Carsten, did you check in all changes?


Yes and it did work for me; are you sure that you are using the version
build locally?
If you look here:
http://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-paranoid/cocoon-paranoid-impl/src/main/java/org/apache/cocoon/servlet/ParanoidCocoonServlet.java

you see that I changed the createClassLoader() method to be able to
instantiate a "normal" ParanoidClassLoader again.

I had similar problems with m2 and now I'm always doing a "clean
install" and most times remove my local repo as well.


Now I get a different error - see below. I guess this is some subtle difference between how "your" Maven is working compared to mine. It's so crazy. If two computers have installed Maven in the same version, this doesn't mean that our two installations are the same because of the always chainging Maven artifacts. My latest problem: Maven didn't accept my locally installed artifacts when the artifact graph was constructed. After deleting half a dozen Maven artifacts and downloading them again, it seems to work.

I don't want to say that I regret the move to M2 but I'm not convinced anymore that some design desicions of the Maven project are right :-/


Here the error:

Caused by: org.apache.maven.plugin.MojoExecutionException: Failure
        at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMo
jo.java:296)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.
java:242)
        at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRu
nMojo.java:122)
        at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:160
)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        ... 16 more
Caused by: javax.servlet.ServletException: Cannot load servlet org.apache.cocoon
.servlet.CocoonServlet
        at org.apache.cocoon.servlet.ParanoidCocoonServlet.init(ParanoidCocoonSe
rvlet.java:112)
        at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.jav
a:377)
        at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:23
4)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
37)
        at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.ja
va:565)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a:961)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
341)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:367
)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
37)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:101)
        at org.mortbay.jetty.Server.doStart(Server.java:235)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
37)
        at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.
java:114)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMo
jo.java:285)
        ... 21 more
Caused by: java.lang.ClassCastException
        at org.apache.cocoon.servlet.ParanoidCocoonServlet.init(ParanoidCocoonSe
rvlet.java:109)
        ... 34 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu May 18 17:16:34 GMT+01:00 2006
[INFO] Final Memory: 7M/14M
[INFO] ------------------------------------------------------------------------
1092 [Shutdown] INFO org.mortbay.log - Shutdown hook executing
1092 [Shutdown] INFO org.mortbay.log - Shutdown hook complete

--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                       web(log): http://www.poetz.cc
--------------------------------------------------------------------

        

        
                
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

Reply via email to