By default /usr/lib/resin contains a symlink to /var/lib/resin/webapps named webapps. Similarly /var/lib/resin/hosts should be linked as hosts to ensure that the section of /etc/resin/resin.conf works out of the box. This allows for virtual hosts in resin to be located in /var/lib/resin/hosts/${hostname} Reproducible: Always Actual Results: When installing resin this symlink has to be created to make loading of virtual hosts work Expected Results: When creating the symlink hosts in /usr/lib/resin/ resin as expected loads virtual hosts located in /var/lib/resin/hosts/${hostname}
Fixed in 4.0.5.
I would be usefull have this applied to 3.1.x for those that have applications that cannot run under 4.0.x yet.
Your apps should work under any container (be it Tomcat, Resin 3, Resin 4, Glassfish), I'll add the same symlink to 3.2.1-r3 (you'll need to recompile it manually as I don't see a symlink addition as a valid reason for revision bump) - is that acceptable for you until you can migrate to 4.0?
In our case we run 3.1.x due to that being the version officially supported by a given app. We add the links manally, the bug was opened way back last autumn.
Yes, sorry for long delay. It's fixed: Using commit message: ------------------------------------------------------------------------------ Add symlink for hosts for easy virtual host management also for Resin 3.1.9 and 3.2.1. (Portage version: 2.1.8.3/cvs/Linux x86_64) ------------------------------------------------------------------------------
Wünderbar. Thank you. :)