forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Lee <funkymonk...@yahoo.com.au>
Subject forrest run Initialization problem?
Date Tue, 28 Dec 2004 06:57:43 GMT
Hello, 

I am brand new to forrest. Basically, I just followed
the docs and was surprised it didn’t run out of the
box.

Seems to be failing to find a class called
org.apache.log.Hierarchy

Any help appreciated.

Regards, 
Greg



Unzip apache-forrest-0.6.zip and move to o:\java
Created FORREST_HOME and updated PATH environment
variables 

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\greg>o:

O:\>cd java\apache-forrest-0.6

O:\java\apache-forrest-0.6>forrest run

Apache Forrest.  Run 'forrest -projecthelp' to list
options


Buildfile:
O:\java\apache-forrest-0.6\src\core\forrest.build.xml

init-props:
Loading project specific properties from
O:\java\apache-forrest-0.6\forrest.properties
Loading user specific properties from C:\Documents and
Settings\greg\forrest.properties
Loading default properties from
O:\java\apache-forrest-0.6\src\core\context\default-forrest.properties
Created dir: O:\java\apache-forrest-0.6\build\tmp

run_default_jetty:
17:02:26.638 EVENT  Checking Resource aliases
17:02:27.009 EVENT  Starting Jetty/4.2.19
17:02:27.169 EVENT  Started
WebApplicationContext[/,Forrest]
java.lang.ExceptionInInitializerError
        at
org.apache.cocoon.components.store.impl.JCSDefaultStore.initialize(JCSDefaultStore.java:177)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:277)
        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)
        at
org.apache.cocoon.Cocoon.initialize(Cocoon.java:307)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
        at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1386)
        at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:485)
        at
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
        at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
        at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
        at
org.mortbay.http.HttpServer.start(HttpServer.java:663)
        at
org.mortbay.jetty.Server.main(Server.java:429)
Caused by:
org.apache.commons.logging.LogConfigurationException:
java.lang.NoClassDefFoundError:
org/apache/log/Hierarchy (Cause
d by java.lang.NoClassDefFoundError:
org/apache/log/Hierarchy)
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
        at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
        at
org.apache.jcs.engine.control.CompositeCacheManager.<clinit>(CompositeCacheManager.java:45)
        ... 17 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/log/Hierarchy
        at
org.apache.commons.logging.impl.LogKitLogger.getLogger(LogKitLogger.java:77)
        at
org.apache.commons.logging.impl.LogKitLogger.<init>(LogKitLogger.java:64)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
        ... 21 more

BUILD FAILED
O:\java\apache-forrest-0.6\src\core\forrest.build.xml:452:
Java returned: 1

Total time: 12 seconds
Terminate batch job (Y/N)? y

O:\java\apache-forrest-0.6>echo %JAVA_HOME%
O:\java\jdk1.4.2_04

O:\java\apache-forrest-0.6>echo %FORREST_HOME%
O:\java\apache-forrest-0.6\src\core

O:\java\apache-forrest-0.6>echo %PATH%
C:\Perl\bin\;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;o:\rw2000\bin;C:\Program
Files\ATI Tech
nologies\ATI Control
Panel;c:\cygwin\bin;c:\aspell\bin;O:\java\jdk1.4.2_04\bin;o:\java\apache-ant-1.6.2\bin;O:\java\j2ee-1.3.1\b
in;c:\emacs-21.3\bin;o:\gnupg;O:\java\apache-forrest-0.6\src\core\bin;C:\Program
Files\Common Files\GTK\2.0\bin;C:\gimp\GTK\2.0\
bin;C:\Program Files\Common Files\Roxio
Shared\DLLShared;C:\Program Files\SSH Communications
Security\SSH Secure Shell

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com

Mime
View raw message