4

I am developing a simple message flow which uses Log4j to log the status at various stages. But when I am trying to run this flow I am getting the following error. I have use Log4jNode in the message flow.

An error occurred when trying to resolve the Java class or method ''com.ibm.broker.IAM3.Log4jNode.initLog4j'' which is referred to by the routine ''initLog4j''

As the error message states, I guess it couldn't find the reference for the log4jNode. But I couldn't find any help which could nail this down. Experts please help me.

1 Answers1

2

Log4jNode is one of the Category 2 - unsupported Websphere MQ SupportPacs. This is sort of a compute node used to configure and write log files. The error has occured during initialization.

As you have guessed, there seems to be a trouble finding the reference jar in MQ Broker's classpath. Please check the documentation found here and see if you have missed anything.

Cid
  • 1,453
  • 1
  • 18
  • 37
  • I have copied the _jar_ files already in the correct locations as described in the PDF this time I am getting a **different** error. Are there **any more** configurations apart from the jar files? –  Dec 07 '12 at 10:51
  • If I correctly recollect, there are a couple of more files `broker.xml` and `log4j.dtd` to be placed somewhere. – Cid Dec 07 '12 at 10:57
  • Thanks a lot I think it is available in the **samples** folder of the SupportPacs download. –  Dec 07 '12 at 11:03