cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: Cocoon 2.1.3: CLI does not work (?)
Date Thu, 22 Jan 2004 20:32:43 GMT
Stephanie Zohner wrote:

>Hi,
>
>I built Cocoon 2.1.3 sucessfully and tried to run cocoon cli with the
>cli.xconf file provided with the cocoon distribution. I got an
>InvocationTargetException caused by a java.lang.NoClassDefFoundError:
>javax/servlet/http/HttpSessionBindingListener (see below).
>
>What is the reason for that, and what can I do about it?
>  
>
You've included a block that requires an HTTP binding (maybe the 
authentication framework?) You could copy servlet.jar into lib/local and 
rebuild cocoon (or copy it into WEB-INF/lib), which might get you 
working (you'll find it in lib/optional I believe).

I know this is not good, and at some point it needs to be dealt with 
(Cocoon is too HTTP centric). But hopefully these will get you going 
further.

Regards, Upayavira

>
>Thanks,
>
>Stephanie
>
>P.S.: Jetty runs without any problems!
>
>C:\Programme\cocoon-2.1.3>cocoon cli -x cli.xconf
>cocoon.bat: using .\build\webapp as the webapp directory
>-------------------- Loading --------------------
>Processing repository: .\build\webapp\WEB-INF\lib
>Adding jar: .\build\webapp\WEB-INF\lib\altrmi-common-0.9.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\altrmi-registry-0.9.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\altrmi-server-impl-0.9.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\altrmi-server-interfaces-0.9.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\apache-garbage-0.0.jar
>Adding jar: .\build\webapp\WEB-INF\lib\avalon-framework-4.1.4.jar
>Adding jar: .\build\webapp\WEB-INF\lib\axis-1.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\axis-jaxrpc-1.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\axis-saaj-1.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\batik-all-1.5.jar
>Adding jar: .\build\webapp\WEB-INF\lib\bsf-2.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\castor-0.9.5.1-xml.jar
>Adding jar: .\build\webapp\WEB-INF\lib\chaperon-2.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-2.1.3-deprecated.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-2.1.3.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-apples-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-asciiart-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-authentication-fw-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-axis-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-batik-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-bsf-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-chaperon-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-cron-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-databases-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-deli-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-eventcache-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-fop-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-hsqldb-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-html-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-itext-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-jfor-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-jsp-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-jxforms-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-linkrewriter-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-linotype-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-lucene-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-mail-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-midi-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-naming-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-petstore-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-php-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-poi-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-portal-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-portal-fw-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-precept-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-profiler-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-proxy-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-python-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-qdox-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-repository-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-scratchpad-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-session-fw-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-slide-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-slop-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-stx-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-swf-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-taglib-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-velocity-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-web3-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-webdav-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-woody-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\cocoon-xmldb-block.jar
>Adding jar: .\build\webapp\WEB-INF\lib\commons-beanutils-1.6.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\commons-betwixt-20030910.jar
>Adding jar: .\build\webapp\WEB-INF\lib\commons-cli-1.0.jar
>Adding jar: .\build\webapp\WEB-INF\lib\commons-collections-2.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\commons-digester-1.3.jar
>Adding jar: .\build\webapp\WEB-INF\lib\commons-discovery-0.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\commons-httpclient-2.0-rc1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\commons-jexl-1.0-beta-1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\commons-jxpath-20030909.jar
>Adding jar: .\build\webapp\WEB-INF\lib\commons-lang-2.0.jar
>Adding jar: .\build\webapp\WEB-INF\lib\commons-logging-1.0.3.jar
>Adding jar: .\build\webapp\WEB-INF\lib\deli-0.9.8.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-component-1.2-dev.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-datasource-1.1.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-event-api-1.0.4-dev.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-event-impl-1.0.4-dev.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-i18n-1.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-instrument-1.0.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-instrument-manager-1.0.jar
>Adding jar:
>.\build\webapp\WEB-INF\lib\excalibur-instrument-manager-interfaces-1.0.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-io-1.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-logger-1.0.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-monitor-1.0.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-naming-1.0.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-pool-1.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-sourceresolve-1.0.2-dev.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-store-1.0-dev.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-util-1.0.jar
>Adding jar: .\build\webapp\WEB-INF\lib\excalibur-xmlutil-1.0-dev.jar
>Adding jar: .\build\webapp\WEB-INF\lib\fop-0.20.5.jar
>Adding jar: .\build\webapp\WEB-INF\lib\hsqldb-1.7.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\icu4j.jar
>Adding jar: .\build\webapp\WEB-INF\lib\itext-1.01.jar
>Adding jar: .\build\webapp\WEB-INF\lib\itext-xml-1.01.jar
>Adding jar: .\build\webapp\WEB-INF\lib\jakarta-oro-2.0.7.jar
>Adding jar: .\build\webapp\WEB-INF\lib\jakarta-poi-1.10.0-dev-20030222.jar
>Adding jar: .\build\webapp\WEB-INF\lib\jakarta-regexp-1.3.jar
>Adding jar: .\build\webapp\WEB-INF\lib\jdom-dev-20020131.jar
>Adding jar: .\build\webapp\WEB-INF\lib\jdtcore-2.1.0.jar
>Adding jar: .\build\webapp\WEB-INF\lib\jena-2.0.0.jar
>Adding jar: .\build\webapp\WEB-INF\lib\jfor-0.7.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\jisp-2.5.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\joost-20030914.jar
>Adding jar: .\build\webapp\WEB-INF\lib\jstyle.jar
>Adding jar: .\build\webapp\WEB-INF\lib\jtidy-04aug2000r7-dev.jar
>Adding jar: .\build\webapp\WEB-INF\lib\log4j-1.2.7.jar
>Adding jar: .\build\webapp\WEB-INF\lib\logfactor5-1.2.8.jar
>Adding jar: .\build\webapp\WEB-INF\lib\logkit-1.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\lucene-1.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\pizza-1.1.jar
>Adding jar: .\build\webapp\WEB-INF\lib\qdox-1.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\quartz-1.2.3.jar
>Adding jar: .\build\webapp\WEB-INF\lib\resolver-20030708.jar
>Adding jar: .\build\webapp\WEB-INF\lib\rhino1.5r4-continuations-20030906.jar
>Adding jar: .\build\webapp\WEB-INF\lib\slide-kernel-20030322.jar
>Adding jar: .\build\webapp\WEB-INF\lib\slide-roles-20030322.jar
>Adding jar: .\build\webapp\WEB-INF\lib\slide-stores-20030322.jar
>Adding jar: .\build\webapp\WEB-INF\lib\slide-webdavlib-20030711.jar
>Adding jar: .\build\webapp\WEB-INF\lib\slide-webdavservlet-20030322.jar
>Adding jar: .\build\webapp\WEB-INF\lib\spark-0.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\util.concurrent-1.3.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\velocity-1.4-dev-20030301.jar
>Adding jar: .\build\webapp\WEB-INF\lib\wsdl4j-1.4.jar
>Adding jar: .\build\webapp\WEB-INF\lib\xalan-2.5.2.jar
>Adding jar: .\build\webapp\WEB-INF\lib\xercesImpl-2.5.0.jar
>Adding jar: .\build\webapp\WEB-INF\lib\xml-apis.jar
>Adding jar: .\build\webapp\WEB-INF\lib\xmldb-api-20011111.jar
>Adding jar: .\build\webapp\WEB-INF\lib\xreporter-expression-20030725.jar
>-------------------- Executing -----------------
>Main Class: org.apache.cocoon.Main
>------------------------------------------------------------------------
>cocoon 2.1.3
>Copyright (c) 1999-2003 Apache Software Foundation. All rights reserved.
>------------------------------------------------------------------------
>
>
>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.NoClassDefFoundError:
>javax/servlet/http/HttpSessionBindingListener
>        at java.lang.ClassLoader.defineClass0(Native Method)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
>        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 java.lang.ClassLoader.defineClass0(Native Method)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
>        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
>org.apache.avalon.excalibur.component.ExcaliburComponentSelector.configure(ExcaliburComponentSelector.java:41
>3)
>        at
>org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239)
>        at
>org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:302)
>        at
>org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:1
>43)
>        at
>org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:556
>)
>        at
>org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547)
>        at
>org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
>        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340)
>        at
>org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
>        at
>org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:186)
>        at org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:132)
>        at org.apache.cocoon.Main.main(Main.java:349)
>        ... 7 more
>server.properties not found, using command line or default properties
>Opening database: C:\Programme\cocoon-2.1.3\build\webapp\WEB-INF\db\cocoondb
>HSQLDB server 1.7.1 is running
>Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
>Thu Jan 22 19:05:46 CET 2004 Listening for connections ...
>
>
>
>  
>



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


Mime
View raw message