When running LogicalDOC as Tomcat service in Windows7, it is impossible to access remote folders mapped into drive L:\
In particular my documents repository is located here \\ServerWin2008\common\docs and i mapped the path \\ServerWin2008\common into the drive L:\ on the server that hosts LogicalDOC.
I configured my property store.1.path=L:\\docs and all runs fine if i launch Tomcat with catalina.bat but when running as Windows service the drive seems to be unreacheable.
The contents you find here are totally obsolete so do not use this website to obtain a solution for your issues: the indications you get from here will not be accurate and may lead to data loss or other mayor problems
Why can't see my mapped drive when running as a service?
Moderator: car031
Post
Re: Why can't see my mapped drive when running as a service?
As describes in the Tomcat's wiki, The mapped drives are part of a user's profile and they are not used when running as a service.
See http://wiki.apache.org/tomcat/FAQ/Windows#Q7
So you need to use UNC paths, in your case store.1.path=//ServerWin2008/common/doc
Since you are running on Windows7, you may experience very slow I/O when using UNC paths, do the following:
Open Internet Explorer
Open Tools -> Internet Options -> Connections -> LAN Settings
Disable 'Automatically detect settings'
see http://domsyard.com/windows/fix-slow-we ... -windows-7
See http://wiki.apache.org/tomcat/FAQ/Windows#Q7
So you need to use UNC paths, in your case store.1.path=//ServerWin2008/common/doc
Since you are running on Windows7, you may experience very slow I/O when using UNC paths, do the following:
Open Internet Explorer
Open Tools -> Internet Options -> Connections -> LAN Settings
Disable 'Automatically detect settings'
see http://domsyard.com/windows/fix-slow-we ... -windows-7
Post
Re: Why can't see my mapped drive when running as a service?
Many thanks, this solved my issue!!
Who is online
Users browsing this forum: Bing [Bot] and 33 guests