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

Problem with JSF Application on Tomcat 6.0.2

 
Nicolas Stern
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for reporting back with your solution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic