This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to enable el-api.jar ver. 2.2 in Tomcat 7 ?

 
Dlugi Dlugiass
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gurus,


since few hours I`m trying to install el-api.jar ver 2.2 (el-api-2.2.jar) in my Tomcat. I deleted TOMCAT_HOME/lib/el-api.jar old version and copied new one.
After restart tomcat 7 showing me that error.

Should I configure something in web.xml ? Would be great if somebody could support me...

How to install el-api.jar in version 2.2 in Tomcat ?


Error from tomcat 7
---------------------------------------------------------------------------------------------------------------------

HTTP Status 500 - javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found

type Exception report

message javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:585)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:396)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

root cause

javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
javax.el.FactoryFinder.newInstance(FactoryFinder.java:97)
javax.el.FactoryFinder.find(FactoryFinder.java:193)
javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:185)
javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:156)
org.apache.jasper.runtime.JspApplicationContextImpl.<init>(JspApplicationContextImpl.java:53)
org.apache.jasper.runtime.JspApplicationContextImpl.getInstance(JspApplicationContextImpl.java:83)
org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:223)
org.apache.jsp.index_jsp._jspInit(index_jsp.java:31)
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:49)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:180)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

root cause

java.lang.ClassNotFoundException: com.sun.el.ExpressionFactoryImpl
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
javax.el.FactoryFinder.newInstance(FactoryFinder.java:83)
javax.el.FactoryFinder.find(FactoryFinder.java:193)
javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:185)
javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:156)
org.apache.jasper.runtime.JspApplicationContextImpl.<init>(JspApplicationContextImpl.java:53)
org.apache.jasper.runtime.JspApplicationContextImpl.getInstance(JspApplicationContextImpl.java:83)
org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:223)
org.apache.jsp.index_jsp._jspInit(index_jsp.java:31)
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:49)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:180)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.30 logs.



Thanks in advance...
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17622
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you probably made a mistake in deleting the original el-api.jar from TOMCAT_HOME/lib. It's probably critical to Tomcat internal functioning.

Unless you were using a published recipe for upgrading to EL 2.2 that explicitly mentioned doing that as one of the steps, I'd restore the deleted jar.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic