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
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
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
|
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
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
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
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
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?
|
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
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
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
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
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
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
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
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
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
|
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
|
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
|
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
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
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
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
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
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
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
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 :
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 ###
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
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
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 :
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 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
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
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
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
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,
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
38 matches
Mail list logo