cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wu, Kenny YK" <Kenny.YK...@pccw.com>
Subject unable to make it work: jdk 1.4.2_03 + jrun4 + cocoon 2.1.4
Date Wed, 25 Feb 2004 09:55:38 GMT
Hi,

I cannot setup the following system:
liunx machine: 2.4.18-3
jdk: j2sdk-1_4_2_03-linux-i586.bin
jrun4: build 61650
cocoon: cocoon-2.1.4-src.tar.gz

- I create $JAVA_HOME/jre/lib/endorsed directory
- I put xalan-2.5.2.jar, xercesImpl-2.6.1.jar, xml-apis.jar in this
directory (according to cocoon installation procedure)
- I add a jrun web server with port 8800 and named dev under
$JRUN_ROOT/servers/dev/
- I build cocoon web application by ./build.sh
- I copy the whole directory ./build/webapp to $JRUN_ROOT/servers/dev/ and
becomes $JRUN_ROOT/servers/dev/webapp
- I start the dev jrun server $JRUN_ROOT/bin/jrun -start dev &
- I get the following error and cannot access the url:
http://host:8800/webapp

user Cocoon: init
error Could not pre-load servlet: Cocoon
java.lang.NoClassDefFoundError: org/apache/log4j/Layout
at
org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:1
40)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:257)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
at
org.apache.xindice.client.xmldb.DatabaseImpl.<clinit>(DatabaseImpl.java:86)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
org.apache.cocoon.components.source.impl.XMLDBSourceFactory.configure(XMLDBS
ourceFactory.java:112)
at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.
java:239)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:305)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:143)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponen
t(ExcaliburComponentSelector.java:738)
...
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Please help.


Regards,
Kenny 

Mime
View raw message