On 3/11/07, Dave W wrote:
> > JBoss wants everything under the root context (say, /cfusion)
>
> I don't use JBoss for CF, but can't you just define the context root as "/"
> when you build your CF WAR/EAR? That's how CF works with JRun by default.

Yessir, you can set the context to "/".

But there is some black magic involved in serving .cfm pages from outside
the "docroot" (think jrun4/servers/cfusion.ear/cfusion.war/).

Since tomcat expects all the "dynamic" stuff (.cfm) to be under the docroot,
it wants it all there, vs. /srv/www/htdocs/site1/somecool.cfm.

All tomcat needs is the WEB-INF folder to create a new context, so I can
put one in a project, with a context of "/" for that project, but I'd have to do
that for each project that expects to live at "/" (still too many :-/).

I bet there is some simple way to achieve what I'm after, perhaps a custom
servlet of small stature, or something?  Some configuration option I missed?

It's looking like it's deploying CF for each context too, which means I'm out
of RAM pretty quick, I reckon.

*sigh*
My kingdom for the proper google search term, or some similar sentiment.
8D

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272335
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to