This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 12793 - Cannot debug on Linux: AccessControlException
Summary: Cannot debug on Linux: AccessControlException
Status: CLOSED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Karel Serin
URL:
Keywords:
: 14694 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-06-12 20:26 UTC by sapex
Modified: 2001-11-09 14:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (7.80 KB, text/plain)
2001-07-20 20:32 UTC, sapex
Details
ide.policy (694 bytes, text/plain)
2001-07-14 18:38 UTC, Patrick Godeau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sapex 2001-06-12 20:26:19 UTC
I have an AccessControlException when I try to launch debugger
on Debian 2.2. Debugger is not usable.
Perhaps I missed something? Please tell me.

I join ide.log

Thanks!
Comment 1 sapex 2001-06-12 20:28:02 UTC
Created attachment 1562 [details]
ide.log
Comment 2 Jan Jancura 2001-06-22 17:18:40 UTC
You have probalby corrupted version of ide.policy file or bad path to java.home. 
Can you check it or reinstall JDK, please?
Comment 3 Patrick Godeau 2001-07-14 18:37:10 UTC
I join ide.policy, it doesn't look corrupted
(I don't understand how it works but I never changed it).
I reinstalled JDK (Blackdown 1.3) but nothing changed.

So I installed JDK 1.3.1 from Sun, and now the debugger works :-)

But this does not explain the problem.
Why debugger does not work with Blackdown?
I noticed that the jre directory under j2sdk1.3
is a (valid) symbolic link: could it be an possible cause?

Comment 4 Patrick Godeau 2001-07-14 18:38:23 UTC
Created attachment 1874 [details]
ide.policy
Comment 5 Jan Stola 2001-07-26 11:41:30 UTC
Assigned to appropriate QA engineer.
Comment 6 Karel Serin 2001-09-03 09:50:32 UTC
I try unsuccessfuly reproduce this issue and it seems for Linux RH6.2 
with Blackdown JDK it works. The debugger starts and run as usual. So 
it can't be considered as a bug and the issue won't be fixed.

As I read enclosed ide.log I noticed following line:
>>java.security.AccessControlException: access denied
(java.lang.RuntimePermission loadLibrary.dt_shmem)

It looks like you tried to use dt_shmem transport as mean of inter-
process communication instead of more eligible dt_socket. 

Anyway, there is no dt_shmem dynamic library under Blackdown JDK lib 
directory so there's no way how to use that kind of transport.
Comment 7 Jan Stola 2001-09-07 14:40:00 UTC
Wontfix -> Closed.
Comment 8 Jan Stola 2001-11-09 14:54:22 UTC
*** Issue 14694 has been marked as a duplicate of this issue. ***