JSP tag libs problem

Hi,

I'm using iWS 4.1 on W2K. When I try to run jsp page that is using custom

tags it crashes with com.sun.xml.tree.TextNode exception.

In manuals I found that is becouse taglib.tld is broken

but my is ok, I can use it with tomcat, so it must be iWS problem I gues.

here are my logs:

info ( 1300): Internal Info: loading servlet /jndi/listurl.jsp

info ( 1300): JSP: JSP1x compiler threw exception

org.apache.jasper.JasperException:

Unable to open taglibrary /jndi/jndi.jar:

com.sun.xml.tree.TextNode

at org.apache.jasper.compiler.JspParseEventListener.handleDirective ( ... )

at org.apache.jasper.compiler.DelegatingListener.handleDirective(...)

at org.apache.jasper.compiler.Parser$Directive.accept(...)

at org.apache.jasper.compiler.Parser.parse(...)

at org.apache.jasper.compiler.Parser.parse(...)

at org.apache.jasper.compiler.Parser.parse(...)

at org.apache.jasper.compiler.Compiler.compile(...)

at com.netscape.server.http.servlet.NSServletEntity.load(...)

at com.netscape.server.http.servlet.NSServletEntity.update(....)

at com.netscape.server.http.servlet.NSServletRunner.Service(...)

[1230 byte] By [] at [2007-11-25 7:18:06]
# 1

Hi,

I found why I coudn't use taglibs.

It is becouse I added jaxp to classpath and iWS is using old xml parser.

I moved jaxp from global server classpath to context classpath and

now it works.

yacek

> Hi,

> I'm using iWS 4.1 on W2K. When I try to run jsp page that is using custom

> tags it crashes with com.sun.xml.tree.TextNode exception.

> In manuals I found that is becouse taglib.tld is broken

> but my is ok, I can use it with tomcat, so it must be iWS problem I gues.

>

> here are my logs:

>

> info ( 1300): Internal Info: loading servlet /jndi/listurl.jsp

> info ( 1300): JSP: JSP1x compiler threw exception

> org.apache.jasper.JasperException:

>Unable to open taglibrary /jndi/jndi.jar:

> com.sun.xml.tree.TextNode

> at org.apache.jasper.compiler.JspParseEventListener.handleDirective

( ... )

> at org.apache.jasper.compiler.DelegatingListener.handleDirective(...)

> at org.apache.jasper.compiler.Parser$Directive.accept(...)

> at org.apache.jasper.compiler.Parser.parse(...)

> at org.apache.jasper.compiler.Parser.parse(...)

> at org.apache.jasper.compiler.Parser.parse(...)

> at org.apache.jasper.compiler.Compiler.compile(...)

> at com.netscape.server.http.servlet.NSServletEntity.load(...)

> at com.netscape.server.http.servlet.NSServletEntity.update(....)

> at com.netscape.server.http.servlet.NSServletRunner.Service(...)

>

>

>

>

>

>

>

>

at 2007-6-29 17:54:45 > top of Java-index,Web & Directory Servers,Web Servers...