> Indeed. What I'm trying to achieve, is the way JRun manages
> to serve many CF applications from the (default) one CF
> context. Somehow it's possible, cuz JRun is doing it. :-/
Yes it's possible and my first response shows you how to do it
http://www.fusioncube.net/index.php/coldfusion-from-anywhere.html
This is also covered in the following article
http://www.fusioncube.net/index.php/coldfusion-on-jboss-standalone-prime
r.html
> If I want to serve content from http://funzone, that content
> has to "live" under "deploy/cfusion.war/". So I can't have
> both funzone AND interflow in "deploy/cfusion.war/". At
> least not at the root, obviously. I could do
> "cfusion.war/funzone/" and "cfusion.war/interflow/", but the
> problem is, both expect to be at "/", vs. "/funzone" or "/interflow".
If you want to do what you're explaining in JBoss then you'll have to
abandon that architecture of having everything beneath cfusion.war.
If you want to follow the directions in my article you will end up with
two WARs
- funzone.war
- interflow.war
Then you look in the \deploy\jbossweb-tomcat50.sar\server.xml file and
add Host and Alias entries for each application. For example:
<Host name="funzone" autoDeploy="false" deployOnStartup="false"
deployXML="false">
<Alias>funzone</Alias>
<DefaultContext cookies="true" crossContext="true"
override="true"/>
</Host>
<Host name="interflow" autoDeploy="false" deployOnStartup="false"
deployXML="false">
<Alias>interflow</Alias>
<DefaultContext cookies="true" crossContext="true"
override="true"/>
</Host>
Then in the \deploy\funzone.war\WEB-INF\jboss-web.xml file, you would
have the following:
<jboss-web>
<context-root>/</context-root>
<virtual-host>funzone</virtual-host>
</jboss-web>
Hope that helps more.
Steve Brownlee
http://www.fusioncube.net/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272679
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4