• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

ibm and myfaces JSF

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
https://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.
 
Saloon Keeper
Posts: 24499
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to obverride the server lib path ?
 
Tim Holloway
Saloon Keeper
Posts: 24499
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic