tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Diedler <adied...@tecracer.de>
Subject AW: Include NEtwork path into Tomcat - urgent
Date Tue, 15 Nov 2011 13:39:20 GMT
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.Kazakevich@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:adiedler@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

 


Mime
View raw message