IBM


13.1.1 Plants by WebSphere resources used

To run successfully, Plants by WebSphere requires the following resources to be configured:

- JAAS authentication alias

Scope: Cell level

Name: <cellname>/samples

User ID: samples

Password: s1amples

- JDBC provider

Scope: Server level

Name: Samples Derby JDBC Provider (XA)

Implementation class: org.apache.derby.jdbc.EmbeddedXADataSource

- Data source

Scope: Server level

JDBC provider: Samples Derby JDBC Provider (XA)

Name: PLANTSDB

JNDI name: jdbc/PlantsByWebSphereDataSource

Database name: ${APP_INSTALL_ROOT}/${CELL}/PlantsByWebSphere.ear/Database/PLANTSDB

- Mail session:

Scope: Server level

Name: PlantsByWebSphere Mail Session

JNDI name: mail/PlantsByWebSphere

Type: javax.mail.Session

These are the resources configured when you install the samples during installation of WebSphere. Because we will change the Plants by WebSphere application to use an IBM DB2 database instead of the default Derby (Cloudscape) database, our resources will look a little bit different.


Redbooks ibm.com/redbooks

Next