SecurityException thrown in util.LoggingControl, when run from an applet
------------------------------------------------------------------------
Key: AXIS2-3117
URL: https://issues.apache.org/jira/browse/AXIS2-3117
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: kernel
Affects Versions: 1.2
Reporter: Joachim Gaupp
I'm using an applet as axis2 client. To be more specific it is an unsigned
applet, so System.getProperty(..) throws a SecurityException.
Currently the implementation of LoggingControl doesn't care for this
(admittedly rarely used) situation.
Possible fix:
public class LoggingControl {
public static final boolean debugLoggingAllowed;
static{
String prop=null;
try{
prop=System.getProperty("Axis2.prohibitDebugLogging");
}catch(SecurityException lSE){
//do nothing
}
debugLoggingAllowed= prop==null;
}
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]