You made me curious...
- I downloaded Oracle Application Server 10g (9.0.4.0.0) and installed it.
- I downloaded MyFaces 1.1.1 (including the samples)
- I unpacked the simple.war to J2EE_HOME/applications
- I added jsp-2.0.jar and jstl.jar to J2EE_HOME/applications/simple/WEB-INF/lib
(necessary because oc4j is not yet a
J2EE 1.4 container)
- I added the listener (between filter-mapping and
servlet) to the web.xml
as described in (
http://wiki.apache.org/myfaces/Installation_and_Configuration) at the bottom (Other Containers)
- I configured the web-app by
see (
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/installation.html) Demo.war deployment to oc4j standalone
- application.xml
<web-module id="simple" path="../../home/applications/simple" />
<library path="---path-to-tools.jar---" />
- http-web-site.xml
<web-app application="default" name="simple" root="/simple" />
- restarted oc4j
- called
http://localhost:8888/simple/index.jsp AND
played around with the sample-webapp of MyFaces
All this took me about 30 minutes. I have never ever before deployed a
webapp to oc4j. I just used the oc4j installation guide and one google-query
(install myfaces on oc4j) which found as first
doc the link to the
demo.war-deployment cited above.
I'd say: no magic here. Juts 2 Oracle and 1 MyFaces doc to read
hth
Alexander
PS: I'm downloading the version 10 to see whether the same preocedure works there too ;-)
PPS: The info above is now also in the MyFaces-wiki page
PPPS: version 10 does not need the jsp-2.0.jar and the jstl.jar, the rest can be copied over
[ January 13, 2006: Message edited by: Alexander Jesse ]