Equinox 3.3 and jsp, -jstl examples [message #84347] |
Sun, 18 March 2007 08:53 |
Eclipse User |
|
|
|
Originally posted by: reto.urfer.logicacmg.com
I tried to run the JSP-, JSTL examples in a Eclipse/Equinox 3.3M5eh based on
Java 5.0 environment.
Besides of the exaple plugins from CVS i checked out the plugins:
- org.apache.commons.el v1.0
- org.apache.jasper v5.5.17
- org.eclipse.equinox.http.helper
- org.eclipse.equinoxjsp.jasper
I could opne the index pages but as soon as i started a test using a JSP
page i gort the following exception:
18.03.2007 09:45:01 org.apache.jasper.runtime.JspFactoryImpl
internalGetPageContext
SCHWERWIEGEND: Exception initializing page context
java.lang.VerifyError: (class: org/apache/jasper/runtime/PageContextImpl,
method: getExpressionEvaluator signature:
()Ljavax/servlet/jsp/el/ExpressionEvaluator;) Wrong return type in function
at
org.apache.jasper.runtime.JspFactoryImpl.internalGetPageCont ext(JspFactoryImpl.java:99)
at
org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspF actoryImpl.java:61)
at
org.apache.jsp.jsp2.el.basic_002darithmetic_jsp._jspService( basic_002darithmetic_jsp.java:33)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet .java:96)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.se rvice(ContextPathServletAdaptor.java:35)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:246)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)
at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
at org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)
This only happens with Eclipse 3.3, with Eclipse 3.2.2 everything is working
fine.
Any idea what is the problem?
|
|
|
|
Re: Equinox 3.3 and jsp, -jstl examples [message #84391 is a reply to message #84362] |
Mon, 19 March 2007 18:55 |
Eclipse User |
|
|
|
Originally posted by: reto.urfer.logicacmg.com
I found a solution for the problem but its still very strange.
I created a new installation containing only Eclipse SDK 3.3 M5eh and
Equinox SDK M5eh and only copied the javax.servlet.jsp plugin jar from my
existing installation because this was part of WTP module.
I used the same workspace run the examples and now it worked.
I tried then with my other installation of Eclipse 3.3 which also contained
M5 milestones of EMF, GEF, DTP, BIRT, TPTP, WTP (JPA, JSF). I run the
examples from here and they also worked fine.
Now I deleted the .metadata directory from my workspace and tried again with
the full M5 installation. Now the VerifyError exception occured again.
This could be fixed again by running the examples once morefrom the basic
Eclipse Equinox installation.I tried this sequence several times and the
behaviour was reproducable
"Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
news:etl16f$656$1@utils.eclipse.org...
>I just revalidated with the HEAD and had no problems.
>
> A verify error is strange.
> Do you have any other features (or potentiall conflicting projects) in
> your 3.3 environment.
>
> -Simon
>
>
> "Urfer" <reto.urfer@logicacmg.com> wrote in message
> news:etiumu$9l6$1@utils.eclipse.org...
>>I tried to run the JSP-, JSTL examples in a Eclipse/Equinox 3.3M5eh based
>>on Java 5.0 environment.
>>
>> Besides of the exaple plugins from CVS i checked out the plugins:
>> - org.apache.commons.el v1.0
>> - org.apache.jasper v5.5.17
>> - org.eclipse.equinox.http.helper
>> - org.eclipse.equinoxjsp.jasper
>>
>>
>> I could opne the index pages but as soon as i started a test using a JSP
>> page i gort the following exception:
>>
>> 18.03.2007 09:45:01 org.apache.jasper.runtime.JspFactoryImpl
>> internalGetPageContext
>> SCHWERWIEGEND: Exception initializing page context
>> java.lang.VerifyError: (class: org/apache/jasper/runtime/PageContextImpl,
>> method: getExpressionEvaluator signature:
>> ()Ljavax/servlet/jsp/el/ExpressionEvaluator;) Wrong return type in
>> function
>> at
>> org.apache.jasper.runtime.JspFactoryImpl.internalGetPageCont ext(JspFactoryImpl.java:99)
>> at
>> org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspF actoryImpl.java:61)
>> at
>> org.apache.jsp.jsp2.el.basic_002darithmetic_jsp._jspService( basic_002darithmetic_jsp.java:33)
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:332)
>> at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> at org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet .java:96)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> at
>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.se rvice(ContextPathServletAdaptor.java:35)
>> at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:68)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> at
>> org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:246)
>> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)
>> at
>> org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)
>> at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)
>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>> at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
>> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
>> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
>> at
>> org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)
>> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
>> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)
>>
>>
>> This only happens with Eclipse 3.3, with Eclipse 3.2.2 everything is
>> working fine.
>>
>> Any idea what is the problem?
>>
>>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02867 seconds