<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi Ceki, <br><br>That's exactelly what it says : <br><br>my architecture is like this : <br><br>Tomcat container ------&gt; axis2 war container ---&gt; My service .AAR .<br><br>The logback jars are in my .AAR <br><br>Thanks for help <br><br><div>&gt; Date: Thu, 25 Aug 2011 15:45:17 +0200<br>&gt; From: ceki@qos.ch<br>&gt; To: logback-user@qos.ch<br>&gt; Subject: Re: [logback-user] org.slf4j.helpers.NOPLogger cannot be cast to ch.qos.logback.classic.Logger<br>&gt; <br>&gt; Hello Mohammed,<br>&gt; <br>&gt; What does SLF4J print on the console. Does it mention defaulting to the <br>&gt; nop-implementation?<br>&gt; <br>&gt; On 25/08/2011 3:21 PM, BAKHTI Mohammed wrote:<br>&gt; &gt;<br>&gt; &gt; Hello,<br>&gt; &gt;<br>&gt; &gt; I got a problem when trying to deploy an application into Tomcat<br>&gt; &gt;<br>&gt; &gt; i got this exception : org.slf4j.helpers.NOPLogger cannot be cast to<br>&gt; &gt; ch.qos.logback.classic.Logger<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; and the line in my code is : ch.qos.logback.classic.Logger<br>&gt; &gt; applicationLogger = (Logger)<br>&gt; &gt; org.slf4j.LoggerFactory.getLogger("my.logger.name");<br>&gt; &gt;<br>&gt; &gt; any idea ?<br>&gt; &gt;<br>&gt; &gt; Thanks<br>&gt; -- <br>&gt; QOS.ch, main sponsor of cal10n, logback and slf4j open source projects, <br>&gt; is looking to hire talented software developers. For further details, <br>&gt; see http://logback.qos.ch/job.html<br>&gt; _______________________________________________<br>&gt; Logback-user mailing list<br>&gt; Logback-user@qos.ch<br>&gt; http://qos.ch/mailman/listinfo/logback-user<br></div>                                               </div></body>
</html>