bugzilla | 7 Oct 21:01

DO NOT REPLY [Bug 42213] log4j causing threads to stuck in weblogic

https://issues.apache.org/bugzilla/show_bug.cgi?id=42213

Sachin <sachinlohe <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sachinlohe <at> gmail.com
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |

--- Comment #5 from Sachin <sachinlohe <at> gmail.com>  2008-10-07 12:01:29 PST ---
We have same environment and same issue. 
Sudhanshu/Anyone who want to answer : How was this issue resolved finally.
Duplicate bug(41214) comment 22 mentioned that this may be jre1.5 solaris bug.

"[STUCK] ExecuteThread: '93' for queue: 'weblogic.kernel.Default
(self-tuning)'" daemon prio=3 tid=0x00000001071bbea0 nid=0x5a0 runnable
[0xfffffffe9a3fd000..0xfffffffe9a3ff6a8]

        at java.io.FileOutputStream.writeBytes(Native Method)

        at java.io.FileOutputStream.write(FileOutputStream.java:260)

        at
sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)

        at
sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)

        at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)
(Continue reading)

bugzilla | 6 Oct 08:06

Bug report for Log4j [2008/10/05]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
|     |   |           MIN=Minor   NOR=Normal    ENH=Enhancement TRV=Trivial |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
|13099|Opn|Nor|2002-09-27|DOMConfigurator ignores category factory setting  |
|17887|Opn|Maj|2003-03-11|RollingFileAppender does not work for 10 threads  |
|20395|Inf|Enh|2003-06-01|PreparedStatementAppender Enhancement             |
|23329|Ass|Enh|2003-09-22|<logger> element in XML config should support reso|
|25355|Ass|Enh|2003-12-09|allow to require "TLS/SSL only" for outgoing mails|
|26084|Inf|Nor|2004-01-13|Log Event detail panel does not show special chara|
|27363|Inf|Enh|2004-03-02|JNI based SyslogAppender                          |
|27367|Inf|Enh|2004-03-02|NetSendAppender                                   |
|28647|Ass|Enh|2004-04-28|Add "Flush on Level" capability to FileAppender   |
|29244|Inf|Nor|2004-05-27|Preserve XML content in log messages when using XM|
|29304|New|Nor|2004-05-30|Starting XMLSocketAppender from config file       |
|29305|New|Nor|2004-05-30|Chainsaw doesn't see locationinfo from XMLSocketRe|
|29735|New|Nor|2004-06-22|Receiver list display error  when receiver has no |
|30055|New|Nor|2004-07-12|Problem with registering Appenders with the same n|
|30407|Inf|Maj|2004-07-30|Externally rolled file problem                    |
|30888|New|Maj|2004-08-27|Chainsaw mixes files in same panel                |
|30890|New|Min|2004-08-27|Newly opened log file should get focus            |
(Continue reading)

bugzilla | 3 Oct 11:55

DO NOT REPLY [Bug 45941] New: Custom PatternLayout

https://issues.apache.org/bugzilla/show_bug.cgi?id=45941

           Summary: Custom PatternLayout
           Product: Log4j
           Version: unspecified
          Platform: PC
               URL: http://logging.apache.org/log4j/1.2/apidocs/org/apache/l
                    og4j/PatternLayout.html
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Layout
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: spamadore <at> gmail.com

For the moment, you can only use predefined patternLayout here

http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html

An evolution could be to add a system to define our own layout

basically a custom layout could be

---------------------------------------------------------
public class MyPidLayout implements CustomConversionLayout{

     char getConversionCharacter(){
            return 'y';
      }
(Continue reading)

bugzilla | 2 Oct 18:42

DO NOT REPLY [Bug 45939] New: Cannot drop HierarchyDynamicMBean from LoggerRepository

https://issues.apache.org/bugzilla/show_bug.cgi?id=45939

           Summary: Cannot drop HierarchyDynamicMBean from LoggerRepository
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: hmak <at> vaultus.com

HierarchyDynamicMBean registered too many times w/ LoggerRepository.  This can
occur when:

1. start MBeanServer
2. register new HierarchyDynamicMBean (HDMBean) to MBeanServer
3. unregister HDMBean from MBeanServer
4. stop MBeanServer
5. repeat (1) - (3)

LoggerReposity will still broadcast to old HDMBean [in addition to new
HDMBean].  There is no API to unregister the MBean.

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
(Continue reading)

bugzilla | 2 Oct 13:39

DO NOT REPLY [Bug 45934] New: FileAppender should use virtual-machine shutdown hook that flushes buffer automatically

https://issues.apache.org/bugzilla/show_bug.cgi?id=45934

           Summary: FileAppender should use virtual-machine shutdown hook
                    that flushes buffer automatically
           Product: Log4j
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: m <at> rtin-burger.de

If org.apache.log4j.FileAppender buffers output (option BufferedIO set to
true), then the underlying WriterAppender's field immediateFlush will set to
false.

So, the FileAppender will skip flushing and it is very likely that the last few
log events will not be recorded on disk when the application exits.

To avoid the loss of these events, an optional virtual-machine shutdown that
flushes automatically at the end should be used.

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
(Continue reading)

bugzilla | 1 Oct 22:39

DO NOT REPLY [Bug 45932] New: Log4j JMX MBeans not cleaned up

https://issues.apache.org/bugzilla/show_bug.cgi?id=45932

           Summary: Log4j JMX MBeans not cleaned up
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: hmak <at> vaultus.com

LogManager.resetConfiguration() does not drop the JMX MBeans created by
HierarchyDynamicMBean.

When executed twice, the following

        MBeanServer mbs = ...;
        Properties props = ...;
        HierarchyDynamicMBean hdm = new HierarchyDynamicMBean();
        mbs.registerMBean(hdm, new ObjectName("log4j:hiearchy=default"));

        Enumeration<Logger> iter = (Enumeration<Logger>)
LogManager.getLoggerRepository().getCurrentLoggers();
        while (iter.hasMoreElements()) {
                hdm.addLoggerMBean(iter
                          .nextElement()
                          .getName());
(Continue reading)

bugzilla | 30 Sep 11:27

DO NOT REPLY [Bug 45915] New: DeadLock occured in AsyncAppender

https://issues.apache.org/bugzilla/show_bug.cgi?id=45915

           Summary: DeadLock occured in AsyncAppender
           Product: Log4j
           Version: 1.2
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: keiichi.fujito <at> hp.com

Unfortunately, our system which uses log4j 1.2.15. encountered the same bug
that was reported in Bug#: 38137 Comment #16. 
This bug seems not to be discussed for the final fix for several months… Is
this bug going to fix in near future?

Here is the thread dump:

Found one Java-level deadlock:
=============================
"Thread-1":
  waiting to lock monitor 6000000000587e40 (object 9fffffffcb409a68, a
java.util.ArrayList),
  which is held by "pool-1-thread-41460"
"pool-1-thread-41460":
  waiting to lock monitor 6000000000588230 (object 9fffffffcb4d9b28, a
org.apache.log4j.spi.RootLogger),
(Continue reading)

bugzilla | 29 Sep 18:46

DO NOT REPLY [Bug 44219] 'WARNING' for a log level is silently ignored/changed to DEBUG

https://issues.apache.org/bugzilla/show_bug.cgi?id=44219

Maxx <maxxyme <at> free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxxyme <at> free.fr

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla | 29 Sep 08:04

Bug report for Log4j [2008/09/28]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
|     |   |           MIN=Minor   NOR=Normal    ENH=Enhancement TRV=Trivial |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
|13099|Opn|Nor|2002-09-27|DOMConfigurator ignores category factory setting  |
|17887|Opn|Maj|2003-03-11|RollingFileAppender does not work for 10 threads  |
|20395|Inf|Enh|2003-06-01|PreparedStatementAppender Enhancement             |
|23329|Ass|Enh|2003-09-22|<logger> element in XML config should support reso|
|25355|Ass|Enh|2003-12-09|allow to require "TLS/SSL only" for outgoing mails|
|26084|Inf|Nor|2004-01-13|Log Event detail panel does not show special chara|
|27363|Inf|Enh|2004-03-02|JNI based SyslogAppender                          |
|27367|Inf|Enh|2004-03-02|NetSendAppender                                   |
|28647|Ass|Enh|2004-04-28|Add "Flush on Level" capability to FileAppender   |
|29244|Inf|Nor|2004-05-27|Preserve XML content in log messages when using XM|
|29304|New|Nor|2004-05-30|Starting XMLSocketAppender from config file       |
|29305|New|Nor|2004-05-30|Chainsaw doesn't see locationinfo from XMLSocketRe|
|29735|New|Nor|2004-06-22|Receiver list display error  when receiver has no |
|30055|New|Nor|2004-07-12|Problem with registering Appenders with the same n|
|30407|Inf|Maj|2004-07-30|Externally rolled file problem                    |
|30888|New|Maj|2004-08-27|Chainsaw mixes files in same panel                |
|30890|New|Min|2004-08-27|Newly opened log file should get focus            |
(Continue reading)

bugzilla | 26 Sep 13:05

DO NOT REPLY [Bug 45896] New: Classloader problem when logging event (tomcat)

https://issues.apache.org/bugzilla/show_bug.cgi?id=45896

           Summary: Classloader problem when logging event (tomcat)
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Other
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: mimounl <at> gmail.com

When using jboss cache and jgroups library I have this error in my logs :

Sep 25, 2008 7:50:36 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive ROOT.war
Sep 25, 2008 7:55:33 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context []
Sep 25, 2008 7:55:33 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive ROOT.war
Sep 25, 2008 7:55:34 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.
Could not load java.io.PrintWriter. The eventual following stack trace is
caused by an error thrown for debugging purposes as well as to attempt to
terminate the thread which caused the illegal access, and has no functional
impact.
java.lang.IllegalStateException
        at
(Continue reading)

bugzilla | 25 Sep 10:51

DO NOT REPLY [Bug 45886] New: SysLog Appender does not take in to account Identity

https://issues.apache.org/bugzilla/show_bug.cgi?id=45886

           Summary: SysLog Appender does not take in to account Identity
           Product: Log4j
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: jamiguet <at> gmail.com

A usual extension to the syslog protocol allows for messages being sent to a
Facility (i.e Local0-7, Auth, ftp, ...) to also contain an Identity. 

The Identity enables for the messages to be differentiated at a later stage and
written to different files or persisted in different databases, even if they
originate from the same facility.

The Identity is declared in the appenders configuration, alongside the
facility.

This change would require for the configuration to contain a parameter i.e.
Identity and for that parameter to be added in the appropriate place in the udp
packet that is sent.

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
(Continue reading)


Gmane