forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Schaefer <johannes.schae...@uidesign.de>
Subject Re: forrest-0.7 webapp crashes tomcat
Date Thu, 16 Feb 2006 09:04:42 GMT
Cyriaque Dupoirieux wrote:
> Johannes Schaefer a écrit :
>> Thorsten Scherler wrote:
>>  
>>> El mié, 15-02-2006 a las 19:20 +0100, Johannes Schaefer escribió:
>>>    
>>>> 15.02.2006 19:12:30 org.apache.catalina.startup.ContextConfig
>>>> applicationWebConfig
>>>> SCHWERWIEGEND: Parse error in application web.xml file at
>>>> jndi:/localhost/WEB-INF/web.xml
>>>>       
>>> ...
>>> SCHWERWIEGEND: Parse error in default web.xml
>>> org.apache.commons.logging.LogConfigurationException:
>>> org.apache.commons.logging.LogConfigurationException:
>>> java.lang.ClassNotFoundException:
>>> org.apache.commons.logging.impl.LogKitLogger (Caused by
>>> java.lang.ClassNotFoundException:
>>> org.apache.commons.logging.impl.LogKitLogger) (Caused by
>>>
>>>
>>> It seems that the logging is causing the problem.
>>>
>>> Are you sure that the web.xml is configured correctly regarding the
>>> location of the log kit?
>>>     
>>
>>   
> Or are you sure commons-logging-/version/.jar is in the Catalina
> classpath ?
> (Maybe you can check the catalina.sh script and use add the
> $FORREST_HOME/lib/core/commons-logging-1.0.4.jar in the common/lib
> directory of Catalina...)

There is commons-logging-1.0.4.jar in
  ...\Tomcat 5.5\webapps\my-project\WEB-INF\lib    (1)

I suppose that 'forrest war' creates a self-contained web application
that does *not* need anything from FORREST_HOME.
All (?) jars needed are located in (1), right?

Johannes


> 
> Cyriaque,
> 
>> No, I'm not sure not at all. I don't have a clue what it does.
>>
>>  
>>>>>> Adapt web.xml, see http://tinyurl.com/cn5ep (Mail archive)
>>>>>>           
>> there it says:
>>     We made the init-param "force-property" empty (default it had the
>> value
>>    
>> "org.apache.commons.logging.Log=org.apache.commons.logging.impl.LogKitLogger").
>>
>>     Without doing so the webapp didn't start up.
>>
>> I did so (most of the time), then adapted it in my local forrest-HEAD
>> and forgot about forrest-0.7.
>>
>> Is it safe to commit this change to
>>
>>   forrest-HEAD/main/webapp/WEB-INF/web.xml
>>
>> or will it break something else?
>>
>> Johannes
>>
>>
>>  
>>> salu2
>>>     
>>
>>
>>   
> 


-- 
User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
Fon +49 (0)7141 377 000 * Fax  +49 (0)7141 377 00-99
Geschäftsstelle: User Interface Design GmbH * Lehrer-Götz-Weg 11 * D-81825 München
www.uidesign.de

Buch "User Interface Tuning" von Joachim Machate & Michael Burmester
www.user-interface-tuning.de

Mime
View raw message