You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2008/03/10 15:39:46 UTC
[jira] Commented: (AXIS2-3117) SecurityException thrown in
util.LoggingControl, when run from an applet
[ https://issues.apache.org/jira/browse/AXIS2-3117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577010#action_12577010 ]
Davanum Srinivas commented on AXIS2-3117:
-----------------------------------------
Fixed in svn revision 635568
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org