cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brent Johnson <bljohn...@gmail.com>
Subject Re: NoSuchMethodError in Production!? Help!
Date Mon, 16 Aug 2004 13:56:08 GMT
Yeah I tried upgrading and downgrading and neither worked.  So I ended
up removing the WEB-INF directory (thinking there was some sort of
corrupted commons-collections file or something) and replaced it with
a 2.1.5 backup from my development machine.

That fixed the staticbucketmap problem but I started getting another
exception (the second one I mentioned).  After poking and proding all
sorts of things it still wouldnt work.  So, seeing as I used to work
support, one of my initial questions to the end user was always "did
you try and reboot?"

So I figured hey.. it couldnt hurt.  So I rebooted the linux box and
it worked started working just fine.  I'm not sure what was going on. 
I'm just hoping it wasnt some sort of disk corruption.

Thanks,

- Brent

On Mon, 16 Aug 2004 09:08:47 +0200, Jorg Heymans <jh@domek.be> wrote:
> There were some problems with the staticbucketmap in commons-collection,
> i think it was removed. Why this is appearing now after a restart I
> don't know. Maybe try downgrading to a previous version of
> commons-collection?
> 
> hth
> Jorg
> 
> 
> 
> Brent Johnson wrote:
> > I'm running a production server using Tomcat 5.0.27 and Cocoon 2.1.5.
> > The servers are located near Tampa, Florida so we shut the servers
> > down Friday in case of hurricane damage.
> >
> > The servers were brought back up and I started up Tomcat.
> > Unfortunately Im getting the following exception.  Everything was
> > running fine for over a month and after the restart I'm getting this:
> >
> > StandardContext[]StandardWrapper.Throwable
> > java.lang.NoSuchMethodError:
> > org.apache.cocoon.components.flow.InterpreterSelector.getComponentHandlers()Lorg/apache/commons/collections/StaticBucketMap;
> >     at org.apache.cocoon.components.flow.InterpreterSelector.configure(InterpreterSelector.java:79)
> >     at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239)
> >     at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:269)
> >     at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
> >     at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522)
> >     at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:530)
> >     at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
> >     at org.apache.cocoon.Cocoon.initialize(Cocoon.java:327)
> >     at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1358)
> >     at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:507)
> >     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
> >     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
> >     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
> >     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
> >     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
> >     at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
> >     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
> >     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
> >     at org.apache.catalina.core.StandardService.start(StandardService.java:480)
> >     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
> >     at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
> >     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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
> >     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
> >
> > The commons-collections jars are in WEB-INF/lib and everything.  I
> > just dont know what's going on.  If anyone could give me a hand I'd
> > appreciate it.
> >
> > Thanks,
> >
> > - Brent
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
>

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


Mime
View raw message