16.10.2015 Views

Getting Started with WebSphere Application Server

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 12 – Advanced features 207<br />

location or URL of the remote repository from the administrative console. In Community<br />

Edition, you can also export your applications or existing modules as plug-ins.<br />

A Community Edition plug-in is a jar-structured file that contains a META-INF/geronimoplugin.xml<br />

descriptor. A plug-in repository is basically a plug-in catalog together <strong>with</strong> a<br />

maven-structured repository containing plug-ins, which contains a geronimoplugins.xml<br />

file to list all available plug-ins in the repository.<br />

Visit the following URL for more details about plug-ins in Community Edition:<br />

http://publib.boulder.ibm.com/wasce/V2.1.1/en/managing-server-plugins.html<br />

12.4 WADI Clustering<br />

Web application Distribution Infrastructure (WADI) is a project hosted on codehaus at<br />

http://wadi.codehaus.org/. WADI solution deals <strong>with</strong> session state in a cluster <strong>with</strong> a<br />

persistence mechanism in a distributed environment. WADI is integrated in Community<br />

Edition to provide an alternative clustering solution.<br />

In a traditional Tomcat clustering environment, the state of each session is replicated<br />

among nodes and maintained in memory, which impacts the performance significantly <strong>with</strong><br />

more nodes added into the cluster. WADI can be used to solve this problem.<br />

To enable WADI clustering in Community Edition, follow the steps below:<br />

1. Stop the server if it is running;<br />

2. Enable relevant WADI modules by editing<br />

/var/config/config.xml <strong>with</strong> keywords load=”true”;<br />

3. Update the deployment descriptor file, web.xml, of the application <strong>with</strong> keyword<br />

;<br />

4. Update embedded deployment plan geroimo-web.xml file of the application<br />

<strong>with</strong> keyword .<br />

Visit the following URL for more details about WADI clustering in Community Edition:<br />

http://publib.boulder.ibm.com/wasce/V2.1.1/en/configuring-wadi-clusters.html<br />

12.5 Farming deployment<br />

Administering an application in a clustering environment is always painful. To make sure<br />

the status of a clustered application is well-maintained, each node in the cluster should be<br />

identical, which means users need to deploy the application to be clustered on each node.<br />

In a Community Edition server farm, you can reduce the workload greatly by leveraging<br />

Farming plug-ins. With this feature, once you deployed an application on one node, the<br />

application can be deployed on any other nodes in this cluster.<br />

To enable farming in Community Edition, follow the steps below:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!