Welcome files are not loaded! Need help with Railo, mappings and J2EE configuration!
- by mrt181
I have installed a J2EE Server (tried it with Glassfish3, Tomcat6 and Resin4) on Win7 64bit and deployed Railo3.1.
I have then added a virtual host to the J2EE server, i.e. Resin:
<host host-name="railo">
C:/resin/webapps/railo
In the Railo Admin i have added this mapping:
Virtual Physical
/ C:/webapps/
When i access http://railo:8080/ my index.cfm welcome file in C:/webapps/ is loaded (index.cfm is definded in Railos web.xml).
When i try to access http://railo:8080/test which contains the same index.cfm i get an
500 Servlet Exception
java.io.FileNotFoundException: C:\webapps\test (access denied)
(on all J2EE Servers i tried so far).
http://railo:8080/test/index.cfm
works fine.
I already tried to add index.cfm to Resins welcome-file-list in app-default.xml to no avail.
I want to be able to access deployed apps without this url:
http://localhost:8080/app/
Instead i want to use this:
http://app:8080/