You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sathis kumar <sa...@gmail.com> on 2020/04/03 15:05:53 UTC

Fwd: Tomcat 9.0.31 - BUG

---------- Forwarded message ---------
From: sathis kumar <sa...@gmail.com>
Date: Fri, Apr 3, 2020 at 9:38 AM
Subject: Tomcat 9.0.31 - BUG
To: <us...@tomcat.apache.org>


My Application is working fine in prev version of all tomcat, Planning to
upgrade to 9.0.31
. I am running into the following issue.. Pls help

org.apache.jasper.JasperException: org.apache.jasper.JasperException:
Unable to compile class for JSP
           at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:605)
           at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:423)
Caused by: javax.el.ELException: Unable to find ExpressionFactory of type:
# Licensed to the Apache Software Foundation (ASF) under one or more
           at
javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:152)
           at
javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:9
any idea on this .. in older version 9.0.19 applications are working fine



-- 
Cheers,
Sathis Kumar


-- 
Cheers,
Sathis Kumar

Re: Fwd: Tomcat 9.0.31 - BUG

Posted by Mark Thomas <ma...@apache.org>.
On 03/04/2020 19:04, sathis kumar wrote:
> *Tomcat Users List <users@tomcat.apache.org <us...@tomcat.apache.org>>, *
> *"Thans for your reply.. When i tried with simple JSP", "worked. Fine..
> When i tried deploying my other application", "ran into that issue :("*

That points to an application problem, not a Tomcat problem.

You need to remove things from the application until you have the
simplest possible test case that reproduces the problem. And I expect
that, along the way, you'll find that you are packaging a different
(buggy) version of the EL API in your application - and that is what is
causing the problem.

Mark


> 
> 
> 
> javax.servlet.ServletException: javax.el.ELException: Unable to find
> ExpressionFactory of type: # Licensed to the Apache Software
> Foundation (ASF) under one or more
> 	org.apache.jsp.index_jsp._jspService(index_jsp.java:428)
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
> 	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> 
> *ype* Exception Report
> *Message* javax.servlet.ServletException: javax.el.ELException: Unable to
> find ExpressionFactory of type: # Licensed to the Apache Software
> Foundation (ASF) under one or more
> *Description* The server encountered an unexpected condition that prevented
> it from fulfilling the request.
> *Exception*
> 
> org.apache.jasper.JasperException: javax.servlet.ServletException:
> javax.el.ELException: Unable to find ExpressionFactory of type: #
> Licensed to the Apache Software Foundation (ASF) under one or more
> 	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:639)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:500)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
> 	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> 
> 
> On Fri, Apr 3, 2020 at 11:44 AM Mark Thomas <ma...@apache.org> wrote:
> 
>> On 03/04/2020 16:33, sathis kumar wrote:
>>> Thanks much for your response. I am using the el-api.jar coming along
>> with
>>> Tomcat9.0.31/lib - Still a sample problem..
>>> JDK version we are using is - > 1.8
>>
>>
>> Please provide the simplest possible set of steps to recreate this error
>> from a clean Apache Tomcat 9.0.31 install.
>>
>> It should be possible to do this by adding a single JSP to a clean
>> install. Please provide us with that JSP.
>>
>> Mark
>>
>>
>>>
>>>
>>> On Fri, Apr 3, 2020 at 11:16 AM Christopher Schultz <
>>> chris@christopherschultz.net> wrote:
>>>
>>> Sathis,
>>>
>>> You have run across this known bug:
>>> https://bz.apache.org/bugzilla/show_bug.cgi?id=64097
>>>
>>> Please read that bug report for more details, particularly comment #8.
>>>
>>> Hope that helps,
>>> -chris
>>>
>>> On 4/3/20 11:05, sathis kumar wrote:
>>>>>> ---------- Forwarded message --------- From: sathis kumar
>>>>>> <sa...@gmail.com> Date: Fri, Apr 3, 2020 at 9:38 AM Subject:
>>>>>> Tomcat 9.0.31 - BUG To: <us...@tomcat.apache.org>
>>>>>>
>>>>>>
>>>>>> My Application is working fine in prev version of all tomcat,
>>>>>> Planning to upgrade to 9.0.31 . I am running into the following
>>>>>> issue.. Pls help
>>>>>>
>>>>>> org.apache.jasper.JasperException:
>>>>>> org.apache.jasper.JasperException: Unable to compile class for JSP
>>>>>> at
>>>>>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServ
>>> letWrapper.java:605)
>>>>>>
>>>>>>
>>> at
>>>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>> java:423)
>>>>>>
>>>>>>
>>> Caused by: javax.el.ELException: Unable to find ExpressionFactory of typ
>>> e:
>>>>>> # Licensed to the Apache Software Foundation (ASF) under one or
>>>>>> more at
>>>>>> javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:152)
>>>>>> at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:9
>>>>>> any idea on this .. in older version 9.0.19 applications are
>>>>>> working fine
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Fwd: Tomcat 9.0.31 - BUG

Posted by sathis kumar <sa...@gmail.com>.
*Tomcat Users List <users@tomcat.apache.org <us...@tomcat.apache.org>>, *
*"Thans for your reply.. When i tried with simple JSP", "worked. Fine..
When i tried deploying my other application", "ran into that issue :("*



javax.servlet.ServletException: javax.el.ELException: Unable to find
ExpressionFactory of type: # Licensed to the Apache Software
Foundation (ASF) under one or more
	org.apache.jsp.index_jsp._jspService(index_jsp.java:428)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

*ype* Exception Report
*Message* javax.servlet.ServletException: javax.el.ELException: Unable to
find ExpressionFactory of type: # Licensed to the Apache Software
Foundation (ASF) under one or more
*Description* The server encountered an unexpected condition that prevented
it from fulfilling the request.
*Exception*

org.apache.jasper.JasperException: javax.servlet.ServletException:
javax.el.ELException: Unable to find ExpressionFactory of type: #
Licensed to the Apache Software Foundation (ASF) under one or more
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:639)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:500)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)


On Fri, Apr 3, 2020 at 11:44 AM Mark Thomas <ma...@apache.org> wrote:

> On 03/04/2020 16:33, sathis kumar wrote:
> > Thanks much for your response. I am using the el-api.jar coming along
> with
> > Tomcat9.0.31/lib - Still a sample problem..
> > JDK version we are using is - > 1.8
>
>
> Please provide the simplest possible set of steps to recreate this error
> from a clean Apache Tomcat 9.0.31 install.
>
> It should be possible to do this by adding a single JSP to a clean
> install. Please provide us with that JSP.
>
> Mark
>
>
> >
> >
> > On Fri, Apr 3, 2020 at 11:16 AM Christopher Schultz <
> > chris@christopherschultz.net> wrote:
> >
> > Sathis,
> >
> > You have run across this known bug:
> > https://bz.apache.org/bugzilla/show_bug.cgi?id=64097
> >
> > Please read that bug report for more details, particularly comment #8.
> >
> > Hope that helps,
> > -chris
> >
> > On 4/3/20 11:05, sathis kumar wrote:
> >>>> ---------- Forwarded message --------- From: sathis kumar
> >>>> <sa...@gmail.com> Date: Fri, Apr 3, 2020 at 9:38 AM Subject:
> >>>> Tomcat 9.0.31 - BUG To: <us...@tomcat.apache.org>
> >>>>
> >>>>
> >>>> My Application is working fine in prev version of all tomcat,
> >>>> Planning to upgrade to 9.0.31 . I am running into the following
> >>>> issue.. Pls help
> >>>>
> >>>> org.apache.jasper.JasperException:
> >>>> org.apache.jasper.JasperException: Unable to compile class for JSP
> >>>> at
> >>>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServ
> > letWrapper.java:605)
> >>>>
> >>>>
> > at
> >>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> > java:423)
> >>>>
> >>>>
> > Caused by: javax.el.ELException: Unable to find ExpressionFactory of typ
> > e:
> >>>> # Licensed to the Apache Software Foundation (ASF) under one or
> >>>> more at
> >>>> javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:152)
> >>>> at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:9
> >>>> any idea on this .. in older version 9.0.19 applications are
> >>>> working fine
> >>>>
> >>>>
> >>>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

-- 
Cheers,
Sathis Kumar

Re: Fwd: Tomcat 9.0.31 - BUG

Posted by Mark Thomas <ma...@apache.org>.
On 03/04/2020 16:33, sathis kumar wrote:
> Thanks much for your response. I am using the el-api.jar coming along with
> Tomcat9.0.31/lib - Still a sample problem..
> JDK version we are using is - > 1.8


Please provide the simplest possible set of steps to recreate this error
from a clean Apache Tomcat 9.0.31 install.

It should be possible to do this by adding a single JSP to a clean
install. Please provide us with that JSP.

Mark


>
>
> On Fri, Apr 3, 2020 at 11:16 AM Christopher Schultz <
> chris@christopherschultz.net> wrote:
>
> Sathis,
> 
> You have run across this known bug:
> https://bz.apache.org/bugzilla/show_bug.cgi?id=64097
> 
> Please read that bug report for more details, particularly comment #8.
> 
> Hope that helps,
> -chris
> 
> On 4/3/20 11:05, sathis kumar wrote:
>>>> ---------- Forwarded message --------- From: sathis kumar
>>>> <sa...@gmail.com> Date: Fri, Apr 3, 2020 at 9:38 AM Subject:
>>>> Tomcat 9.0.31 - BUG To: <us...@tomcat.apache.org>
>>>>
>>>>
>>>> My Application is working fine in prev version of all tomcat,
>>>> Planning to upgrade to 9.0.31 . I am running into the following
>>>> issue.. Pls help
>>>>
>>>> org.apache.jasper.JasperException:
>>>> org.apache.jasper.JasperException: Unable to compile class for JSP
>>>> at
>>>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServ
> letWrapper.java:605)
>>>>
>>>>
> at
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> java:423)
>>>>
>>>>
> Caused by: javax.el.ELException: Unable to find ExpressionFactory of typ
> e:
>>>> # Licensed to the Apache Software Foundation (ASF) under one or
>>>> more at
>>>> javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:152)
>>>> at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:9
>>>> any idea on this .. in older version 9.0.19 applications are
>>>> working fine
>>>>
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Fwd: Tomcat 9.0.31 - BUG

Posted by sathis kumar <sa...@gmail.com>.
Thanks much for your response. I am using the el-api.jar coming along with
Tomcat9.0.31/lib - Still a sample problem..
JDK version we are using is - > 1.8


On Fri, Apr 3, 2020 at 11:16 AM Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Sathis,
>
> You have run across this known bug:
> https://bz.apache.org/bugzilla/show_bug.cgi?id=64097
>
> Please read that bug report for more details, particularly comment #8.
>
> Hope that helps,
> - -chris
>
> On 4/3/20 11:05, sathis kumar wrote:
> > ---------- Forwarded message --------- From: sathis kumar
> > <sa...@gmail.com> Date: Fri, Apr 3, 2020 at 9:38 AM Subject:
> > Tomcat 9.0.31 - BUG To: <us...@tomcat.apache.org>
> >
> >
> > My Application is working fine in prev version of all tomcat,
> > Planning to upgrade to 9.0.31 . I am running into the following
> > issue.. Pls help
> >
> > org.apache.jasper.JasperException:
> > org.apache.jasper.JasperException: Unable to compile class for JSP
> > at
> > org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServ
> letWrapper.java:605)
> >
> >
> at
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> java:423)
> >
> >
> Caused by: javax.el.ELException: Unable to find ExpressionFactory of typ
> e:
> > # Licensed to the Apache Software Foundation (ASF) under one or
> > more at
> > javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:152)
> > at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:9
> > any idea on this .. in older version 9.0.19 applications are
> > working fine
> >
> >
> >
> -----BEGIN PGP SIGNATURE-----
> Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
>
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl6HUzgACgkQHPApP6U8
> pFiKcRAAxKaby2xj6kibPXp4hc2j9s0bF09e89wLKDtn7/q0Vr45M7pFKLikl041
> sjvM1sNw+YmycRDmoNp8iUTG9BMZ5n2HZI/MpCwr8z13MSmAMuitY8eaJ9sF5WjI
> Lus/G/FU7oC5r3ln6+tlKFolpAlyg/dTdM5JHEwXnM+0AD4pljMXLvFzzsOVdA5b
> n0a7+VDBmkz1KfubofXOnCXkie58WQ/c9z4CKTo6peZGCYlItEXJ8NVF1WQxKFg3
> dDThrJJvMtthzzgau0WJJ5PUhEXgLuarpavPZIxZ6vRHcZGLzq7Ed15Xz+WEtOPS
> 2hmkX987SvKGPWqTcwsKvcNsIfiGC99EP+svSlTvDOe/qa+FHdZEKyWW+5M6HBHz
> 1jWqaaUWHClHZ/AkbDIRAC4RoShQmOL7g2XOXgMVNkj0vAq24T+66u/HHj+/6vXf
> KBSXU0SuiMM8zLoTdB3YKOgNj2sML4xtyKvjOyksThrMdzJ5rTXOC4YcIFQI6jlg
> lYMAzc+dWDdjBSXIlFqqiiNAXTlrfLCBRZKUMLYa5XVtfbyv7hz4l2LCoPmo2nDf
> baZDg7rhvhJTV9ytk+GikU186F4jpAYiY2Osduh327WsooR9W/0Gw76iOL17/IDH
> a63/Itv/JN65hwJWeKEas8wBVmvK2UM8ua/bjnuf8AD63fQ1Grc=
> =NX9x
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

-- 
Cheers,
Sathis Kumar

Re: Fwd: Tomcat 9.0.31 - BUG

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Sathis,

You have run across this known bug:
https://bz.apache.org/bugzilla/show_bug.cgi?id=64097

Please read that bug report for more details, particularly comment #8.

Hope that helps,
- -chris

On 4/3/20 11:05, sathis kumar wrote:
> ---------- Forwarded message --------- From: sathis kumar
> <sa...@gmail.com> Date: Fri, Apr 3, 2020 at 9:38 AM Subject:
> Tomcat 9.0.31 - BUG To: <us...@tomcat.apache.org>
>
>
> My Application is working fine in prev version of all tomcat,
> Planning to upgrade to 9.0.31 . I am running into the following
> issue.. Pls help
>
> org.apache.jasper.JasperException:
> org.apache.jasper.JasperException: Unable to compile class for JSP
> at
> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServ
letWrapper.java:605)
>
>
at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
java:423)
>
>
Caused by: javax.el.ELException: Unable to find ExpressionFactory of typ
e:
> # Licensed to the Apache Software Foundation (ASF) under one or
> more at
> javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:152)
> at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:9
> any idea on this .. in older version 9.0.19 applications are
> working fine
>
>
>
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl6HUzgACgkQHPApP6U8
pFiKcRAAxKaby2xj6kibPXp4hc2j9s0bF09e89wLKDtn7/q0Vr45M7pFKLikl041
sjvM1sNw+YmycRDmoNp8iUTG9BMZ5n2HZI/MpCwr8z13MSmAMuitY8eaJ9sF5WjI
Lus/G/FU7oC5r3ln6+tlKFolpAlyg/dTdM5JHEwXnM+0AD4pljMXLvFzzsOVdA5b
n0a7+VDBmkz1KfubofXOnCXkie58WQ/c9z4CKTo6peZGCYlItEXJ8NVF1WQxKFg3
dDThrJJvMtthzzgau0WJJ5PUhEXgLuarpavPZIxZ6vRHcZGLzq7Ed15Xz+WEtOPS
2hmkX987SvKGPWqTcwsKvcNsIfiGC99EP+svSlTvDOe/qa+FHdZEKyWW+5M6HBHz
1jWqaaUWHClHZ/AkbDIRAC4RoShQmOL7g2XOXgMVNkj0vAq24T+66u/HHj+/6vXf
KBSXU0SuiMM8zLoTdB3YKOgNj2sML4xtyKvjOyksThrMdzJ5rTXOC4YcIFQI6jlg
lYMAzc+dWDdjBSXIlFqqiiNAXTlrfLCBRZKUMLYa5XVtfbyv7hz4l2LCoPmo2nDf
baZDg7rhvhJTV9ytk+GikU186F4jpAYiY2Osduh327WsooR9W/0Gw76iOL17/IDH
a63/Itv/JN65hwJWeKEas8wBVmvK2UM8ua/bjnuf8AD63fQ1Grc=
=NX9x
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org