cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <roma...@yahoo.com>
Subject Troubles with CLI
Date Thu, 23 Oct 2003 19:03:34 GMT
Hi,

I'm trying to run a very simple "Hello World" test
(one XML/one XSL) using CLI and getting the following
error:

-------------------- Executing -----------------
Main Class: org.apache.cocoon.Main
------------------------------------------------------------------------
cocoon 2.1.3-dev
Copyright (c) 1999-2003 Apache Software Foundation.
All rights reserved.
------------------------------------------------------------------------


Exception in thread "main"
java.lang.reflect.InvocationTargetExceptionserver.properties
not found, u
sing command line or default properties
Opening database:
C:\home\src\cocoon-2.1\build\webapp\WEB-INF\db\cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to
abort abruptly

        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:502)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at
java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
        at
java.net.URLClassLoader.access$100(URLClassLoader.java:54)
        at
java.net.URLClassLoader$1.run(URLClassLoader.java:193)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at java.lang.ClassLoader.defineClass0(Native
Method)
        at
java.lang.ClassLoader.defineClass(ClassLoader.java:502)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at
java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
        at
java.net.URLClassLoader.access$100(URLClassLoader.java:54)
        at
java.net.URLClassLoader$1.run(URLClassLoader.java:193)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.configure(ExcaliburCompo
nentSelector.java:404)
        at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponen
tFactory.java:315)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeCom
ponentHandler.java:141)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburCompo
nentManager.java:554)
        at
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.jav
a:539)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at
org.apache.cocoon.Cocoon.initialize(Cocoon.java:332)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at
org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:185)
        at
org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:132)
        at org.apache.cocoon.Main.main(Main.java:349)
        ... 7 more
Thu Oct 23 15:00:42 EDT 2003 Listening for connections
...

Any idea what I might be doing wrong?

Thanks,
-Alex

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


Mime
View raw message