• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

JSF 2.0 and WS 7 issue - Unable to instantiate ExpressionFactory 'com.sun.el.ExpressionFactoryImpl'

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am getting an issue while working on JSF 2.0 deployed on WebSphere server 7.

I have tried so many option but I am not able to resolve below issue. Can you please help?

[1/08/13 21:02:11:406 IST] 0000000d config I Initializing Sun's JavaServer Faces implementation (1.2_07-b03-FCS) for context '/test'
[1/08/13 21:02:12:953 IST] 0000000d config E Unable to instantiate ExpressionFactory 'com.sun.el.ExpressionFactoryImpl'
[1/08/13 21:02:13:375 IST] 0000000d FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_a2f0a2f_13.08.01_21.02.13.12532817.txt com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated 1341
[1/08/13 21:02:13:390 IST] 0000000d webapp E com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated SRVE0283E: Exception caught while initializing context: {0}
com.sun.faces.config.ConfigurationException: Incorrect JSP version found, method com.sun.el.ExpressionFactoryImpl does not exist.
at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:362)

I have added below jar in server classpath i.e at C:\Program Files\IBM\SDP\runtimes\base_v7\lib but issue is still there

1. el-api-2.2.jar
2. el-impl-2.2.jar
3. jsf-api-2.0.3-b03.jar or jsf-api-2.0.jar
4. jsf-impl-2.0.3-b03.jar or jsf-impl-2.0.jar
5. jsf-nls.jar

I have also tried to add jstl-impl-1.2.jar but same issue is occurring.

Another question come in my mind, we are using API of JSF 2.0 and server is printing Initializing Sun's JavaServer Faces implementation (1.2_07-b03-FCS).
Instead of 1.2 it should be 2.0 Is it correct?

I also read each and every artical on internet about this issue but still not able to fix this issue. Please help..
 
Bartender
Posts: 21000
128
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Umesh!

That question is very WAS-specific so I'm going to move it to the WebSphere forum where hopefully someone can give you some help.
 
Hey! Wanna see my flashlight? It looks like this tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!