[jboss-user] [Installation, Configuration Deployment] - Log4j SMTP appender not working for multiple war files.

2009-09-09 Thread navinmca
Hi Guys, I am facing one interesting issue and I am kinda stuck. I am using jboss 4.2.3 GA, I have two war files both have there own log4j.xml and i have seperated jboss level log file using jboss-log4j.xml We have SMTP configured for ERROR level in jboss-log4j.xml. Issue is when error

[jboss-user] [Installation, Configuration Deployment] - log4j onlly applies after server starts up

2009-08-26 Thread Elhanan
hi.. i have an ear with isolated mode, it has it's own log4.xml which has this single logger: appender-ref ref=PMP_FILE/ and a file appender called pmp_file if it try to place in jboss.xml this: appender-ref ref=PMPCONSOLE/ appender-ref

[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j Error

2009-08-18 Thread tmcdeploy
Hi, I'm trying to deploy a WAR file with it's own log4j.properties and log4j.jar. I have tried using the jboss-web.xml in the WEB-INF directory as shown below: ?xml version=1.0 encoding=UTF-8 ? | !DOCTYPE jboss-web PUBLIC | -//JBoss//DTD Web Application 4.2//EN |

[jboss-user] [Installation, Configuration DEPLOYMENT] - log4j config file behaviour

2009-07-07 Thread brettcave
In jboss-log4j.conf, how does defining categories affect which appenders are used. E.g. If I have something like: appender-ref ref=CONSOLE / appender-ref ref=SMTP / appender-ref ref=CONSOLE / appender-ref ref=FILE / Will com.mycompany.package1 only log ERROR to

[jboss-user] [Installation, Configuration DEPLOYMENT] - log4j config file behaviour

2009-07-07 Thread brettcave
In jboss-log4j.conf, how does defining categories affect which appenders are used. E.g. If I have something like: | category name=com.mycompany.package1 | priority value=ERROR / | appender-ref ref=CONSOLE / | /category | | category name=com.mycompany.package2 | priority

[jboss-user] [Installation, Configuration DEPLOYMENT] - log4j creates no log file

2009-06-23 Thread Tarantul
Hi all, I am trying to configure log4j for logging my application in a separate file. Just like it is described in http://www.jboss.org/community/wiki/ClassLoaderScoping. Unfortunately the logging file isn't created. What is my mistake? I use JBoss5.1.0AS with scoped classloading for my

[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j is not outputting to my application specific log file

2009-06-17 Thread rizqureshi2
I have the following application entry in ../default/conf/jboss-log4j.xml: | appender name=APPENDER2 class=org.apache.log4j.DailyRollingFileAppender | param name=Threshold value=DEBUG/ | param name=Append value=true/ | param name=File

[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j

2009-02-05 Thread div_gcet1
Hi Here i m working on JBoss 4.2.2. I have a custom log4j(djboss-log4j.xml). My problem when server configure that xml file , I have given the entry of an appender in that file and that appender is also not created.Please help me. djboss-log4j.xml-: | ?xml version=1.0 encoding=UTF-8? |

[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j

2009-02-03 Thread div_gcet1
Hi I m working on JBoss 4.2.2. And i have made a custom log4j.xml file. I want to deploy it with my application.The problemis my application have only have one jar file containg all class files and ejb file and there is no classes folder.So where should i put my costom log4j fille is

[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j mismatch ?

2009-01-08 Thread kejoseph
I have JBoss setup with the default log4j.xml. My problem is that all application related messages that are printed in the server.log are displayed at INFO level. The application that is deployed has its own log4j file with its own pattern layout. Could this be causing it or is the issue

[jboss-user] [Installation, Configuration DEPLOYMENT] - log4j error when started jboss

2008-12-30 Thread feelsanjeev
I'm getting the following error when started the jboss. Thanks in advance for replies 2:08:40,278 ERROR [STDERR] log4j:ERROR A org.jboss.logging.appender.FileAppend er object is not assignable to a org.apache.log4j.Appender variable. 12:08:40,278 ERROR [STDERR] log4j:ERROR The class

[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j hit error but no mail sent?

2008-11-12 Thread gan.gary
I use a JBoss for queue. I have configured the SMTPAppender in jboss-log4j.xml in C:\jboss-4.2.2.GA\server\default\conf. ( the add are hid) appender name=SMTP class=org.apache.log4j.net.SMTPAppender | errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/ | param

[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j woes, please help

2008-07-09 Thread moksha2007
Hi, I've wrapped a complex WAR (using its own log4j.xml config) inside an EAR and deployed that in Jboss (4.2.2 Ga) and encounter the following: - Logging fails: ERROR: invalid console appender config detected, console stream is looping - The application IS deployed and runs as expected, just

[jboss-user] [Installation, Configuration DEPLOYMENT] - log4j error during Run, after Deployment

2008-05-29 Thread taicode
Hi, I'm using JBoss 4.2.2 and MyEclipse 6.0. Everything is fine to the Deployment, but after I RUN the JBoss, I get the following Error Message Snippet: Please help. thank you. | 08:00:36,862 ERROR [STDERR] log4j:ERROR A org.jboss.logging.appender.FileAppender object is not assignable

[jboss-user] [Installation, Configuration DEPLOYMENT] - log4j and jboss 5.0.0

2008-05-23 Thread kgoedert
Hello, I'm trying to configure log4j for my application running on jboss 5.0.0 Beta 4. Is it possible to have a log4j.properties in my application or the only way is to use jboss-log4j.xml? If it is possible to have a properties file, can someone give me an example? I have the properties inside

[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j repository selector solution for EAR files

2008-04-28 Thread smpub2000
To solve the issue of having your own log4j.properties, the article at http://wiki.jboss.org/wiki/Log4jRepositorySelector says: While you can solve this problem using class loader scoping, the preferred way to do this is using a RepositorySelector . However the article in the url above does not

[jboss-user] [Installation, Configuration DEPLOYMENT] - log4j config help

2008-02-05 Thread babygodzilla
i followed instructions here http://www.techienuggets.com/Detail?tx=33 to create configurations such that log4j will send emails containing Error messages to a certain email. | log4j.appender.Mail=org.apache.log4j.net.SMTPAppender | log4j.appender.Mail.SMTPHost=smtp.gmail.com |

[jboss-user] [Installation, Configuration DEPLOYMENT] - log4j config help

2008-02-05 Thread babygodzilla
i followed instructions here http://www.techienuggets.com/Detail?tx=33 to create configurations such that log4j will send emails containing Error messages to a certain email. | log4j.appender.Mail=org.apache.log4j.net.SMTPAppender | log4j.appender.Mail.SMTPHost=smtp.gmail.com |

[jboss-user] [Installation, Configuration DEPLOYMENT] - log4j config help

2008-02-05 Thread babygodzilla
i followed instructions here http://www.techienuggets.com/Detail?tx=33 to create configurations such that log4j will send emails containing Error messages to a certain email. | log4j.appender.Mail=org.apache.log4j.net.SMTPAppender | log4j.appender.Mail.SMTPHost=smtp.gmail.com |

[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j in .SAR FILE

2008-01-01 Thread anupamkakade
HI, I want my .sar file which is deployed on jboss should not print INFO messages on console . I downloded the necessary documents for how to use the log4j.properties file for the application to use its own logging mechanism . But dear guys, that documents are for .war file only . I have

[jboss-user] [Installation, Configuration DEPLOYMENT] - log4j configuration problem

2007-12-28 Thread badgerduke
Hello: I get the following errors when I start up jBoss (4.2.1.GA): - ERROR [STDERR] log4j:ERROR A org.jboss.logging.appender.FileAppend er object is not assignable to a org.apache.log4j.Appender variable. ERROR [STDERR] log4j:ERROR Could not

[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j keeps on logging on STDOUT

2007-11-30 Thread stlecho
Hi, Our application is based on the Spring framework and deployed in JBoss v4.0.2-GA. The logging aspects of the application are configured with an application-specific log4j.xml. This file is initialized with the Log4JConfigurer Spring bean and contains an ERROR level for the org.hibernate

[jboss-user] [Installation, Configuration Deployment] - log4j with jboss issue ?

2007-06-09 Thread jsbhangra
I tried to use log4j with my web application deployed on JBoss.. but JBoss did not permit it . so i configured JBoss logging in my application as in this link :http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigureLogging... Every thing worked fine , but now i want to use MDC( mapped diagnostic

[jboss-user] [Installation, Configuration Deployment] - log4j configuration in ear file

2007-05-27 Thread kstrunk
Hello, I'm using JBoss 4.2.0 and I want to add a custom log4j.properties to my ejb.jar and web.war. I'd like to do the following: application.ear | web.war | ejb.jar | log4j.jar I put the log4j.properties in my web.war and in my ejb.jar. Both of them uses log4j.jar referenced from

[jboss-user] [Installation, Configuration Deployment] - log4j deadlock issue

2007-03-29 Thread hsaha
Hi, For the log4j deadlock issue mentioned below in the discussion threads, could you point me to the patch location, or is there a possible work-around you can suggest. The issue is detailed in http://www.jboss.com/index.html?module=bbop=viewtopict=71278postdays=0postorder=ascstart=10 and

[jboss-user] [Installation, Configuration Deployment] - Log4j conflicts and classLoading nightmare in jboss 4.0.5

2007-03-23 Thread meissa
Hi all, I'm seriousely tearing my hair off with jboss 4.0.5 classloding problems We're trying to migrate from jboss 4.0.3.SP1 to jboss 4.0.5. About 10 applications are concerned (all of them are ears) and each of them have their loader repository defined like below in jboss-app.xml file Each

[jboss-user] [Installation, Configuration Deployment] - log4j configuration JBoss

2007-02-13 Thread srini6699
I extended the log4j.dtd and i put my log4j.xml file under conf but when JBoss starts it tries to use the original log4j.dtd file and not mine although I have referenced my dtd in the log4j.xml file.. Any ideas why this might happen? I'd appreciate any help from you!! View the original post :

[jboss-user] [Installation, Configuration Deployment] - log4j and Jboss-4.0.5 GA

2007-01-02 Thread lluo
I have a question on using log4j in JBoss-4.0.5 environment. I have log4j.properties file under my web application /WEB_INF/classes directory as follows: # Set root logger level to error, and specify a file appender log4j.rootLogger=error, File ## File appender definition ###

[jboss-user] [Installation, Configuration Deployment] - Log4j an JBOSS 4.0.5

2006-11-15 Thread russray
I have downloaded the latest version and ran the window installer. Where I start the server up, an error displays involving the log4j component. I have not changed the log4j.xml settings, so I am confused why this error would even happen: | 20:05:44,757 ERROR [STDERR] log4j:ERROR A

[jboss-user] [Installation, Configuration Deployment] - log4j RepositorySelector - log4j.jar missing RootLogger

2006-11-13 Thread nick77
Hi, I'm putting together a log4j RepositorySelector using this http://www.qos.ch/logging/sc.jsp as a guide to provide a consistent logging approach for my webapp across different app servers. However, the log4j.jar included with JBoss (4.0.4.GA) does not include the RootLogger class. Has this

[jboss-user] [Installation, Configuration Deployment] - log4j 1.3 and JBoss 4.0.1sp1

2006-11-08 Thread earniedyke
Greetings!!! I would like to use Chainsaw to access my log4j logs but it requires log4j v1.3. Has anyone upgraded their log4j to 1.3? Earnie! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3984324#3984324 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Log4j error on startup: could not create an appender

2006-11-03 Thread flarosa
Hi, I recently started seeing this error in my logs when my server starts up. It used to work fine, and I have not changed anything in the configuration files for months. Also, my hard drive is not full. Any ideas as to what's causing it? Thanks. 2006-11-02 19:59:39,439 INFO [STDOUT]

[jboss-user] [Installation, Configuration Deployment] - log4j logging not working as expected! What am I doing wrong

2006-10-24 Thread forumer
jBoss 4.0.4 I am trying to print a debug level message in a category which I think is set up with DEBUG. Yet I am not seeing the message! I'd appreciate it if somebody could point out what I am doing wrong. Here are excerpts of the log4j.xml: |appender name=FILE

[jboss-user] [Installation, Configuration Deployment] - Log4j error

2006-10-18 Thread emontana
Hi, I'm a new user in jboss. My problem is when I run jboss obtain the following log: | 0:20:38,747 INFO [TomcatDeployer] deploy, ctxPath=/Cultura, warUrl=file:/usr/share/jboss-4.0.2/server/default/deploy/Cultura.war/ | 10:20:41,191 INFO [STDOUT] log4j:ERROR A

[jboss-user] [Installation, Configuration Deployment] - Log4j error

2006-10-18 Thread emontana
I forgot to comment that I am working in a debian sarge with jboss 4.0.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3979025#3979025 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3979025

[jboss-user] [Installation, Configuration Deployment] - Log4j problems breaking deployment

2006-09-09 Thread graeder
It appears that I'm getting ClassLoader issues when deploying to jboss-4.0.4 with log4j. I have a log4j.jar packaged in my war, and I know there is one in the server lib directory as well. Here's the error: Caused by: java.lang.NoClassDefFoundError at

[jboss-user] [Installation, Configuration Deployment] - log4j truncates my stack traces, why?

2006-08-30 Thread sjmenden
I want to configure log4j.xml to NOT truncate my stack traces, and I've searched google for about an hour on how to do it to no avail, someone please HELP! Ex. | Caused by: javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl[FormatId=257,

[jboss-user] [Installation, Configuration Deployment] - Log4J configuration in the embeddable EJB3 container/Seam

2006-08-12 Thread zzzz8
I'm migrating to JBoss Seam, while sticking with Tomcat - which means that I'm using the embeddable EJB3 container. I've followed the steps outlined in section 9.3.3 of the JBoss Seam reference documentation: http://docs.jboss.com/seam/latest/reference/en/html/configuration.html#d0e4780 I've