Skip to Content
author's profile photo
Former Member

JSP Taglib Parsing Error on J2EE Engine 6.20

hello,

i am running a stand-alone version of the SAP J2EE Engine 6.20 on Windows XP. i am trying to deploy an EAR file. in the web application portion (part of the WAR file), i have a custom jsp tag library file. and i made an entry for it in the web.xml deployment descriptor.

all were deployed successfully except the .tld taglib file. i received the following error, which doesn't make much sense. i am attaching the top portion of my .tld file at the end of this posting for your reference.

btw, the same file works fine on weblogic. plus, i grabbed the htmlb.tld file from the sap portal pdk installation. it even received the same parsing error. i am sure the htmlb.tld is properly formed.

is this a known problem? is there a fix or workaround?

thanks for your help.

wentao

=============exception received ==================================

com.inqmy.lib.xml.parser.ParserException: XMLParser: No data allowed here (C:SAP_J2EEngine6.20aloneservicesservlet_jspwork

jspTempmycomp oot/WEB-INF/tlds, row:2, col:2)

at com.inqmy.lib.xml.parser.DOMParser.parse(DOMParser.java:127)

at com.inqmy.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:130)

at com.inqmy.lib.xml.StandardDOMParser.parse(StandardDOMParser.java:114)

at com.inqmy.lib.xml.StandardDOMParser.parse(StandardDOMParser.java:92)

at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2438)

at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2321)

at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:789)

at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.

<!other lines skipped......>

</taglib>

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Posted on Feb 06, 2004 at 02:54 PM

    Hello,

    have you submitted an OSS message?

    Did you check for the latest patch of J2EE 6.20?

    Thanks,

    Benny

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      sorry for late response. i haven't come to this forum for a while, been fighting the portal battle lately :-)...

      here is the entry in my web.xml:

      <taglib>

      <taglib-uri>/tlds</taglib-uri>

      <taglib-location>WEB-INF/advantage.tld</taglib-location>

      </taglib>

      and here is the line in my jsp file referring to the taglib:

      <%@ taglib prefix="v" uri="/tlds" %>

      hope the above helps.