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 IndexWebSphere Message Broker SupportLog4j issue

Post new topicReply to topic
Log4j issue View previous topic :: View next topic
Author Message
vmanel
PostPosted: Wed Jul 17, 2019 9:12 am Post subject: Log4j issue Reply with quote

Apprentice

Joined: 12 Mar 2019
Posts: 27

Hi,

We are facing issue with log4j(IAM3 support pac, which is not reliable), we had placed log4j.xml properties in a certain location under /var/log and then later we created a seperate directory /app and moved it there. Now we are getting the error saying

Text:CHARACTER:java.lang.LinkageError: loading constraint violation: loader "com/ibm/broker/classloading/SharedClassLoader@5f9122a6" previously initiated loading for a different type with name "org/apache/log4j/spi/LoggingEvent" defined by loader "com/ibm/broker/classloading/GroupedClassLoader@a08119db"

We tried restarting EG, broker, deleting and redeploying the applications, but the issue was not resolved
jar files are placed in the location /var/mqsi/shared-classes.
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Thu Jul 18, 2019 12:25 am Post subject: Reply with quote

Master

Joined: 17 Jul 2017
Posts: 295
Location: UK

hi...i'm not sure where IAM3 looks for log4j.xml properties file - at PATH, CLASSPATH variables or the default Integration server/Broker workpath/classpath folders.

You could try compare where all '/var/log' exists and add '/app' to the same and see that works, eg:- to the PATH or CLASSPATH variables.
Back to top
View user's profile Send private message
Dunesh
PostPosted: Thu Jul 18, 2019 12:36 am Post subject: Log4j issue Reply with quote

Newbie

Joined: 01 Jul 2019
Posts: 7

Here is a link which can be bit helpful as per senario.
https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014455516
_________________
__________________
Darkness remains same for all Brightness varies.
Back to top
View user's profile Send private message
vmanel
PostPosted: Sat Jul 20, 2019 5:57 am Post subject: Reply with quote

Apprentice

Joined: 12 Mar 2019
Posts: 27

abhi_thri wrote:
hi...i'm not sure where IAM3 looks for log4j.xml properties file - at PATH, CLASSPATH variables or the default Integration server/Broker workpath/classpath folders.

You could try compare where all '/var/log' exists and add '/app' to the same and see that works, eg:- to the PATH or CLASSPATH variables.


You mean to say that, this can be related to log4j.xml file also, and not related to jar?
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportLog4j issue
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.