IV21472: INABILITY TO USE ATTACH API ON A JAVA PROGRAM RUNNING AS A WINDO WS SERVICE ON WINDOWS 7
Closed as program error.
Error Message: When a Java program running as a Windows user process tries to use the Attach API to connect to a Java program running as a Windows 7 service, either the service process is absent from the output of AttachProvider.listVirtualMachines() or the attach attempt fails after a long delay. . Stack Trace: N/A .
A process running as a service can attach to other Java services owned by the same user.
User processes cannot attach to services and vice versa due to Windows operating system restrictions. Inter-user permission failures can cause corruption of the service's files for attach API. This does not affect other aspects of the service process's operation.
This defect will be fixed in: 7.0.0 SR2 6.0.1 SR3 6.0.0 SR11 . The JVM has been fixed to prevent corruption or removal of Attach API files for processes owned by other users. Attachment between user processes and services is not supported; an "AttachNotSupportedException" is thrown if a user process tries to connect to a Java service.
Reported component name
J9 COMMON CODE
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
J9 COMMON CODE
Fixed component ID
Applicable component levels
Translate this page: