What do do when you get an error using Log4j in your Jython scripts…

Reason: Well, my Jython code was using Log4j and I had not included a properties file. How do I know this? We see the last three lines. Sometimes in a stack trace you need to be able to look for.. read more →

Facebooktwittergoogle_plusredditpinterestlinkedinmail

When using Log4J in my WebSphere Jython script I get the following Error

Solution: Modify the <was_profile_root>/properties/wsadmin.properties file to add the Log4j.ar to the wsadmin.sh classpath In solution below you can see how I added the appropriate log4j.ar to the wsadmin,sh class path.

read more →

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Debugging adding log4j to Jython for nice Logging in WebSphere automation scripts. Error: Solution: Is to ensure that the log4j JAR file is in the class path for wsadmin. You can do this by simply adding the log4J JAR file to <was_root>>/lib/ext folder. If you want code that shows you how to use log4j in.. read more →

Facebooktwittergoogle_plusredditpinterestlinkedinmail