Why can't see my mapped drive when running as a service?

We tried to make LogicalDOC as intuitive as possible, but an advice is always welcome.

Moderator: car031

car031
Posts: 154
Joined: Tue Apr 17, 2012 8:27 am

Why can't see my mapped drive when running as a service?

Tue Apr 17, 2012 8:36 am

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.
mmeschieri
Posts: 242
Joined: Mon Apr 19, 2010 3:40 pm

Re: Why can't see my mapped drive when running as a service?

Tue Apr 17, 2012 8:53 am

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
car031
Posts: 154
Joined: Tue Apr 17, 2012 8:27 am

Re: Why can't see my mapped drive when running as a service?

Tue Apr 17, 2012 8:54 am

Many thanks, this solved my issue!!

Return to “Usage”

Who is online

Users browsing this forum: No registered users and 25 guests