You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by islam alnaggar <is...@gmail.com> on 2008/02/03 13:00:17 UTC
hello problem with mina logger
hello i decided mina to start my own server but some problem apear in front
of me
it's says
Exception in thread "main" java.lang.StackOverflowError
at java.util.HashMap.get(HashMap.java:300)
at org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java
:67)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)
at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(
SLF4JLogFactory.java:155)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:221)
at org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java
:69)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)
help please
Re: hello problem with mina logger
Posted by Maarten Bosteels <mb...@gmail.com>.
Could it be that you are telling Jakarta Commons Logging (JCL) to use SLF4J
and telling SLF4J to use JCL ?
I never tried that :-) but I guess it would result in an endless loop, hence
the StackOverflowError.
Please, check if you have both slf4j-jcl.jar and jcl104-over-slf4j.jar on
your classpath.
Logging can be so funny !
Maarten**
On Feb 3, 2008 1:00 PM, islam alnaggar <is...@gmail.com> wrote:
> hello i decided mina to start my own server but some problem apear in
> front
> of me
> it's says
>
> Exception in thread "main" java.lang.StackOverflowError
> at java.util.HashMap.get(HashMap.java:300)
> at org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java
> :67)
> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)
> at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(
> SLF4JLogFactory.java:155)
> at org.apache.commons.logging.LogFactory.getLog(LogFactory.java
> :221)
> at org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java
> :69)
> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)
>
>
> help please
>