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 Classpath

Post new topic  Reply to topic
 Log4j Classpath « View previous topic :: View next topic » 
Author Message
mystro
PostPosted: Mon Apr 14, 2014 11:02 pm    Post subject: Log4j Classpath Reply with quote

Newbie

Joined: 02 Apr 2012
Posts: 5

Hi all,

Need your help with the following item. I've looked everywhere to resolve it.

Basically I use the Log4j node to log to a flat file. We provide it an xml file in the shared-classes folder to indicate where it is to write to etc.

However, we have had a release to production and the xml file does not want to be read.
The following error appears.
2014-04-15 08:23:34.057 171 log4j:WARN Error looking up config file
2014-04-15 08:23:34.057 171 java.io.FileNotFoundException: ibus_wmblog4j.xml

I am to replicate it within our preproduction environment and have WMB read the file however not on our production box.

Any ideas?

Appreciate all the help
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 15, 2014 7:45 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Use a configurable service with an absolute path?

Better yet switch to java.logging
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mystro
PostPosted: Tue Apr 15, 2014 5:23 pm    Post subject: Reply with quote

Newbie

Joined: 02 Apr 2012
Posts: 5

Resolved - Added the variable to the OS level environment variables to resolve. Restarted the broker and done.
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 Classpath
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.