You need user ssesion to access windows station via SMB anyway. You can set this script as "log in script" using group policies in windows for the user your tomcat runs as.
Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com "Develop with pleasure!" -----Original Message----- From: Alexander Diedler [mailto:adied...@tecracer.de] Sent: Tuesday, November 15, 2011 5:39 PM To: Tomcat Users List Subject: AW: Include NEtwork path into Tomcat - urgent Hello, This is no option, this solution means, that the windows session must still remain opened with a logged in user. Alex -----Ursprüngliche Nachricht----- Von: Ilya Kazakevich [mailto:ilya.kazakev...@jetbrains.com] Gesendet: Dienstag, 15. November 2011 14:32 An: 'Tomcat Users List' Betreff: RE: Include NEtwork path into Tomcat - urgent Not sure Java IO supports windows UNC. Try to do the following: 1) mount this share as disk: (in cmd type "net use z: \\storage\share\pictures") 2) configure tomcat to work with "z:\" Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com <http://www.jetbrains.com/> "Develop with pleasure!" _____ From: Alexander Diedler [mailto:adied...@tecracer.de] Sent: Tuesday, November 15, 2011 5:27 PM To: users@tomcat.apache.org Subject: Include NEtwork path into Tomcat - urgent Hello, I have a Tomcat 6.0 application, that references their pictures as http://www.test.de/pictures/test.png. /pictures is a network path on a storage, so I try to make it as a Context within the server.xml Host Tag <Context path="/pictures" docBase="\\storage\share\pictures" /> but it throws a 404 error if I test it. Has somebody any idea to get out of this troube? Greetings Alexander --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org