The MailSample application is an example of parallelized
work using the parallel job manager (PJM). It is based on the batch
data stream (BDS) framework, and is built using the simple POJO model
and packaged using the BatchPackager.
About this task
New feature: You can use this feature if you have Version 6.1.0.5 or later installed,
and a compatible WebSphere Network Deployment, Derby, DB2, or Oracle
database.newfeat
Procedure
Create the PJM database. The DDL files for creating
the PJM database for all the supported databases are located in the install_root\longRunning directory.
For example, CreateMailerTablesDerby.ddl,CreateMailerTablesDB2.ddl,or
CreateMailerTablesOracle.ddl Use the database specific instructions
to create the PJM database using the DDL files.
Create a XA JDBC provider, choosing XD datasource as the
implementation type.
Create the PJM datasources. Create a datasource
using the XA JDBC provider and use the JNDI name jdbc/mailing. Create another datasource using the non-XA JDBC provider and use
the JNDI name jdbc/mailingnonxa . Make sure the
datasources can connect to the database by clicking test connection.
Install the MailerSampler.ear file.
Start the application.
Prepare the xd.spi properties file
Open xd.spi properties in the install_root\profiles\<profilename>\properties. If the properties file does not exist in this location, copy it
from the install_root\properties directory and
paste it to theinstall_root\profiles\<profilename>\properties directory.
Ensure the following SPI lines are not commented out:
Last updated: Oct 30, 2009 6:22:31 PM EDT http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.gridmgr.doc/info/scheduler/tcgpjminstall.html