mguessan / davmail

DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
http://davmail.sourceforge.net
GNU General Public License v2.0
578 stars 86 forks source link

davmail windows service #175

Open joksik opened 3 years ago

joksik commented 3 years ago

Hello i install latest version davmail-6.0.0-3375-setup64.exe.

when i run davmail64.exe everything works perfect I can download my emails with Thunderbird. I found in DavMail folder file davmailservice64.exe I suppose it is a file for running the service with windows startup without icon in taskbar but in my services.msc i cant find devmail service so i run from command line davmailservice64.exe and i have error like this:

c:\Program Files\DavMail>[info] Module Name: c:\Program Files\DavMail\davmailservice64.exe
[info] Module INI: c:\Program Files\DavMail\davmailservice64.ini
[info] Module Dir: c:\Program Files\DavMail\
[info] INI Dir: c:\Program Files\DavMail\
[info] Working directory set to: c:\Program Files\DavMail
[info] Configured vm.location: C:\Program Files\Eclipse Foundation\jdk-16.0.2.7-hotspot\bin\server\jvm.dll
[info] Found VM: C:\Program Files\Eclipse Foundation\jdk-16.0.2.7-hotspot\bin\server\jvm.dll
[info] Expanding Classpath: davmail.jar
[info] Expanding Classpath: lib/activation-1.1.1.jar
[info] Expanding Classpath: lib/commons-codec-1.11.jar
[info] Expanding Classpath: lib/commons-collections-3.1.jar
[info] Expanding Classpath: lib/commons-logging-1.0.4.jar
[info] Expanding Classpath: lib/htmlcleaner-2.21.jar
[info] Expanding Classpath: lib/httpclient-4.5.6.jar
[info] Expanding Classpath: lib/httpcore-4.4.10.jar
[info] Expanding Classpath: lib/jackrabbit-webdav-2.14.6.jar
[info] Expanding Classpath: lib/javax.mail-1.5.6.jar
[info] Expanding Classpath: lib/jcharset-2.0.jar
[info] Expanding Classpath: lib/jcifs-1.3.14.jar
[info] Expanding Classpath: lib/jdom-1.0.jar
[info] Expanding Classpath: lib/jettison-1.4.0.jar
[info] Expanding Classpath: lib/log4j-1.2.16.jar
[info] Expanding Classpath: lib/slf4j-api-1.7.25.jar
[info] Expanding Classpath: lib/slf4j-log4j12-1.7.25.jar
[info] Expanding Classpath: lib/stax-api-1.0.1.jar
[info] Expanding Classpath: lib/stax2-api-3.1.1.jar
[info] Expanding Classpath: lib/winrun4j-0.4.5.jar
[info] Expanding Classpath: lib/woodstox-core-6.2.0.jar
[info] Generated Classpath: c:\Program Files\DavMail\davmail.jar;c:\Program Files\DavMail\lib\activation-1.1.1.jar;c:\Program Files\DavMail\lib\commons-codec-1.11.jar;c:\Program Files\DavMail\lib\commons-collections-3.1.jar;c:\Program Files\DavMail\lib\commons-logging-1.0.4.jar;c:\Program Files\DavMail\lib\htmlcleaner-2.21.jar;c:\Program Files\DavMail\lib\httpclient-4.5.6.jar;c:\Program Files\DavMail\lib\httpcore-4.4.10.jar;c:\Program Files\DavMail\lib\jackrabbit-webdav-2.14.6.jar;c:\Program Files\DavMail\lib\javax.mail-1.5.6.jar;c:\Program Files\DavMail\lib\jcharset-2.0.jar;c:\Program Files\DavMail\lib\jcifs-1.3.14.jar;c:\Program Files\DavMail\lib\jdom-1.0.jar;c:\Program Files\DavMail\lib\jettison-1.4.0.jar;c:\Program Files\DavMail\lib\log4j-1.2.16.jar;c:\Program Files\DavMail\lib\slf4j-api-1.7.25.jar;c:\Program Files\DavMail\lib\slf4j-log4j12-1.7.25.jar;c:\Program Files\DavMail\lib\stax-api-1.0.1.jar;c:\Program Files\DavMail\lib\stax2-api-3.1.1.jar;c:\Program Files\DavMail\lib\winrun4j-0.4.5.jar;c:\Program Files\DavMail\lib\woodstox-core-6.2.0.jar
[info] VM Args:
[info] vmarg.0=-Dsun.net.inetaddr.ttl=60
[info] vmarg.1=-Xrs
[info] vmarg.2=-Djava.class.path=c:\Program Files\DavMail\davmail.jar;c:\Program Files\DavMail\lib\activation-1.1.1.jar;c:\Program Files\DavMail\lib\commons-codec-1.11.jar;c:\Program Files\DavMail\lib\commons-collections-3.1.jar;c:\Program Files\DavMail\lib\commons-logging-
[info] Registering natives for Native class
[info] Registering natives for FFI class
 **[err] Service control dispatcher error: 1063**

maybe someone manage how to start the davmail service correctly on windows ? edit: I read that earlier versions of the program had no problem with the start of the davmail service

mguessan commented 3 years ago

Did you try to follow instructions at: http://davmail.sourceforge.net/serversetup.html

?

stappersg commented 1 year ago

@joksik consider to close this issue that you opened.