You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Niclas Hedhman <ni...@hedhman.org> on 2004/10/04 16:40:10 UTC

Runtime problems in the 2.2 branch

Hi,
perhaps the 2.2 branch is not expected to be 'runnable' at this juncture. I 
must admit I haven't followed the latest progress...

Compiling -> no problems
./cocoon.sh servlet  -> gives me the following stack trace.

And there is no CloningIneritableThreadLocal in the repository.

Anyone has any explaination?

Cheers
Niclas


Caused by: java.lang.NoClassDefFoundError: 
org/apache/cocoon/environment/internal/CloningInheritableThreadLocal
        at 
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:53)
        at 
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:70)
        at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.configure(TreeProcessor.java:208)
        at 
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:240)
        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.container.CocoonComponentManager.initialize(CocoonComponentManager.java:132)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)

-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


Re: Runtime problems in the 2.2 branch

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Tuesday 05 October 2004 01:48, Vadim Gritsenko wrote:

> May be your forgot to do full recompile?

Must have been, although I could have sworn I did a clean.

Thanks a lot.

Niclas
-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


Re: Runtime problems in the 2.2 branch

Posted by Vadim Gritsenko <va...@reverycodes.com>.
Niclas Hedhman wrote:
> On Tuesday 05 October 2004 00:14, Vadim Gritsenko wrote:
> 
>>>And there is no CloningIneritableThreadLocal in the repository.
>>
>>See bottom of CocoonComponentManager.java
> 
> 
> Not sure what you mean by this... 

Oops, my mistake. CloningIneritableThreadLocal is declared in the 
CocoonComponentManager.java in BRANCH_2_1_X. But it was moved into 
EnvironmentHelper.java in the trunk.

May be your forgot to do full recompile?

Vadim

Re: Runtime problems in the 2.2 branch

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Tuesday 05 October 2004 00:14, Vadim Gritsenko wrote:

> > And there is no CloningIneritableThreadLocal in the repository.
> See bottom of CocoonComponentManager.java

Not sure what you mean by this... 

> > Anyone has any explaination?

> Works fine for me, today's revision 51899, with jdk 142.

Exactly, 51899.  It isn't a matter of the file hasn't been committed??

Now at 
[niclas@f2 cocoon2.2.x]$ svn up
At revision 53731.

Cheers
Niclas
-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


Re: Runtime problems in the 2.2 branch

Posted by Vadim Gritsenko <va...@reverycodes.com>.
Niclas Hedhman wrote:
> Hi,
> perhaps the 2.2 branch is not expected to be 'runnable' at this juncture. I 
> must admit I haven't followed the latest progress...
> 
> Compiling -> no problems
> ./cocoon.sh servlet  -> gives me the following stack trace.
> 
> And there is no CloningIneritableThreadLocal in the repository.

See bottom of CocoonComponentManager.java


> Anyone has any explaination?

Works fine for me, today's revision 51899, with jdk 142.

Vadim


> Cheers
> Niclas
> 
> 
> Caused by: java.lang.NoClassDefFoundError: 
> org/apache/cocoon/environment/internal/CloningInheritableThreadLocal
>         at 
> org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:53)
>         at 
> org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:70)
>         at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.configure(TreeProcessor.java:208)
>         at 
> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:240)
>         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.container.CocoonComponentManager.initialize(CocoonComponentManager.java:132)
>         at 
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)