You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/10/20 17:47:50 UTC

[Myfaces Wiki] Update of "Websphere Installation" by ChristinaSekella

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by ChristinaSekella:
http://wiki.apache.org/myfaces/Websphere_Installation

The comment on the change is:
Added instructions for Websphere 6.1

------------------------------------------------------------------------------
- = Websphere 6 Installation Guide =
+ = Websphere 6.1 Installation Guide =
+ 
+ ''Unlike Websphere 6.0, in Websphere 6.1 the JSF Sun RI is bundled together with several other WAS libraries in com.ibm.ws.webcontainer_2.0.0.jar, so removing the webspheres JSF API jars is not an option. The procedure below describes how to use MyFaces, TOMAHAWK (and even Tiles) on Websphere 6.1 by altering the module classloader policy to load classes using the application class loader first (thereby loading the MyFaces jars before the Sun RI jars). This procedure has been tested with MyFaces 1.1.3, TOMAHAWK 1.1.3, and Websphere 6.1.0.2.''
+ 
+ == 1. Copy the MyFaces JSF jars and dependencies to WebApp lib (follow step 1 of the Websphere 6.0 Installation Guide without removing IBM jars below). ==
+ 
+ Make sure you do NOT copy commons-logging-1.0.4 jar (conflicts with the commons-logging jar already provided by Websphere) and also jsp-2.0.jar (which will cause a "com.ibm.ws.jsp.taglib.TldParser logParseErrorMessage: The JSP container failed to load the TagExtraInfo class" exception with JSF applications that use tiles).
+ 
+ == 2. Deploy the web application on WAS. ==
+ 
+ == 3. Alter the module classloader policy to application first. ==
+  
+ Note that there are several ways to set the classloader policy in websphere (at the server, application, and module level). You need to set it at the module level as follows: Click on Enterprise Applications > Your application > Manage Modules > Your war file > Change Class loader order to "Classes loaded with application class loader first"
+ 
+ == 4. Start your application. ==
+ 
+ 
+ = Websphere 6.0 Installation Guide =
  
  == 1. Remove Webspheres JSF API and Implementation ==
  
@@ -48, +65 @@

  
  
  
- = Websphere 6  Installation Guide (without removing IBM jars) =
+ = Websphere 6.0 Installation Guide (without removing IBM jars) =
  
  
  ''This is a simple procedure to use MyFaces, TOMAHAWK (and even ADF Faces) on a Websphere 6 webapp just using its "PARENT_LAST" property.