Hello,
I was unable to start the service using the provided service wrapper. I got
this error:

[2022-02-11 06:50:20] [info] Starting service...
[2022-02-11 06:50:20] [174  javajni.c] [error] %1 is not a valid Win32
application.
[2022-02-11 06:50:20] [947  prunsrv.c] [error] Failed creating java
C:\Program Files\Java\jdk1.8.0_201\jre\bin\server\jvm.dll

After some research, it looked like there was a 32bit/64bit issue. I went
ahead and downloaded the latest Tomcat10.exe and Tomcat10w.exe files,
replaced ftpd.exe and ftpdw.exe with these files. I then re-installed the
service:

service.bat install ftpd c:\pathTo\res\conf\ftpd-typical.xml

It then started fine. Can the latest distribution include the 64 bit
windows service wrappers or can the WIKI be updated to ask users to do the
manual tomcat exe replacements for the windows platform:

https://mina.apache.org/ftpserver-project/ftpserver_as_windows_service.html

Thanks!
Yogesh

Reply via email to