ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Log4j configuration..

Post new topic  Reply to topic
 Log4j configuration.. « View previous topic :: View next topic » 
Author Message
amr89
PostPosted: Tue Mar 15, 2011 1:11 am    Post subject: Log4j configuration.. Reply with quote

Novice

Joined: 08 Feb 2011
Posts: 16

Hi all,

I am using log4j support pack in WMB v7.I have developed a flow using compute node and log4j node. I followed the instructions given in user guide IAM3.pdf. But I am not able to generate log files.
Do I need to specify the log file path any where?

Please help me ..

Thanks in advance..


Thanks and Regards,
Amrutha
Back to top
View user's profile Send private message
nukalas2010
PostPosted: Tue Mar 15, 2011 2:58 am    Post subject: Reply with quote

Master

Joined: 04 Oct 2010
Posts: 220
Location: Somewhere in the World....

Hi,

Please check the previous posts regarding on Log4j configuration in this forum....
Back to top
View user's profile Send private message
amr89
PostPosted: Tue Mar 15, 2011 3:08 am    Post subject: Reply with quote

Novice

Joined: 08 Feb 2011
Posts: 16

Yes I have restarted my toolkit and broker. I am using brokerlog.xml to initialize log4j. In brokerlog.xml I have specified the path where log files need to be generated. But I am not able to see any log happening.

Please help me..
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Mar 15, 2011 3:42 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

This support pac does not work all that well. Many many previous posts have documented the difficulties with it.

You can still use log4j without the support pac. Simply place log4j-1.2.16.jar in /var/mqsi/shared-classes and log4j.properties in /var/mqsi/common/wsrr .

On Windows, this would be $MQSI_WORKPATH/shared-classes and $MQSI_WORKPATH/common/wsrr respectively.

Then use a JCN where-ever you want to log something rather than a specialized node.

By the way, there is no such version as WMB 7.1. What version of WMB are you using?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
amr89
PostPosted: Tue Mar 15, 2011 3:56 am    Post subject: Reply with quote

Novice

Joined: 08 Feb 2011
Posts: 16

Hi lancelotlinc,

Thanks for the reply. I will try to use log4j directly without support pack.

I am using WMB v7.0.0.0.


Thanks and Regards,
Amrutha
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Mar 15, 2011 3:58 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Current GA version of WMB is 7.0.0.2. It has some major bug fixes. Highly recommend you get that one.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Mar 15, 2011 6:39 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You should also evaluate the built-in features of Broker - Accounting & statistics, trace nodes, and monitoring - to see if these meets your needs without using log4j at all.
Back to top
View user's profile Send private message
amr89
PostPosted: Tue Mar 15, 2011 9:55 pm    Post subject: Reply with quote

Novice

Joined: 08 Feb 2011
Posts: 16

Thanks for the reply.

My flow works fine without using log4j that is I can get the message from input queue to output queue without any issue.

Problem occurs when I am using log4j logging plugin node.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Log4j configuration..
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.