Hi, I have MDB, in onMessage(), I am sending an email. This is all in try block. In catch(), I am rollbacking qSession, as it would go back agin to queue. If the session is rollbacked, I need to update database with status, for this I am calling EJB. Here the problem is, After rollback, this ejb...
yes, this is the properties file which Log4J uses!
Anyway, I have figuredout the problem, as RollingFileAppender default max file size is 10mb, so it is rollingover for every 10mb.
Thanks,
Murthy P
No, I have mentioned like following
******************
WebLogicObjectName aObjectName = new WebLogicObjectName("JMS0","JMSServer","patnaikJMS");
JMSServerMBean jmsServer = (JMSServerMBean)home.getMBean(aObjectName);
currentServer = jmsServer.getTargets()[0].getName()...
Hi, We have JMS clustering across two managed servers in weblogic 8.1. Initially JMS server is targtted to first managed server. After that, I manually migrated JMS server to second managed server. In this scenario, How to know which managed server is currently hosted JMS server in pogrammatic...
Hi,
We have JMS clustering across two managed servers in weblogic 8.1. Initially JMS server is targtted to first managed server. After that, I manually migrated JMS server to second managed server. In this scenario, How to know which managed server is currently hosted JMS server in pogrammatic...
Hi,
I am using same file for weblogic server log and Log4J log.
Weblogic has file backup mechanism, if file exceeds 100KB. How to use the same for log4J. Because, If I am not specify the maxFileSize in log4J properties, It will keep on writing to same file, weblogic unable to move this file as...
It is the requirement to have single log file, and only weblogic server RUNNING message is replacing old log4j logger statements. Can you give suggestion in using same file.
Thanks,
Murthy P
Hi,
We are using same log file for both weblogic server log and log4J log. Both are behaving as normal except in one situation, that is,
We have Log4J logger messages in startup class, after writing these messages, we have a message from weblogic syaing Server is in RUNNING mode. This message...
I am using Properties instead of log4j.properties. Here sample is the package, which is to be WARN level. I am not successful in this case. Please help me in this regard.
Following is the Properties I am setting...
________________________________________________
Properties props = new...
I have tried this option, but everytime this is taking rootlogger, as log4j.rootLogger=ERROR, A1
After that, as you specified, I kept app as, log4j.logger.samplePackage.sampleClass=DEBUG, A1
But this is not working as expected, as rootLogger is only taking considerarion.
Please help me in...
How to assign logging level(info, debug, error, fatal) to individual classes?
Normally, logging level is applicable to app level.
But I need to change the logging level to each class on demand.
Please help me in this regard.
Thanks,
Murthy P
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.