Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploy JSF 1.2 application on JBoss 5.1.0 GA

 
Milin Shah
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Milin Shah
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic