[
https://issues.apache.org/jira/browse/DERBY-3103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kathey Marsden resolved DERBY-3103.
-----------------------------------
Resolution: Duplicate
This is a duplicate of DERBY-3086
> Basic server security policy does not allow trace to be turned on
> ------------------------------------------------------------------
>
> Key: DERBY-3103
> URL: https://issues.apache.org/jira/browse/DERBY-3103
> Project: Derby
> Issue Type: Bug
> Components: Security
> Affects Versions: 10.3.1.4
> Reporter: Bernt M. Johnsen
>
> When a server runs with basic server security policy, the "server trace on"
> command gievs the following exception on the server:
> access denied (java.io.FilePermission Server1.trace write)
> java.security.AccessControlException: access denied (java.io.FilePermission
> Server1.trace write)
> at
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
> at
> java.security.AccessController.checkPermission(AccessController.java:427)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at java.lang.SecurityManager.checkWrite(SecurityManager.java:962)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:169)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
> at java.io.FileWriter.<init>(FileWriter.java:46)
> at org.apache.derby.impl.drda.DssTrace.startComBufferTrace(Unknown
> Source)
> at org.apache.derby.impl.drda.Session.initTrace(Unknown Source)
> at org.apache.derby.impl.drda.Session.setTraceOn(Unknown Source)
> at
> org.apache.derby.impl.drda.NetworkServerControlImpl.setTrace(Unknown Source)
> at
> org.apache.derby.impl.drda.NetworkServerControlImpl.processCommands(Unknown
> Source)
> at
> org.apache.derby.impl.drda.DRDAConnThread.sessionInitialState(Unknown Source)
> at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.