This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ibm and myfaces JSF  RSS feed

 
Umesh Pathak
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
http://www.coderanch.com/t/212915/JSF/java/Base-null-error-JSF

Many forums suggest removing of the IBM's JSF implementation jsf-api.jar and ws-jsf.jar when myfaces is to be used.
I do not want to delete those jar files. As, on my production box other applications may be using those jars and my websphere admin wont permit to touch the server lib path.

Also I tried the PARENT_LAST option. But it did not work.

Please suggest the way how to override the server lib path with the Web App path.
 
Tim Holloway
Bartender
Posts: 18661
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't have to physically delete the jars from WebSphere, just ensure that MyFaces comes ahead of them on the application's CLASSPATH. Usually you can accomplish that by putting copies of the myfaces api and impl jars in your webapp's WEB-INF/libs directory.

I'd look at the MyFaces docs/wiki and do a little googling, however. In JBoss, there's some other conflicts that also have to be addressed, so you might also have to do something for WebSphere.
 
Umesh Pathak
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to obverride the server lib path ?
 
Tim Holloway
Bartender
Posts: 18661
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tim Holloway:
Usually you can accomplish that by putting copies of the myfaces api and impl jars in your webapp's WEB-INF/libs directory.



Beyond that, if you need to override at a more global level, that's WebSphere-dependent, so I'd ask in the WebSphere forum.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!