Author |
Message
|
WMBSAM |
Posted: Thu Oct 21, 2010 1:46 pm Post subject: WMB v 7.0.0.1 Log 4j issue |
|
|
 Voyager
Joined: 02 Oct 2009 Posts: 90 Location: Atlanta
|
Hi everyone,
Recently we have upgraded Message broker from V7 to V7.0.0.1 and now we are facing the issue with log4j nodes. we use log4j nodes very often in our flows . After we have migrated to v7.0.0.1 the flows doesn't show up the log4j nodes there is a compatibility issue with log4j with the newer version. i don't know any one else has faced this issue but i am in a state of limbo to resolve this issue as the log4j nodes were used extensively for the logging mechanism.
Any sugggestions???  |
|
Back to top |
|
 |
zpat |
Posted: Thu Oct 21, 2010 11:23 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Is this the log4j support pac or just the standard log4j java classes?
What version of log4j is this? I don't have an answer but I am also interested in this (although personally I dislike use of logging). |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Oct 22, 2010 1:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Have you contacted the maintainer of this supportPac? Have they responded? |
|
Back to top |
|
 |
WMBSAM |
Posted: Fri Oct 29, 2010 3:41 pm Post subject: |
|
|
 Voyager
Joined: 02 Oct 2009 Posts: 90 Location: Atlanta
|
i am sorry for the late reply becoz i was on a vacation and i found this issue before i have gone for the vacation
@zpat:
i am talking abt the latest version of the log4j support pack and it doesn't work with the WMBv7.0.0.1
@mqjeff:
i have not contacted them yet but need too. thanx for the response
meanwhile only suggestion to the fellow folks if you like log4j node and want to use it then stick to v7(which means u may loss all the good features you have in v7.0.0.1)
Note: but log4j using esql works (refer support pack manual iam3.pdf)  |
|
Back to top |
|
 |
zpat |
Posted: Tue Nov 02, 2010 8:44 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Have you contacted the support pac's author or not?
They can't fix it if they don't know about it. |
|
Back to top |
|
 |
WMBSAM |
Posted: Wed Nov 03, 2010 12:36 pm Post subject: |
|
|
 Voyager
Joined: 02 Oct 2009 Posts: 90 Location: Atlanta
|
Yes have contacted the author and asked abt the future release compatibility of the WMBversions with log4j plugin . will update once the response is received.  |
|
Back to top |
|
 |
nieder |
Posted: Mon Nov 08, 2010 4:21 am Post subject: |
|
|
Newbie
Joined: 08 Nov 2010 Posts: 2
|
Hi everyone,
I'm the author of IAM3 and I want to tell you the following:
I am investigating the problem and I'm pretty sure that there will be a solution out soon. |
|
Back to top |
|
 |
nieder |
Posted: Fri Nov 12, 2010 5:38 am Post subject: |
|
|
Newbie
Joined: 08 Nov 2010 Posts: 2
|
If you encounter problems after upgrading the Message Broker Toolkit to a new version ( e.g. 7.0.0 -> 7.0.0.1 ):
1) Look into $TOOLKIT_INSTALL_DIR\configuration\org.eclipse.update.
2) Save a version of the file platform.xml.
3) Edit the file platform.xml as follows:
Replace the line:
<site enabled="true" policy="USER-EXCLUDE" updateable="true" list="Log4jLoggingPlugin/" url="platform:/base/">
with:
<site enabled="true" policy="USER-EXCLUDE" updateable="true" url="platform:/base/">
4) Restart the toolkit with the -clean option.
This workaround is also published on the IAM3 main page now. |
|
Back to top |
|
 |
WMBSAM |
Posted: Fri Nov 12, 2010 10:34 am Post subject: |
|
|
 Voyager
Joined: 02 Oct 2009 Posts: 90 Location: Atlanta
|
Thanx nieder for the intime response.  |
|
Back to top |
|
 |
manimku |
Posted: Tue Jan 04, 2011 11:33 pm Post subject: |
|
|
Newbie
Joined: 04 Jan 2011 Posts: 5
|
Hi WMBSAM,
now i am using MB 7.0. and i am going to install log4j, can you please tell me the version of log4j which support MB 7.0 and the higher version. It will help us to work better. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Jan 05, 2011 6:02 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
This is a prime reason not to use the SupportPac but to call Log4J directly. You don't need the SupportPac to make use of the Log4J libraries and the SupportPac just gets in the way, as you have discovered. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
WMBSAM |
Posted: Tue Jan 18, 2011 2:38 pm Post subject: |
|
|
 Voyager
Joined: 02 Oct 2009 Posts: 90 Location: Atlanta
|
@manimku
yes lancelotlinc is correct from my experience i would recommend you to use log4j directly instead of going to support pac thats my personal choice thou becoz i had to touch base the code to resolve the issue.
with regards,
WMBSAM |
|
Back to top |
|
 |
nukalas2010 |
Posted: Tue Jan 18, 2011 8:30 pm Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
WMBSAM wrote: |
@manimku
yes lancelotlinc is correct from my experience i would recommend you to use log4j directly instead of going to support pac thats my personal choice thou becoz i had to touch base the code to resolve the issue.
|
May I know how to use it directly Instead of going through supportpac?? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Jan 19, 2011 5:15 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
nukalas2010 wrote: |
WMBSAM wrote: |
@manimku
yes lancelotlinc is correct from my experience i would recommend you to use log4j directly instead of going to support pac thats my personal choice thou becoz i had to touch base the code to resolve the issue.
|
May I know how to use it directly Instead of going through supportpac?? |
You use it just like any other Java function call. Rather than use "Log4J nodes" you use a Java Compute Node in its place. Inside the Java Compute Node, you call out to Log4J logger just like any other Java program.
Good luck and best wishes to you.
Lance _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
nukalas2010 |
Posted: Wed Jan 19, 2011 5:52 am Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
Quote: |
Inside the Java Compute Node, you call out to Log4J logger just like any other Java program.
|
Thanku... lance  |
|
Back to top |
|
 |
|