I'm not saying it's a jar issue, it's a class loader issue...
Logging at the point that you're trying to use it has been configured by the portal, not by the portlet. You're trying to use logging at the portlet level, and at that point log4j just has the stuff for the portal in the log4j context.
You can either reconfig log4j at the portlet level, or you can plug into the portal's logging by replacing log4j references w/ the portal's logging context as follows:
1private static final Log logger = LogFactoryUtil.getLog(MyClass.class);
Please sign in to flag this as inappropriate.