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 51216 - Attach failed via PID
Summary: Attach failed via PID
Status: CLOSED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: mishadmitriev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-05 21:48 UTC by jchristi
Modified: 2007-02-12 21:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jchristi 2004-11-05 21:48:26 UTC
I attempted to use the attach via PID method,
where the JVM is running as a service (Tomcat
running under jk_nt_service).

When I do this I get the following error message:
Starting Profile DLL inside the process with PID
2132 failed
Reason: could not get process handle.
Possible causes: a wrong PID or a security issue.
Comment 1 mishadmitriev 2004-11-05 21:59:58 UTC
It's likely that this issue is not a JFluid defect. I am not an 
expert in Win2K security system (if such a thing exists :-)), but I 
guess that in this case it's really an OS that prevents potentially 
dangerous things from happening. Presumably, the OS, by default at 
least, does not allow an aribtrary process to start a DLL inside a 
process that runs as a service. You probably have to have 
Administrator rights and/or some additional rights to be able to do 
that.
Comment 2 mishadmitriev 2004-12-01 03:50:45 UTC
I believe in this case you are really trying to get through a 
security mechanism in Windows, so this is not a JFluid issue
Comment 3 ehucka 2006-10-09 12:11:29 UTC
Verification of old issues.
Comment 4 Alexander Kouznetsov 2007-02-12 21:58:40 UTC
Closing old issues.