Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Deploying CF 8 on JBoss 5.x Multiinstnace/Clustered

7 views
Skip to first unread message

bcserverteam

unread,
Mar 20, 2009, 1:48:52 PM3/20/09
to
Have been reading through the doco, and now I am wondering if this is even
possible.

Per: http://livedocs.adobe.com/coldfusion/8/htmldocs/installj2ee_15.html#144211

The doco says JBoss 4.0.5 and clustered JBoss is unsupported, so I assume
Multiinstance is unsupported as well. Can anyone clear this up for me? Can I or
can I not run CF 8 on JBoss 5.x.x in a multiinstance/clustered environment?
Thanks.

larryclyons

unread,
Mar 21, 2009, 10:58:50 AM3/21/09
to
On Mar 20, 1:48 pm, "bcserverteam" <webforumsu...@macromedia.com>
wrote:

> Have been reading through the doco, and now I am wondering if this is even
> possible.
>
>  Per:http://livedocs.adobe.com/coldfusion/8/htmldocs/installj2ee_15.html#1...

>
>  The doco says JBoss 4.0.5 and clustered JBoss is unsupported, so I assume
> Multiinstance is unsupported as well. Can anyone clear this up for me? Can I or
> can I not run CF 8 on JBoss 5.x.x in a multiinstance/clustered environment?
> Thanks.

It should be the same as deploying any war or ear file on JBoss, just
create your war file and drop it into the farm directory of one of the
cluster members. From the docs:
--
The easiest way to deploy an application into the cluster is to use
the farming service. That is to hot-deploy the application archive
file (e.g., the EAR, WAR or SAR file) in the all/farm/ directory of
any of the cluster members and the application will be automatically
duplicated across all nodes in the same cluster. If node joins the
cluster later, it will pull in all farm deployed applications in the
cluster and deploy them locally at start-up time. If you delete the
application from one of the running cluster server node's farm/
folder, the application will be undeployed locally and then removed
from all other cluster server nodes farm folder (triggers
undeployment.)
--
http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/4/html/clustering-intro-farm.html

Its quite literally that simple. Here's how I do it. I grab teh
cfusion war file and dearchive it to a folder - its really just a zip
file, so if necessary all you have to do is to change the extension
to .zip and then expand it. Then put all your cfm html and image files
etc into that folder as needed. Then re-war the file and simply drop
it into the /servers/all/farm/ directory. Then at the start of the
next deployment lifecycle, it will be detected as a new deployment and
then copied to all other members of the cluster. Aside from the Redhat
JBoss Admin training, which I found very useful, you may find these
two good books very helpful:

JBoss at Work: A Practical Guide by Tom Marrs and Scott Davis
http://www.amazon.com/JBoss-at-Work-Practical-Guide/dp/0596007345/ref=pd_bbs_sr_3?ie=UTF8&s=books&qid=1237647209&sr=8-3

JBoss in Action: Configuring the JBoss Application Server
by Javid Jamae and Peter Johnson
http://www.amazon.com/JBoss-Action-Configuring-Application-Server/dp/1933988029/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1237647209&sr=8-1

hth,
larry

0 new messages