it *seems* like you have a wrong version el-api.jar being loaded in by one
or more classloaders
shutdown tomcat / remove all el-api.jar
delete %CATALINA_HOME%/temp
delete %CATALINA_HOME%/work
(except for one version in ${CATALINA_HOME}/lib)
restart tomcat
M--
---- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[email protected]>
Sent: Wednesday, November 14, 2007 8:54 PM
Subject: "Loader constraint violation"
> Env: Jre6, Tomcat 6.0.14, Redhat
>
> Pl help: when I invoke a JSP on the server, I get the following exception.
> I have a copy if xml-apis.jar in my webapp; I tried moving it to
${CATALINA_BASE}/lib -
> that fixed this problem but failed the webapp as it could not parse my
tlds.
>
> How do I identify the root cause of this problem?
>
> java.lang.LinkageError: loader constraint violation: when resolving
interface method
"javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/Exp
ressionFactory;" the class loader (instance of
org/apache/jasper/servlet/JasperLoader) of the current class,
org/apache/jsp/index_jsp, and the class loader (instance of
org/apache/catalina/loader/StandardClassLoader) for resolved class,
javax/servlet/jsp/JspApplicationContext, have different Class objects for
the type javax/el/ExpressionFactory used in the signature
> org.apache.jsp.index_jsp._jspInit(index_jsp.java:894)
> org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
>
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.jav
a:159)
>
>
> Tx,
>
> /U
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: [email protected]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]