Component mappings not working for virtual hosts

Hi all,

I have Lucee set up and working on top of Ubuntu 14.04. I set up my
mappings and custom tags to mirror my current ACF setup. I made a test
.cfml to check whether the custom tags and component mappings work, and it
runs perfectly under Lucee’s default directory (webapps/railoserver/).

I then set up a virtual host, and copied the same file there
(webapps/myapp/). It now errors, saying "invalid component definition,
can’t find component [Objects.myComponent]

Is there something special I have to do to set up component mappings for
the virtual host?