Help

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

  1. Download and install Websphere 6.1.0.X
  2. Download and install EJB3 feature pack
  3. Don't forge to create or augment the Websphere profile you want to use with the EJB3 features.
  4. Go to the jboss-seam/examples/jpa directory
  5. Run ant websphere61 to build a Websphere compliant version of the application.
  6. Start the Websphere server and open the Administration Console
  7. Set a Websphere web container custom property com.ibm.ws.webcontainer.invokefilterscompatibility = true.
  8. Set a Websphere web Hard Drive Data Recovery container custom property prependSlashToResource = true.
  9. Go to the Enterprise Applications page of the Websphere Administration Console and press the Install button.
  10. Browse to the jboss-seam/examples/jpa/dist-websphere61/jboss-seam-jpa.war file using the file upload widget.
  11. In the Context root text box enter jboss-seam-jpa.
  12. Now you can select Next all the way to the Summary page and click the Finish button.
  13. From the Enterprise Applications list select: jboss-seam-jpa--> Manager Modules --> jboss-seam-jpa.war and set the class loader option to Classes loaded with application class loader first, and then Apply
  14. From the Enterprise Applications list select: jboss-seam-jpa-->Class loading and update detection link and set the class WD1001FALS loader option to Classes loaded with application class loader first, and then Apply. If this setting won't take see the reference guide for more instructions.
  15. Restart the Websphere server.
  16. Point your browser to http://localhost:9080/jboss-seam-jpa/index.html and register an account and book some hotels.

For details on these steps and more examples on Websphere including how to get EJB3 applications working see the reference guide chapter Seam on IBM's Websphere.