Skip to content

native method [OpenFileMapping] returned null. #1406

Open
@snoopylovefiona

Description

@snoopylovefiona

Troubleshooting steps
https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps

Terminal issue? please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH
"OpenSSH for Windows" version
7.6.0.1
Server OperatingSystem
Windows 10 Enterprise
Client OperatingSystem
Windows 10 Enterprise
What is failing
I want to remotely execute a batch script via openssh to start a java process, for example:
cmd /c D:\batch\start.bat
It is successful.
but when i execution jps command It prompts :"-- process information unavailable"
When I traced the hotspot source code, I found out that the native method [OpenFileMapping] returned null.
why? Is it because there is no permission?
but i‘m using the same account.
so who can help me?????

Expected output

Actual output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions