[logback-user] Struggling with Tomcat6 and logback ...
Gunnar Eketrapp
gunnar.eketrapp at gmail.com
Sat Jan 29 18:49:47 CET 2011
Nope!
Here ir is ...
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} -
%msg%n</Pattern>
</encoder>
</appender>
<logger name="utskicket" level="DEBUG"/>
<logger name="utskicket.util" level="DEBUG"/>
<logger name="utskicket.model.persistence" level="DEBUG"/>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>
2011/1/29 Ceki Gülcü <ceki at qos.ch>
> Hi Gunnar,
>
> Conditionals (<if>/<then>/<else>) in logback.xml require the janino
> library. Do you have conditionals in your logback.xml?
>
>
> On 29/01/2011 6:02 PM, Gunnar Eketrapp wrote:
>
>> Hi!
>>
>> I have problems getting my webapp to start under tomcat6.
>>
>> I am currently facing problem such as ...
>>
>> Caused by: java.lang.ClassNotFoundException:
>> org.codehaus.janino.ScriptEvaluator
>> at
>>
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
>> at
>>
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>> ... 37 more
>>
>> ... and I have placed following in tomcat's lib
>>
>> /usr/share/tomcat6/lib/logback-classic-0.9.28.jar
>> /usr/share/tomcat6/lib/logback-core-0.9.28.jar
>>
>> Are there any known problems with logback and tomcat6 ?
>>
>> Thanks in advance,
>> Gunnar Eketrapp
>>
>>
>> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>
--
[Hem: 08-715 59 57, Mobil: 0708-52 62 90]
Allévägen 2A, 132 42 Saltsjö-Boo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110129/806922da/attachment-0001.html>
More information about the Logback-user
mailing list