Link to home
Start Free TrialLog in
Avatar of epmmis
epmmis

asked on

Apache Tomcat Web Server - How to connect the web server to a windows file share

We are migration from a linux tomcat v5.5 install to a windows tomcat v 7.0.33 install.  The Windows tomcat server runs on a Windows 2008 R2 server.  IIS is not installed.

On the linux server this command is used to mount a windows file system in linux.  It mounts the file system at server startup.

mount -t cifs -o username=samba,password=password  //server/share/folder       /folder/linux_mount_point

The linux based application running on Tomcat stores files on a Windows File server using the above mount point.  Right now the Windows File server holds about 45 GB of files.

Now that the application is moving to a windows based tomcat platform, how do i configure the windows server to make the same type of connection the linux server makes?  I prefer not to move the file locally to the new Window's tomcat server.
SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of epmmis
epmmis

ASKER

I just learned that it is already built into the application its capability to use a UNC path to external shares.

Our plan now is to make the linux user which mounts the CIF connections now, the user which starts the tomcat service.


Hopefully that will be sufficient.

Thank you for your comments.