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 9 – Administering Community Edition 173<br />

directory usr/local/wasce_samples/cviewer/src/main/webapp/WEB-INF.<br />

Follow these steps to deploy your WAR:<br />

1. Click Deploy New under applications. The resulting Install New <strong>Application</strong>s page<br />

is illustrated in Figure 9.5:<br />

Figure 9.5 - Installing new applications into Community Edition<br />

2. In the Archive field, browse into the directory that includes the Web application,<br />

and select the WAR file. In this example we use<br />

usr/local/wasce_samples/cviewer/target/cviewer-2.1.1.2.war.<br />

3. In the Plan field, browse into the directory that includes a deployment plan. For<br />

this example, use<br />

usr/local/wasce_samples/cviewer/src/main/webapp/WEB-<br />

INF/geronimo-web.xml.<br />

4. Click Install. Figure 9.6 displays the resulting page of a successful installation.<br />

Figure 9.6 - Messages after a successful new application install into<br />

Community Edition<br />

5. You can also verify the installation in the Installed Web <strong>Application</strong>s panel. Click<br />

Web App WARs under <strong>Application</strong>s. You can see the application cviewer in the<br />

running state as illustrated in Figure 9.7.

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

Saved successfully!

Ooh no, something went wrong!