Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002424 [Resin] minor always 02-11-08 13:56 03-26-08 14:30
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution no change required  
Status closed   Product Version 3.1.5
Summary 0002424: host deploy enhancements
Description (rep by Stargazer)

t strikes me that its the reliance on the physical directory name in
the <host-deploy> construct which is causing the problem. It mixes the
found dir name on disk with the contents of its particuar host.xml.
Using my <resin:import> way everything is defined in the found xml
files, no matter where they exist in the subdir tree, because I put the
<resin:import> tag in the def for http://localhost [^] webapps in
resin.conf, i.e. "/". So what would be perfect would be the
<host-deploy> functionality but honouring everything in the located
file, as in this example (as a useful side effect is the files can have
any name too, which helps manage many hosts easier as I usually stick
the hostname in the xml filename):

conf/hostconf/pligg/www.foo.com.xml:

<host xmlns="http://caucho.com/ns/resin" [^]
xmlns:resin="http://caucho.com/ns/resin/core"> [^]
 <web-app id='www.foo.com' document-directory='/www/pligg/www.foo.com'>
</web-app>
</host>

Lets me use http://localhost:8080/www.foo.com [^] and

conf/hostconf/pligg/www.bar.com.xml:

<host xmlns="http://caucho.com/ns/resin" [^]
xmlns:resin="http://caucho.com/ns/resin/core"> [^]
 <web-app id='www.bar.com' document-directory='/www/pligg/www.bar.com'>
</web-app>
</host>

Does the same for http://localhost:8080/www.bar.com [^] etc

Additional Information
Attached Files

- Relationships

- Notes
(0002915)
ferg
03-26-08 14:30

This functionality is available by using <resin:import> inside the <cluster>. Since the <host> can directly be defined in the <cluster>, the imported files can be named as desired.
 

- Issue History
Date Modified Username Field Change
02-11-08 13:56 ferg New Issue
03-26-08 14:30 ferg Note Added: 0002915
03-26-08 14:30 ferg Assigned To  => ferg
03-26-08 14:30 ferg Status new => closed
03-26-08 14:30 ferg Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker