Hi,
i have installed apache http 2.2.14 and tomcat 6.0.24. I deployed
railo<http://www.getrailo.org>
3.1.2.001 final (cfml engine). I have to
use Windows XP and i have
administrative privileges.

This is my httpd-vhost.conf:
<VirtualHost *:80>
   ServerName railo
   DirectoryIndex index.cfm index.html
   ProxyRequests Off
   <Proxy *>
       Order deny,allow
       Allow from all
   </Proxy>
   ProxyPass / ajp://railo:8009/
   ProxyPassReverse / ajp://railo:8009/
</VirtualHost>


I added this to tomcats server.xml:
     <Host name="railo">
           <Context path="" docBase="C:/Tomcat6.0/webapps/railo" />
     </Host>


Railo has the following in its web.xml
<welcome-file-list>
     <welcome-file>index.cfm</welcome-file>
   <welcome-file>index.cfml</welcome-file>
</welcome-file-list>

Everytime i try to access a directory which contains an index.cfm file i get
a HTTP 500 error (FileNotFoundException) from Tomcat.
I.E.
http://railo/coldbox/dashboard/index.cfm   This works.
http://railo/coldbox/dashboard   Does not work. I get this:

HTTP Status 500 -
------------------------------
*type* Exception report
*message*
*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*
*exception*
java.io.FileNotFoundException: C:\webapps\viss-dev\coldbox\dashboard
(Zugriff verweigert)
       java.io.FileInputStream.open(Native Method)
       java.io.FileInputStream.<init>(Unknown Source)

 
railo.commons.io.res.type.file.FileResource.getInputStream(FileResource.java:198)
       railo.commons.io.IOUtil.copy(IOUtil.java:153)

 railo.runtime.engine.CFMLEngineImpl.serviceFile(CFMLEngineImpl.java:288)
       railo.loader.servlet.FileServlet.service(FileServlet.java:32)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
*note* *The full stack trace of the root cause is available in the Apache
Tomcat/6.0.24 logs.*
------------------------------
Apache Tomcat/6.0.24

WTF is wrong?

Reply via email to