Entity Resolution Issue

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Entity Resolution Issue

Lohakarey, Vishwajeet
Entity Resolution Issue

Hi,

Recently I switched to using jstl.jar version 1.1 with standard.jar version 1.1.2 with Jetty-4.2.2.

I encounter the following error messages whenever my web application is handling a request for a JSP page that contains one of the JSTL tags.

Resolve entity failed http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd

15:25:32.363 EVENT  Invalid PUBLIC ID:

Resolve entity faileddatatypes http://www.w3.org/2001/datatypes.dtd

15:25:34.412 EVENT  Invalid PUBLIC ID: datatypes

Any help in resolving this will be appreciated.

I have tried out placing the required xsd and the dtd in my classpath but it did not work.

Thanks,

--Vishwajeet

Reply | Threaded
Open this post in threaded view
|

Re: Entity Resolution Issue

Tony Thompson
Jetty 4 only supports servlet spec 2.3 and JSP spec 1.2.  JSTL 1.1
requires servlet spec 2.4 and JSP spec 2.0.  If you upgrade to Jetty 5,
it supports the 2.4/2.0 servlet/JSP spec.  I am guessing your issue may
be related to that.

Hope that helps.

Tony

>>> [hidden email] 06/06/05 06:10PM >>>
Hi,

Recently I switched to using jstl.jar version 1.1 with standard.jar
version 1.1.2 with Jetty-4.2.2.

I encounter the following error messages whenever my web application
is
handling a request for a JSP page that contains one of the JSTL tags.

Resolve entity failed
http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd 
15:25:32.363 EVENT  Invalid PUBLIC ID:
Resolve entity faileddatatypes http://www.w3.org/2001/datatypes.dtd 
15:25:34.412 EVENT  Invalid PUBLIC ID: datatypes

Any help in resolving this will be appreciated.
I have tried out placing the required xsd and the dtd in my classpath
but it did not work.

Thanks,

--Vishwajeet


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

RE: Entity Resolution Issue

Lohakarey, Vishwajeet
In reply to this post by Lohakarey, Vishwajeet
I think the issue has more to do with how Jetty resolves the network
resources than implementation of the specs. Do you have an idea as to
how Jetty performs entity resolution? Is there any way to configure
Jetty to use a specific entity resolver?

Thanks,

--Vishwajeet

> -----Original Message-----
> From: [hidden email] [mailto:jetty-support-
> [hidden email]] On Behalf Of Tony Thompson
> Sent: Monday, June 06, 2005 6:54 PM
> To: [hidden email]; Lohakarey, Vishwajeet
> Subject: Re: [Jetty-support] Entity Resolution Issue
>
> Jetty 4 only supports servlet spec 2.3 and JSP spec 1.2.  JSTL 1.1
> requires servlet spec 2.4 and JSP spec 2.0.  If you upgrade to Jetty
5,
> it supports the 2.4/2.0 servlet/JSP spec.  I am guessing your issue
may

> be related to that.
>
> Hope that helps.
>
> Tony
>
> >>> [hidden email] 06/06/05 06:10PM >>>
> Hi,
>
> Recently I switched to using jstl.jar version 1.1 with standard.jar
> version 1.1.2 with Jetty-4.2.2.
>
> I encounter the following error messages whenever my web application
> is
> handling a request for a JSP page that contains one of the JSTL tags.
>
> Resolve entity failed
> http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd
> 15:25:32.363 EVENT  Invalid PUBLIC ID:
> Resolve entity faileddatatypes http://www.w3.org/2001/datatypes.dtd
> 15:25:34.412 EVENT  Invalid PUBLIC ID: datatypes
>
> Any help in resolving this will be appreciated.
> I have tried out placing the required xsd and the dtd in my classpath
> but it did not work.
>
> Thanks,
>
> --Vishwajeet
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
> shotput
> a projector? How fast can you ride your desk chair down the office
luge
> track?
> If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> Jetty-support mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jetty-support


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

Re: Entity Resolution Issue

Greg Wilkins-5
Lohakarey, Vishwajeet wrote:
> I think the issue has more to do with how Jetty resolves the network
> resources than implementation of the specs. Do you have an idea as to
> how Jetty performs entity resolution? Is there any way to configure
> Jetty to use a specific entity resolver?

Jetty configures it's own entity resolver for all the standard spec
stuff.  For Jetty 4 this is only

  /javax/servlet/resources/web-app_2_2.dtd
  /javax/servlet/resources/web-app_2_3.dtd

for Jetty 5 this is

        /javax/servlet/resources/web-app_2_2.dtd
        /javax/servlet/resources/web-app_2_3.dtd
        /javax/servlet/resources/jsp_2_0.xsd
        /javax/servlet/resources/j2ee_1_4.xsd
        /javax/servlet/resources/web-app_2_4.xsd
        /javax/servlet/resources/XMLSchema.dtd
        /javax/servlet/resources/xml.xsd
        /javax/servlet/resources/j2ee_web_services_client_1_1.xsd
        /javax/servlet/resources/datatypes.dtd

But note that Jetty DOES NOT NORMALY parse JSTL files.
If you use the TagLibConfigurator, then some tld files will be parsed with
resources:
   
/javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd
/javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd
/javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd


So I do believe that you need to upgrade to Jetty 5 (or at least the
jasper that is included with Jetty 5).

cheers


>
>>-----Original Message-----
>>From: [hidden email] [mailto:jetty-support-
>>[hidden email]] On Behalf Of Tony Thompson
>>Sent: Monday, June 06, 2005 6:54 PM
>>To: [hidden email]; Lohakarey, Vishwajeet
>>Subject: Re: [Jetty-support] Entity Resolution Issue
>>
>>Jetty 4 only supports servlet spec 2.3 and JSP spec 1.2.  JSTL 1.1
>>requires servlet spec 2.4 and JSP spec 2.0.  If you upgrade to Jetty
>
> 5,
>
>>it supports the 2.4/2.0 servlet/JSP spec.  I am guessing your issue
>
> may
>
>>be related to that.
>>
>>Hope that helps.
>>
>>Tony
>>
>>
>>>>>[hidden email] 06/06/05 06:10PM >>>
>>
>>Hi,
>>
>>Recently I switched to using jstl.jar version 1.1 with standard.jar
>>version 1.1.2 with Jetty-4.2.2.
>>
>>I encounter the following error messages whenever my web application
>>is
>>handling a request for a JSP page that contains one of the JSTL tags.
>>
>>Resolve entity failed
>>http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd
>>15:25:32.363 EVENT  Invalid PUBLIC ID:
>>Resolve entity faileddatatypes http://www.w3.org/2001/datatypes.dtd
>>15:25:34.412 EVENT  Invalid PUBLIC ID: datatypes
>>
>>Any help in resolving this will be appreciated.
>>I have tried out placing the required xsd and the dtd in my classpath
>>but it did not work.
>>
>>Thanks,
>>
>>--Vishwajeet
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
>>shotput
>>a projector? How fast can you ride your desk chair down the office
>
> luge
>
>>track?
>>If you want to score the big prize, get to know the little guy.
>>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
>>_______________________________________________
>>Jetty-support mailing list
>>[hidden email]
>>https://lists.sourceforge.net/lists/listinfo/jetty-support
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.  
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
> _______________________________________________
> Jetty-support mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jetty-support
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support