Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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 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 1341
[1/08/13 21:02:13:390 IST] 0000000d webapp E 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(

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..
Posts: 19560
Android Eclipse IDE 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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!