WebObjects 5.1: Cannot Connect to Annotated Version of PetStore Example

This document describes an issue when running the PetStore EJB example using WebObjects 5.1.
Symptom

Following the steps in the PetStoreEJB README results in a working PetStore, however the link to the annotated version of the PetStore does not work. Clicking the link results in the message: "The requested resource (/estore/annotation/ann_overview_j2ee.jsp) is not available."


Solution

The servlet context specified in the README is incorrect. The context must have a path of "/estore", not "/petstore". The "/estore" path is hard-coded into the example, so it must be used. Make the following changes to the README:


Published Date: Feb 18, 2012