Published:
Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.
I recently upgraded my local developer machine to CF10 to be in line with an upgrade of our servers in work. However when I finished the upgrade I started to encounter 404 errors when trying to access files which I knew existed.
Solution
After checking all the windows folder security permissions and running the wsconfig tool I still was no closer to finding a solution until I remembered seeing on stack overflow a mention of a missing jakarta mapping. Sure enough once I created the missing mapping everything started to work.
To create the mapping:
- Open IIS and browse to the website you are working with.
- Right click and select "Add Virtual Directory"
- Give the mapping an Alias of "jakarta"
- Set the Physical Path to the wsconfig instance in the ColdFusion install directory CFUSION INSTALL\config\wsconfig{instance id}.
On my machine the instance id was "1" and so the mapping looked like this "C:\ColdFusion10\config\wsconfig\1".
Reader Comments
Monday, May 19, 2014 at 2:28:40 PM Coordinated Universal Time
Steven, you saved me! Thanks for this!
Friday, December 29, 2017 at 10:53:58 AM Coordinated Universal Time
OMG. This actually worked! Are you kidding me??? Who would have thought creating a mapping named JAKARTA. Crazy and thanks for the post. Spent hours trying to figure this out.
Friday, March 16, 2018 at 9:58:30 AM Coordinated Universal Time
This also helped me out on a Windows 2012 install where some pages (especially includes) were coming up 404. Adding the jakarta virtual directory solved that issue. Cheers!