Hi,

which version of Tomcat / JBoss are you running the application on?
Where is you Log4j config file and JAR files located?

regards Malcolm Edgar

On Mon, Jun 29, 2009 at 10:19 PM, WarnerJan
Veldhuis<warnerjan.veldh...@qprcostcontrol.com> wrote:
> Hello,
>
> Two things that I want to mention about Log4JLogService:
>
> 1) The click.dtd says the value for element log-service, attribute classname
> is fixed, which it's not. Side effect: it makes my IntelliJ XML parser
> complain about illegal xml :)
> 2) I get classloader issues when using the Log4JLogger. I know it can be a
> million things, but has anyone of you ever ran into messages like these?
>
> 14:00:38,482 INFO  [TomcatDeployer           ] deploy, ctxPath=/Portal,
> warUrl=.../tmp/deploy/tmp42639Portal-exp.war/
> 14:00:38,678 ERROR [STDERR                        ] log4j:ERROR A
> "org.jboss.logging.appender.FileAppender" object is not assignable to a
> "org.apache.log4j.Appender" variable.
> 14:00:38,696 ERROR [STDERR                        ] log4j:ERROR The class
> "org.apache.log4j.Appender" was loaded by
> 14:00:38,716 ERROR [STDERR                        ] log4j:ERROR
> [WebappClassLoader
>   delegate: false
>   repositories:
>     /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.factoryurlclassloa...@436ae706
> ] whereas object of type
> 14:00:38,716 ERROR [STDERR                        ] log4j:ERROR
> "org.jboss.logging.appender.FileAppender" was loaded by
> [org.jboss.system.server.noannotationurlclassloa...@bc92535].
> 14:00:38,716 ERROR [STDERR                        ] log4j:ERROR Could not
> instantiate appender named "FILE".
>
> I am using a very standard DailyRollingFileAppender (<appender
> name="DAILYFILE" class="org.apache.log4j.DailyRollingFileAppender">)
> .
> Any clues?
>
> Cheers,
>
> WarnerJan

Reply via email to