#12 Problem genConfig running on Windows 7 (32 bits)

Any
wont-fix
rzo
None
5
2014-03-09
2013-10-31
No

Hi. My name is Alfredo Weinberg. I'm trying to use yajws version 11.07.
I unpacked the zip file, change to bat directory and run genConfig.bat xxxx where xxxx is the pid of a running java process.
The output is the following

D:\yajsw-stable-11.07\bat>rem usage genconfig.bat <pid> [-d <default configuration="" file="">]<output file="">

D:\yajsw-stable-11.07\bat>cd D:\yajsw-stable-11.07\bat\

D:\yajsw-stable-11.07\bat>call setenv.bat
"java" -Xmx30m -Djna_tmpdir="D:\yajsw-stable-11.07\bat\/../tmp" -Djava.net.preferIPv4Stack=true -jar "D:\yajsw-stable-11.07\bat\/../wrapper.jar" -g 3536 -d "D:\yajsw-stable-11.07\bat\/../conf/wrapper.conf.default" "D:\yajsw-stable-11.07\bat\/../conf/wrapper.conf"
YAJSW: yajsw-stable-11.07
OS : Windows 7/6.1/x86
JVM : Sun Microsystems Inc./1.6.0_33/C:\Program Files\Java\jre6/32
**** GENERATING YAJSW CONFIGURATION FOR PID 3536 ****

cannot find process 3536

Any idea????

Best Regards
Alfredo

Discussion

  • Alfredo Weinberg

    My mistake. I was using a process running as SYSTEM. In that case the Win32 api call fails.
    When I choose another process (normal user account process) it worked ok.

     
  • rzo

    rzo - 2014-03-09

    Alfredo,

    yes, genConfig needs the user rights to read the command line of the process.
    thanks for the feedback.

    -- Ron

     
  • rzo

    rzo - 2014-03-09
    • status: open --> wont-fix
     

Log in to post a comment.