Bugs item #585372, was opened at 2002-07-23 12:12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=585372&group_id=22866

Category: JBossServer
>Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Laurence Smith (lasmith)
Assigned to: Nobody/Anonymous (nobody)
Summary: Console appender looping

Initial Comment:
I have searched the forums and found there is a known 
issue when you try and configure log4j twice in that the 
console appender loops (I couldn't find a bug report 
though). This causes the logging to the console to stop 
completely and gradually eats up resources i assume.

I have also come accross the same problem when you 
configure the mbean for the log4j service by calling the 
constructor (String, int) in jboss.conf. This is so log4j 
uses the 'configure and watch' API. This is to allow me 
to turn debugging on and off at runtime (useful if you 
aren't allowed to take the site down).

Here is the line in jboss.conf:

<MLET CODE = "org.jboss.logging.Log4jService" 
ARCHIVE="jboss.jar,log4j.jar" 
CODEBASE="../../lib/ext/">
        <ARG TYPE="java.lang.String" 
VALUE="log4j.properties">
        <ARG TYPE="int" VALUE="5">
</MLET>

this appears to work ok, however when it comes to 
reloading the config file after a change the console 
appenders goes into its infinite loop. 

I am assuming this is a JBoss issue I have quickly 
looked at the source, Log4jService.java and cant see 
anything blatently obvious, so perhaps it is a log4j 
issue. I tried upgrading log4j to 1.2.5 but still had the 
same problem.

I am running JBoss 2.7 (I would have entered it in the by 
the way, though I encountered the first problem on 3 
aswell.

ls

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=585372&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to