cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject JCI NoSuchMethod in trunk
Date Mon, 26 Sep 2005 12:55:04 GMT
I've just done SVN up, done m2 -Dmaven.test.skip=true install

Then, I patched cocoon.sh:

Index: cocoon.sh
===================================================================
--- cocoon.sh   (revision 291611)
+++ cocoon.sh   (working copy)
@@ -93,7 +93,7 @@
      COCOON_WEBAPP_HOME=$STANDALONE_WEBAPP
    else
      # when in the build environment
-    COCOON_WEBAPP_HOME="$COCOON_HOME/build/webapp"
+ 
COCOON_WEBAPP_HOME="$COCOON_HOME/webapp/target/cocoon-webapp-2.2-SNAPSHOT"
    fi
  fi
  echo "$0: using $COCOON_WEBAPP_HOME as the webapp directory"

Then I ran cocoon.sh servlet, and I got a NoSuchMethodError on
org.apache.commons.jci.monitor.FilesystemAlterationMonitor.start

Full exception trace is below.

Any ideas?

Regards, Upayavira

Exception in thread "main" java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at Loader.invokeMain(Unknown Source)
         at Loader.run(Unknown Source)
         at Loader.main(Unknown Source)
Caused by: java.lang.NoSuchMethodError: 
org.apache.commons.jci.monitor.FilesystemAlterationMonitor.start()V
         at 
org.apache.cocoon.components.fam.SitemapMonitorImpl.initialize(SitemapMonitorImpl.java:43)
         at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
         at 
org.apache.cocoon.core.container.ComponentFactory.setupInstance(ComponentFactory.java:166)
         at 
org.apache.cocoon.core.container.ComponentFactory.newInstance(ComponentFactory.java:139)
         at 
org.apache.cocoon.core.container.handler.ThreadSafeComponentHandler.doInitialize(ThreadSafeComponentHandler.java:53)
         at 
org.apache.cocoon.core.container.handler.AbstractComponentHandler.initialize(AbstractComponentHandler.java:273)
         at 
org.apache.cocoon.core.container.CoreServiceManager.lookup(CoreServiceManager.java:368)
         at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.service(TreeProcessor.java:190)
         at 
org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:143)
         at 
org.apache.cocoon.core.container.ComponentFactory.setupInstance(ComponentFactory.java:156)
         at 
org.apache.cocoon.core.container.ComponentFactory.newInstance(ComponentFactory.java:139)
         at 
org.apache.cocoon.core.container.handler.ThreadSafeComponentHandler.doInitialize(ThreadSafeComponentHandler.java:53)
         at 
org.apache.cocoon.core.container.handler.AbstractComponentHandler.initialize(AbstractComponentHandler.java:273)
         at 
org.apache.cocoon.core.container.CoreServiceManager.initialize(CoreServiceManager.java:227)
         at 
org.apache.cocoon.components.container.CocoonServiceManager.initialize(CocoonServiceManager.java:81)
         at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
         at org.apache.cocoon.Cocoon.initialize(Cocoon.java:255)
         at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
         at org.apache.cocoon.core.CoreUtil.createCocoon(CoreUtil.java:681)
         at 
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:238)
         at 
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220) 
      at 
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
         at 
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
         at 
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
         at org.mortbay.http.HttpServer.start(HttpServer.java:663)
         at org.mortbay.jetty.Server.main(Server.java:429)
         ... 7 more

Mime
View raw message