cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Huttar <lars_hut...@sil.org>
Subject Re: CLI - command line interface
Date Fri, 02 Sep 2005 22:07:49 GMT
service wrote:

> Hello,
>
>  
>
> cocoon 2.1.7  // java 1.4.2 // tomcat 5.0.28 // win xp 5.1.26
>
>  
>
> I try to use the default cocoon.bat and cli.xconf to export content 
> ... unfortunately not really successful. Starting point is the clean 
> compiled cocoon 2.1.7.
>
>  
>
> Cocoon runs smoothly in the tomcat servlet container.
>
>  
>
> I've already checked 
> http://cocoon.apache.org/2.1/userdocs/offline/cli.html
>
> But couldn't get hints how to resolve the issue.
>
See http://wiki.apache.org/cocoon/CommandLine
Down near the bottom is a note on the error you're seeing.

In short, copy cocoon-2.1.7/lib/core to 
cocoon-2.1.7/build/webapp/WEB-INF/lib (actual filenames may vary).
Lars

>  
>
> Any ideas, hints or directions where to go to?
>
>  
>
> Many thanks in advance,
>
> Markus
>
>  
>
>  
>
>  
>
> Here is what I get:
>
>  
>
>>>-------------------- Executing -----------------
>
>>>Main Class: org.apache.cocoon.Main
>
>>>------------------------------------------------------------------------
>
>>>cocoon 2.1.7
>
>>>Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved.
>
>>>------------------------------------------------------------------------
>
>>>trying to register database
>
>>>trying to register database
>
>  
>
> 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.NoClassDefFoundError: 
> javax/servlet/http/HttpSessionBindingListener
>
>       at java.lang.ClassLoader.defineClass0(Native Method)
>
>       at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
>
>       at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
>
>       at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
>
>       at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
>
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
>
>       at java.security.AccessController.doPrivileged(Native Method)
>
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>
>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>
>       at 
> org.apache.cocoon.components.flow.ContinuationsManagerImpl.configure(ContinuationsManagerImpl.java:155)
>
>       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.CocoonComponentManager.initialize(CocoonComponentManager.java:561)
>
>       at 
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
>
>       at org.apache.cocoon.Cocoon.initialize(Cocoon.java:282)
>
>       at 
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
>
>       at 
> org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:171)
>
>       at org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:98)
>
>       at org.apache.cocoon.Main.main(Main.java:320)
>
>       ... 7 more
>
> Exception in thread "main"
>
>  
>


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


Mime
View raw message