Home » Eclipse Projects » Equinox » Problems by JSF/JSTL Examples ServerSide
Problems by JSF/JSTL Examples ServerSide [message #83222] |
Tue, 13 February 2007 10:08  |
Eclipse User |
|
|
|
Hello,
I am running the JSP and JSTL examples provided by CVS.
All JSP examples under section "SimpleTag Handlers and JSP Fragments",
"Tag Plugins", and "Other JSP 2.0 Features"
producing this error:
org.apache.jasper.JasperException: Unable to initialize
TldLocationsCache: XML parsing error on file WEB-INF/jsp/debug-taglib.tld
org.apache.jasper.servlet.JspServletWrapper.handleJspExcepti on(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:375)
....
but the file is there (in the deployed jar, I checked that).
The examples under section: "Tag Files" putting this error out:
java.lang.RuntimeException: org.apache.jasper.JasperException: File
"/jsp2/tagfiles/WEB-INF/tags/helloWorld.tag" not found
at
org.apache.jasper.compiler.ImplicitTagLibraryInfo.getTagFile (ImplicitTagLibraryInfo.java:129)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java :1315)
....
Actually, there is no WEB-INF/ dir in the jsp2/tagfiles dir?!
The section "JSP 1.2 Examples" is running fine.
JSTL Examples producing this error:
org.apache.jasper.JasperException: Unable to initialize
TldLocationsCache: XML parsing error on file WEB-INF/tlds/fmt-1_0-rt.tld
org.apache.jasper.servlet.JspServletWrapper.handleJspExcepti on(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:375)
....
PlugIn "org.apache.jasper", "org.eclipse.equinox.http.helper",
"org.eclipse.equinox.jsp.examples", "org.eclipse.equinox.jsp.jasper",
"org.eclipse.equinox.jsp.jasper.registry",
"org.eclipse.equinox.jsp.jstl", "org.eclipse.equinox.jsp.jstl.examples",
"org.apache.commons.el" are unmodified and running in an Tomcat/Equinox
ServletBridge environment.
Thank you for help!
Martin.
|
|
|
Re: Problems by JSF/JSTL Examples ServerSide [message #83286 is a reply to message #83222] |
Tue, 13 February 2007 18:06   |
Eclipse User |
|
|
|
Thanks Martin.
You found a bug see https://bugs.eclipse.org/bugs/show_bug.cgi?id=174099
It's fixed now, so if you resynch org.eclipse.equinox.http.helper and
rebuild the webapp you should be fine.
-Simon
"Martin Dames" <m.dames@gmx.de> wrote in message
news:eqsk9l$pie$1@utils.eclipse.org...
> Hello,
>
> I am running the JSP and JSTL examples provided by CVS.
> All JSP examples under section "SimpleTag Handlers and JSP Fragments",
> "Tag Plugins", and "Other JSP 2.0 Features"
>
> producing this error:
>
> org.apache.jasper.JasperException: Unable to initialize TldLocationsCache:
> XML parsing error on file WEB-INF/jsp/debug-taglib.tld
> org.apache.jasper.servlet.JspServletWrapper.handleJspExcepti on(JspServletWrapper.java:510)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:375)
> ...
>
>
> but the file is there (in the deployed jar, I checked that).
>
>
>
> The examples under section: "Tag Files" putting this error out:
>
> java.lang.RuntimeException: org.apache.jasper.JasperException: File
> "/jsp2/tagfiles/WEB-INF/tags/helloWorld.tag" not found
> at
> org.apache.jasper.compiler.ImplicitTagLibraryInfo.getTagFile (ImplicitTagLibraryInfo.java:129)
> at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java :1315)
> ...
>
>
> Actually, there is no WEB-INF/ dir in the jsp2/tagfiles dir?!
>
>
>
> The section "JSP 1.2 Examples" is running fine.
>
>
>
> JSTL Examples producing this error:
>
> org.apache.jasper.JasperException: Unable to initialize TldLocationsCache:
> XML parsing error on file WEB-INF/tlds/fmt-1_0-rt.tld
> org.apache.jasper.servlet.JspServletWrapper.handleJspExcepti on(JspServletWrapper.java:510)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:375)
> ...
>
>
> PlugIn "org.apache.jasper", "org.eclipse.equinox.http.helper",
> "org.eclipse.equinox.jsp.examples", "org.eclipse.equinox.jsp.jasper",
> "org.eclipse.equinox.jsp.jasper.registry", "org.eclipse.equinox.jsp.jstl",
> "org.eclipse.equinox.jsp.jstl.examples", "org.apache.commons.el" are
> unmodified and running in an Tomcat/Equinox ServletBridge environment.
>
>
> Thank you for help!
>
> Martin.
|
|
|
Re: Problems by JSF/JSTL Examples ServerSide [message #83301 is a reply to message #83286] |
Wed, 14 February 2007 04:45  |
Eclipse User |
|
|
|
Hey Simon,
no problem. Actually I might found another miss behaviour... we need to
enter the full path with "index.html" to get the JSP/JSTL Examples
overview.. so the "welcome page" entry is missing... it might has to do
with the bridge.. ?
A friend of my and I working on our thesis and we'd like to develop a
prototype of a small enterprise application using: Tomcat, Equinox,
Spring, Spring-OSGi, JSF, Hibernate and other 3rd party libs. We do made
alot of progress in the last weeks with
Spring/Spring-OSGi/Tomcat/Equinox and now we are working on JSP
integration... This should be done this week... but we want to get full
benefits of JSF/MyFaces to use the component architecture of JSF. Later
on, we'd also like to integrate AJAX.
At the moment there is no JSF support for the Equinox Server Side, nor
by other OSGi implementations... and we have a lot of questions! :-)
It would be nice if you could answer some of these.
Thank you.
Simon Kaegi schrieb:
> Thanks Martin.
> You found a bug see https://bugs.eclipse.org/bugs/show_bug.cgi?id=174099
>
> It's fixed now, so if you resynch org.eclipse.equinox.http.helper and
> rebuild the webapp you should be fine.
>
> -Simon
>
> "Martin Dames" <m.dames@gmx.de> wrote in message
> news:eqsk9l$pie$1@utils.eclipse.org...
>> Hello,
>>
>> I am running the JSP and JSTL examples provided by CVS.
>> All JSP examples under section "SimpleTag Handlers and JSP Fragments",
>> "Tag Plugins", and "Other JSP 2.0 Features"
>>
>> producing this error:
>>
>> org.apache.jasper.JasperException: Unable to initialize TldLocationsCache:
>> XML parsing error on file WEB-INF/jsp/debug-taglib.tld
>> org.apache.jasper.servlet.JspServletWrapper.handleJspExcepti on(JspServletWrapper.java:510)
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:375)
>> ...
>>
>>
>> but the file is there (in the deployed jar, I checked that).
>>
>>
>>
>> The examples under section: "Tag Files" putting this error out:
>>
>> java.lang.RuntimeException: org.apache.jasper.JasperException: File
>> "/jsp2/tagfiles/WEB-INF/tags/helloWorld.tag" not found
>> at
>> org.apache.jasper.compiler.ImplicitTagLibraryInfo.getTagFile (ImplicitTagLibraryInfo.java:129)
>> at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java :1315)
>> ...
>>
>>
>> Actually, there is no WEB-INF/ dir in the jsp2/tagfiles dir?!
>>
>>
>>
>> The section "JSP 1.2 Examples" is running fine.
>>
>>
>>
>> JSTL Examples producing this error:
>>
>> org.apache.jasper.JasperException: Unable to initialize TldLocationsCache:
>> XML parsing error on file WEB-INF/tlds/fmt-1_0-rt.tld
>> org.apache.jasper.servlet.JspServletWrapper.handleJspExcepti on(JspServletWrapper.java:510)
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:375)
>> ...
>>
>>
>> PlugIn "org.apache.jasper", "org.eclipse.equinox.http.helper",
>> "org.eclipse.equinox.jsp.examples", "org.eclipse.equinox.jsp.jasper",
>> "org.eclipse.equinox.jsp.jasper.registry", "org.eclipse.equinox.jsp.jstl",
>> "org.eclipse.equinox.jsp.jstl.examples", "org.apache.commons.el" are
>> unmodified and running in an Tomcat/Equinox ServletBridge environment.
>>
>>
>> Thank you for help!
>>
>> Martin.
>
>
|
|
|
Goto Forum:
Current Time: Fri Jul 25 07:54:40 EDT 2025
Powered by FUDForum. Page generated in 0.04925 seconds
|