tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rogério Meneguelli Gatto <ga...@softwaredesign.com.br>
Subject [Fwd: [REPOST] Windows SMB paths in server.xml please?]
Date Mon, 20 Nov 2000 17:47:34 GMT
Hello, guys,

I've posted this twice to tomcat-user, and had no answer.  Since I woud love to 
have it, I'm volunteering to make it work.  The problem is that I have no idea 
as where to start looking the source: where is a URL translated to a real path 
by tomcat?

Regards,
Rogério

-------- Original Message --------
From: Rogério Meneguelli Gatto <gatto@softdes.com.br>
Subject: [REPOST] Windows SMB paths in server.xml please?
To: tomcat-user@jakarta.apache.org

Hello,

I've noticed a difference in behaviour in Tomcat 3.1, 3.2b7, and 4.0m4
regarding Windows SMB paths, like this one:

     <Context path="/ctx" docBase="\\machine\share\path"/>

I included this same element (paths are altered here for security) on all three
server.xml.  Tomcat 3.1 and 4.0m4 handle it fine, 3.2b7 gives a 404.  All three
instances are running on the same machine, under the same conditions:

- WinNT 4.0sp4
- JavaService 1.1.0 service wrapper
- Sun JDK 1.3.0

I'd love to be able to use this kind of setup, as it allows me to make those
services start automatically, when nobody is logged on.  Is it possible at all
to implement it for 3.2?  A simple test case shows me that, even in my 3.2
setup, I can use java.io.File to access that smb share, so it doesn't look like
a system problem, but rather the way tomcat 3.2 uses the docBase attribute.

Regards,
Rogério Gatto


-- 
Rogério Meneguelli Gatto     |  ICQ# 25775025
Analista de Sistemas Pleno   |  +55 19 3254-6518 ext 223
Software Design Informática  |  http://www.softwaredesign.com.br
God is a comic playing to an audience that's afraid to laugh


Mime
View raw message