DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40025>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40025
Summary: Log4J causing application to hang
Product: Log4j
Version: 1.2
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: blocker
Priority: P1
Component: Other
AssignedTo: log4j-dev@logging.apache.org
ReportedBy: Harmesh.Dheer@emxco.com
> Hi,
>
> We're experiencing an intermittent problem (roughly 1 in 15 times) whereby \
> sometimes our Java application hangs soon after starting. It all started
after we \
> upgraded the version of Java from 1.3.1.16 to 1.5.0.06 (everything was fine \
> before). We are using Log4J version 1.2.6. We have 2 threads that are
started from \
> the static initialiser of the initial class. When the problem occurs within
each \
> thread (in every case of failure) they both hang at the point where the
following \
> statement is called:
> if (m_logger.isEnabledFor(Level.INFO))
>
> (where m_logger is defined as "private static final Logger m_logger = \
> Logger.getLogger(Server.class.getName());")
> We know it hangs at this point as we have system.out.println() statements \
> immediately before and after this statement.
> The Java process still exists but the process hangs indefinitely.
>
> I have tried upgrading Log4J to version 1.2.13 but the same problem still
occurs.
>
> I have searched every Log4J bug on the buglist and also searched the Log4J
mailing \
> lists as well as google searches and cannot find anything similar.
> Does anyone have any idea why this might be failing?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
|