Welcome files are not loaded! Need help with Railo, mappings and J2EE configuration!

Posted by mrt181 on Server Fault See other posts from Server Fault or by mrt181
Published on 2010-03-07T23:44:31Z Indexed on 2010/03/08 0:32 UTC
Read the original article Hit count: 540

Filed under:
|
|
|
|

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/

© Server Fault or respective owner

Related posts about railo

Related posts about tomcat