Issue Type: Bug Bug
Affects Versions: 1.0.11
Assignee: Logback dev list
Components: logback-core
Created: 14/May/13 3:43 PM
Description:

I try to use logback in a portlet app with the Liferay portal, whose new version (6.2.0) let administrators set up the java security management dynamically.

When the portlet app starts up (in the Liferay environment), the property "java.security.policy" is always null, and System.getSecurityManager() returns the current manager (null if no set, not null if set).

Logback always breaks in PackagingDataCalculator.getCodeLocation(Class) and PackagingDataCalculator.populateFrameStack(StackTraceElementProxy[]) because it calls Class<T>.getProtectionDomain() and Class<T>.getClassLoader().

Environment:

java 6 / MacOSX 10.7

Project: logback
Priority: Major Major
Reporter: Philippe Tran
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira