Thursday, April 7, 2011

Running RichFaces 4.0.0.Final Showcase on WebLogic Server


A very short notice: RichFaces 4.0.0.Final is running smoothly on WebLogic server 10.3.4.0. Need a brief howto? Here you are:
- Download RichFaces 4.0.0.Final distribution
- unzip to a suitable location
- navigate to \richfaces-4.0.0.Final\examples\richfaces-showcase
- edit the pom.xml and remove/uncomment the relativePath of the parent (<!-- <relativePath>../parent/pom.xml</relativePath> -->)
- add the jboss nexus repository
<repositories>
<repository>
<id>jboss</id>
<url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
</repository>
</repositories>

- Follow the instructions on my older post to deploy the jsf(2.0,1.0.0.0_2-0-2) library to WebLogic and create a weblogic.xml with the library link in src\main\webapp\WEB-INF.
- type mvn clean install -P jee6
- deploy the exploded or packaged war from \target to your WebLogic.
- Enjoy!