• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with JSF Application on Tomcat 6.0.2

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,

I'm running a demo JSF application on Tomcat 5.5.12 - no problem.

The same application on Tomcat 6.0.2 raises NullPointerException for all the requests that are mapped to the FacesServlet.

JSF - Libraries are identical.

Tomcat 5.5.12 and 6.0.2
jdk 1.5.0_07

The application I'm trying to run is a demo from JSF Tutorial by R. Hightower on http://www-128.ibm.com/developerworks/java/library/j-jsf1/

Someone suggested to replace some of the libraries shipped with the Tomcat installation with newer ones (el-api.jar and el-ri.jar) but it brought no improvement.

Thanks in advance for any hint.

Cheers - Nic
 
Nicolas Stern
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,

Problem solved by a colleague.

The two libraries el-api.jar and el-ri.jar that are shipped with the installation pack must be replaced by their newest versions. This fixes the problem.

Also moved to JRE 1.5.0_07 (no idea if it has some influence).

I noticed that I could not install Tomcat as a service using the windows installer. (WinXP pro sp2).

Cheers - Nicolas
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for reporting back with your solution.
 
You may have just won ten million dollars! Or, maybe a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic