Hello Jim !
I now got the impression: It is first and foremost a Railo thing; so I
prefer to start with a simple Railo App; without Coldbox involved at
all ...
But I couldn't make a simple Railo App properly pointed to, either ...
All my attempts using Railo Admin Mappings have failed so far ...
To repeat myself: I do NOT use the Apache 2 Webserver; but the Tomcat
builtin Webserver; that's where my scenario is different from most
other scenarios I've come across Googling ...
My current configuration:
1. In <tomcat-home>/conf/server.xml:
<Host name="
www.planetspiel.eu" appBase="planetspiel"
unpackWARs="true" autoDeploy="true">
<Alias>
planetspiel.eu</Alias>
<Context path="" docBase="railo/smartclient" crossContext="true"
fireRequestListenersOnForwards="true" useNaming="false"
privileged="true"></Context>
2. Mapping in the Railo Admin:
Virtual: /smartclient
Resource: /railo/smartclient/
Primary: physical
Trusted: yes
3. Directory Layout:
<tomcat-home>/planetspiel/railo/smartclient/index.cfm
I've played around with different Railo Mappings; but invoking
"
www.planetspiel.eu" never led me directly to "<tomcat-home>/
planetspiel/railo/smartclient/index.cfm" ...
My legacy understanding of CFML Mappings was: They are only good for
locating CFCs ... Perhaps I need Railo Virtual DIRs ? There IS info
about adding Railo Virtual DIRs in the official Railo docs:
-
http://wiki.getrailo.org/wiki/Installation:CreateRailoContext
Unfortunately only for Jetty and Resin, NOT for Tomcat !
Cheers and Tschüss
Kai