You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/06/24 11:36:50 UTC

[GitHub] [maven-mvnd] j3rem1e opened a new issue, #659: wmic is required on windows

j3rem1e opened a new issue, #659:
URL: https://github.com/apache/maven-mvnd/issues/659

   My environment  has a GPO on wmic: I can't execute it with a user account.
   
   mvnd doesn't show any output in this environment. 
   
   ```
   C:\DEV>mvnd --status
         ID      PID                   Address   Status    RSS            Last activity  Java home
   
   [main] WARN org.mvndaemon.mvnd.common.OsUtils - Could not execute wmic process where processid=17288 get WorkingSetSize
   [main] WARN org.mvndaemon.mvnd.common.OsUtils - Unexpected output of wmic process where processid=17288 get WorkingSetSize:
   89301fbf    17288     inet:/127.0.0.1:61590     Idle    -1k  2022-06-23T13:48:31.527  C:\Program Files\RedHat\java-11-openjdk-11.0.14-1
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] ppalaga commented on issue #659: wmic is required on windows

Posted by GitBox <gi...@apache.org>.
ppalaga commented on issue #659:
URL: https://github.com/apache/maven-mvnd/issues/659#issuecomment-1166341332

   Hi @j3rem1e, thanks for the report. Could you please explain what is GPO? What would you expect from mvnd in this situation? Maybe an explicit error message?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] j3rem1e commented on issue #659: wmic is required on windows

Posted by GitBox <gi...@apache.org>.
j3rem1e commented on issue #659:
URL: https://github.com/apache/maven-mvnd/issues/659#issuecomment-1240876554

   Sorry for the delay..
   
   A GPO is a "Group Policy" on windows: an administrator can define rules on a windows domain. In my corporate environment, wmic is forbidden because of a GPO.
   
   However, after reading the source, I think I was wrong and that wmic is not really required, the error seem to be correctly handled by mvnd. I have to search why mvnd doesn't work anymore on my computer (it was working with v0.7 but not v0.8)
   
   mvnd seem to be locked, waiting for something, and mvnd --status : 
   
         ID      PID                   Address   Status    RSS            Last activity  Java home
   
   [main] WARN org.mvndaemon.mvnd.common.OsUtils - Could not execute wmic process where processid=11240 get WorkingSetSize
   [main] WARN org.mvndaemon.mvnd.common.OsUtils - Unexpected output of wmic process where processid=11240 get WorkingSetSize:
   8a8b25bc    11240     inet:/127.0.0.1:64317  Canceled    -1k  2022-09-08T17:23:38.964  C:\Program Files\RedHat\java-11-openjdk-11.0.14-1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] j3rem1e commented on issue #659: wmic is required on windows

Posted by GitBox <gi...@apache.org>.
j3rem1e commented on issue #659:
URL: https://github.com/apache/maven-mvnd/issues/659#issuecomment-1240895237

   when using `mvnd -e -Dmvnd.noBuffering=true clean install` I can see the build running normally. without this option, I don't have any progress in the console.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org