Installing the Feed Sample application for WebSphere® Application Server Version 6.1.X
The IBM® support for feeds, using Apache Abdera libraries, is referred to as Feed. Feed primarily consists of the following items:
- Feeds support libraries: JavaTM archive (JAR) files for Apache
Abdera and the required XML Stax parser support. The current set of
Abdera JAR files included in Feed are of the pattern
abdera-*-retro.jar
- Feed application: A Sample application that demonstrates
the use of the feeds support libraries
This section describes the procedure for installing the Feed Sample application into Version 6.1.X of IBM WebSphere®
Application Server. It is assumed that you are familiar with application installation and administration for the application server.
Before you begin
Locate the Feed Sample application WAR file that is provided with this documentation. Depending on
how you obtained this Sample application, you can find the WAR file in one of two places:
- If you are using these instructions from within Eclipse help because you installed this file as an Eclipse feature, then you can locate the WAR file in the following directory:
Linux® and UNIX®: <ECLIPSE_HOME>/plugins/com.ibm.ajax.feed.samples_1.0.1.0/SampleFeedApp.war
|
Windows®:
<ECLIPSE_HOME>\plugins\com.ibm.ajax.feed.samples_1.0.1.0\SampleFeedApp.war
|
-
If you have installed IBM WebSphere Application Server Version Feature Pack for Web 2.0,
Version 1.0.1, then you can find the WAR file in your installation tree. For example, if you installed the feature pack in
the following location:
Linux and UNIX: /opt/WebSphere/AppServer
|
Windows: c:\WebSphere\AppServer
|
Then, you can find the WAR and library files at:
Linux and UNIX: /opt/WebSphere/AppServer/web2fep/samples/Feed/SampleFeedApp.war
|
Windows: c:\WebSphere\AppServer\web2fep\samples\Feed\SampleFeedApp.war
|
Installing the sample application using the administrative console:
-
Log into the administrative console for the application server.
-
Navigate to Applications > Install New Application.
-
Browse your file system, and select the SampleFeedApp.war file that you located earlier. Enter Context Root as SampleFeedApp and click next.
-
Click Next to prepare for the application installation).
-
Click Next. Accept the defaults for installation options.
-
Click Next. Accept the defaults for map modules to servers.
-
Click Next. Accept the defaults for map virtual hosts for Web modules.
-
Review the summary of the installation options.
-
Click Finish.
-
Click Save to the master configuration.
-
Click Save.
Adding required JAR files:
- Feed requires the following JAR files:
- Axiom JAR files: axiom-api-1.2.5.jar, axiom-impl-1.2.5.jar
- Stax API support: xlxpScannerUtils.jar, xlxpScanner.jar,
stax-api.jar. These files are for WebSphere Application Server 6.0.x
, 6.1.x. and 7.0.0.x
- Support for the Abdera client calls:
commons-httpclient-3.1-rc1.jar, commons-codec-1.3.jar
- Support for XPath Implementation: jaxen-1.1.1.jar
-
The previously mentioned JAR files must be added into the class path. One mechanism is to create a
shared library, and associate it with the applications that need these
JAR files. The following steps illustrate creation of a shared library,
and associating it with the application:
Starting the Application:
- Navigate to Applications > WebSphere enterprise applications.
- Select IBM WebSphere Application Server > Feed Sample Application and click Start.