This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Deploy JSF 1.2 application on JBoss 5.1.0 GA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Deploy JSF 1.2 application on JBoss 5.1.0 GA" Watch "Deploy JSF 1.2 application on JBoss 5.1.0 GA" New topic
Author

Deploy JSF 1.2 application on JBoss 5.1.0 GA

Milin Shah
Greenhorn

Joined: Feb 24, 2010
Posts: 8
Hello,

I have a web application which I have developed using JSF, Spring and hibernate.
Till date i have been deploy it on Tomcat apache and it works fine.
But now i want to deploy it on JBoss 5.1.
I create a war file which contains jsf jar files in lib folder and put that war file in deploy folder.
But some of jsf functionality doesnt work specially ajax related.
Then i put jsf-impl.jar in lib folder of deploy folder that solves my problem.
But I dont want to copy jsf-impl.jar file into lib folder.

So does anyone has any solution for that?

Thanks,
Milin Shah
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

JBoss AS already comes with a jsf-impl.jar file at server/xxx/deploy/jbossweb.sar/jsf-libs and your jsf-lib.jar file is probably interfering with it. Try completely removing your jsf-lib.jar file.


JBoss In Action
Milin Shah
Greenhorn

Joined: Feb 24, 2010
Posts: 8
Thanks for your reply.
But i dont want to remove anything.
Is there any configuration which allows me to specify to use my own jars (jars in my war file)?

Thanks,
Milin Shah
 
 
subject: Deploy JSF 1.2 application on JBoss 5.1.0 GA