File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes any one deploy the autocomplete example of RichFaces 4 on weblogic 10? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "any one deploy the autocomplete example of RichFaces 4 on weblogic 10?" Watch "any one deploy the autocomplete example of RichFaces 4 on weblogic 10?" New topic
Author

any one deploy the autocomplete example of RichFaces 4 on weblogic 10?

belal othman
Greenhorn

Joined: Dec 14, 2010
Posts: 4
I read the topic http://blog.eisele.net/2011/04/running-richfaces-400final-showcase-on.html but i faced some problems:

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


-- done--


- 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>


-- I don't have pom.xml cause i chosen to deploy the autocomplete example



- Download and install one of the latest Oracle WebLogic Server 11g Rel 1 (10.3.3) Installers from OTN. (Give the ZIP Installer a try. Aweseome lightweight!)

- Create a new sample domain (call it whatever you want) and start the admin server


-- I am using jdeveloper and test using the integrated domain


- Open the administration console (http://localhost:7001/console/)

- deploy the JSF 2.0 library (Deployments - Install - wlserver_10.3\common\deployable-libraries\jsf-2.0.war

-- I have error msg when I try to do that

error message are:

Message icon - Error The deployment has not been installed.

Message icon - Error weblogic.management.ManagementException: [Deployer:149105]An attempt was made to deploy a library located at 'C:\wls1033_dev\wlserver\common\deployable-libraries\jsf-2.0.war' with name 'jsf2' that is different from the one specified in the manifest of the library: 'jsf'.



- Find your favorite JSF 2.0 sample (I'll take the guessNumber thing from the mojarra-2.0.2 distribution)

I choosed the autocomplete



- Add a weblogic.xml file to the WEB-INF/ folder with the following content:

<?xml version="1.0" encoding="UTF-8"?>

<weblogic-web-app>

<library-ref>

<library-name>jsf</library-name>

<specification-version>2.0</specification-version>

<implementation-version>1.0.0.0_2-0-2</implementation-version>

<exact-match>true</exact-match>

</library-ref>

</weblogic-web-app>




done



- Package the guessNumber app

- Deploy the app to the WebLogic server

- deploy the exploded or packaged war from \target to your WebLogic.

no need to that cause i am using the integrated weblogic


- Enjoy!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: any one deploy the autocomplete example of RichFaces 4 on weblogic 10?
 
Similar Threads
Has anybody successfully run the Virtual Trainer application in "JSF Complete Reference"?
JSF 2 - Problem with ManagedBean
Richfaces and jsf 2.1.2
Maven dependencies
Maven web project dependencies