First off, Steve, thank you for the jboss + cf blog entries!
Had me up and running in minutes.

Second off, I am probably staring at the forest and wondering
where the trees are (I've already done that once with your
jboss entries;), but I don't see how this would allow me a
set up like so:

/srv/www/htdocs/funzone  == http://funzone.localhost/
/srv/www/htdocs/interflow  == http://interflow.localhost/

where the .cfm files in those directories are both served
by a single CF instance, and code running in both
funzone and interflow think they're housed at "/".

Basically, I want to achieve the same thing the JRun
connector does.  Seems as if the page gets processed
in the context of the apache virtual host, so to speak.

    Whereas Apache2.2 with the mod_proxy_ajp module
seems to proxy (well, it's in the name) the requests,
so funzone.localhost/cool.cfm has to be at the "/" of
the war (tomcat context), or interflow.localhost/cool.cfm
has to be at "/" of the context, but both can't be at "/"
of the context.

My new projects can happily play at /funzone/ or what
have you, but it's a problem for my older ones, or 3rd party
type deals.

If I'm missing how I can modify the web.xml to
have both funzone.localhost/cool.cfm and
interflow.localhost/cool.cfm live at "/" but be
different files, I'm not seeing it.

Again, wouldn't be the first or last time, so I'm sorry
if it's staring me in the face (or if I've explained
things "funkily" =).

And double again, thanks Steve for the best
CF + JBoss resource on the web.  Shweeet!

On 3/12/07, Steve Brownlee wrote:
> It's actually quite simple to do. Just takes some tinkering with your
> web.xml file.
>
>  http://www.fusioncube.net/index.php/coldfusion-from-anywhere.html
>
>
> Steve Brownlee
> http://www.fusioncube.net/
>
>
> -----Original Message-----
> From: Dinner [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 11, 2007 7:52 PM
> To: CF-Talk
> Subject: coldfusion and jboss/tomcat
>
> Hi!
>
>     I'm enjoying running CF on jboss/tomcat, with the sole exception
> being-
>
> JBoss wants everything under the root context (say, /cfusion)
>
> It wouldn't be a problem if all my projects were set up to not care, but
> sadly, some of them expect to be @ "/" vs "/cfusion/cfapp/".
>
> I could set up a context for each CF app, but I've got like >20 of them,
> and I don't really want to put a WEB-INF folder in each.
> Or add 20 tomcat virtual hosts to match my apache virtual hosts.
>
> I've got apache set up to use mod_proxy_ajp, and my projects are all
> hosted at 127.0.0.1, with different host names, using apache
> NamedVirtualHosts. (http://proj1/, http://proj2/, etc.)
>
> Any suggestions on how to use a single CF instance to serve multiple
> websites when running on top of tomcat/jboss?
>
> I like separate instances for production, but I've only got soooo much
> RAM locally.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:272486
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to