Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up Tomcat - server.xml

Status
Not open for further replies.

DJSmith

Programmer
Aug 14, 2000
82
GB
I need to create a context where the docbase is pointing to a directory on another machine (over a network obviously).

This is what i am trying but it isn't working:

<Context path=&quot;/AgendaMinutes1&quot;
docBase=&quot;\\computer name\directory&quot;
crossContext=&quot;true&quot;
debug=&quot;0&quot;
reloadable=&quot;true&quot;
trusted=&quot;false&quot; >
</Context>

any idea's?
 
I doubt you can do this. You could probably do it using a network share (NT or Samba) however.
 
it works when you map a network drive and use

docbase = &quot;G:/blah/blah

but this won't be any good for a linux machine
 
Sure it will. Use Samba to create a network share. It works the same way only without the driver letter. YOu would mount the share under a directory and it would appear as if it was on the same machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top