I installed CF 8 yesterday, and am running into a problem changing the webroot.
As per the instructions at
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservmgmt_3.html#102393,
I have modified the lines in jrun-web.xml as follows:
Old entry:
<virtual-mapping>
<resource-path>/WEB-INF</resource-path>
<system-path>C:/ColdFusion8/wwwroot/WEB-INF</system-path>
</virtual-mapping>
New entry:
<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>C:/ColdFusion8/spayflorida</system-path>
</virtual-mapping>
When I browse to http://localhost:8500/, I get "index of" and a listing of the
files in the new folder. If I click on index.cfm, I get the following error:
404
java.io.FileNotFoundException
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:94)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
The only work around is to shuffle the web files back and forth as I work on
different sites which is quite a pain.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286211
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4