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/01/17 19:51:20 UTC

[Myfaces Wiki] Update of "Installation and Configuration" by MikeKienenberger

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 MikeKienenberger:
http://wiki.apache.org/myfaces/Installation_and_Configuration

The comment on the change is:
Added my experiences with OAS 10.1.2.0.0

------------------------------------------------------------------------------
  
  So far only the link to "Sample 1" fails with a 500 ... to be investigated.
  
+ == Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) ==
+ In order to deploy my MyFaces (post-1.1.1 nightlies) and facelets (1.0) applications from  the following step were needed:
+ 
+  1. Create an OC4J instance.
+  2. Log into the application server, and edit the .../j2ee/YOUROC4JINSTANCE/config/application.xml file for the instance to contain 
+   *   <library path="../../../jlib/jsp-el-api.jar"/>
+   *   <library path="../../../jlib/commons-el.jar"/>
+  3. Deploy your application.ear
+ 
+ Note that to get facelets working, you must manually extract all facelets taglib.xml files from all facelet-enabled jar files (There are six taglib files in the jsf-facelets jar) and manually specify them from your web.xml file.  Supposedly, this is not an issue for 10.1.3.  Here's an example:
+ {{{
+ <context-param>
+     <param-name>facelets.LIBRARIES</param-name>
+     <param-value>/WEB-INF/oc4j-hacks/jsf-core.taglib.xml;/WEB-INF/oc4j-hacks/jsf-html.taglib.xml;/WEB-INF/oc4j-hacks/jsf-ui.taglib.xml;/WEB-INF/oc4j-hacks/jstl-core.taglib.xml;/WEB-INF/oc4j-hacks/jstl-fn.taglib.xml</param-value>
+     <description>A semicolon (;) delimitted list of paths to Facelet tag libraries</description>
+ </context-param>
+ }}}
+ 
+ 
  == Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) ==
  In order to deploy the simple.war from MyFaces 1.1.1 the following step were needed: