Bugs item #568668, was opened at 2002-06-13 20:13 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=568668&group_id=22866
Category: JBossServer Group: v3.0 Rabbit Hole Status: Pending Resolution: None Priority: 5 Submitted By: Misha Rybalov (mrybalov) Assigned to: Nobody/Anonymous (nobody) Summary: Log4J conflict between JBoss and EJBs Initial Comment: We have recently decided to port our EJBs from Orion to JBoss and have run into the following difficulty: We are using Log4J in our EJBs and classes for debugging information. When we try to use the same beans with JBoss, we get the following error message from JBoss: -------------------------------------------------------------------------- ERROR: invalid console appender config detected, console stream is looping -------------------------------------------------------------------------- We are using Log4J v1.1.2 and JBoss 3.0 is using v1.2.2. Accoding to Apache, Log4J 1.2.3 is now available. I tried replacing our log4j.jar (1.1.2) inside JBoss (C:\jboss-3.0.0\server\default\lib) with the one that we're using but that didn't help. I tried replacing C:\jboss- 3.0.0\lib\log4j-boot.jar with our log4.jar (renamed it to log4j- boot.jar) but that didn't work either. I tried to use the log4.properties files that come with JBoss (C:\jboss-3.0.0\src\jboss- all\console\src\resources) but that didn't help either. Anybody ran into this before? System: Win2K JDK1.3 ---------------------------------------------------------------------- Comment By: James Cooley (jcooley) Date: 2002-06-14 13:30 Message: Logged In: YES user_id=338020 I'm getting this problem with a servlet that loads its own log4j.xml (that worked with JB 2.4). I got rid of this initially by removing the CONSOLE appender from my app (I had both file and console). I tried the latest log4j release (version 1.2.4, June 12th, 2002) and it's not fixed. Unfortunately it isn't possible to go back to the version of log4j that works with JBoss 2.4. I couldn't find anything on google but the log4j list does have a lot of unsolved problems for apps with multiple output streams. If you have any ideas maybe we can kick them around. James ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2002-06-14 02:29 Message: Logged In: YES user_id=175228 Attach a sample ejb that illustrates how you are trying to use log4j. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=568668&group_id=22866 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development