tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject Re: error with xtags and tomcat 3.3
Date Sun, 11 Nov 2001 09:45:25 GMT
Hmm, again this one is wierd. It all works fine for me on Tomcat 4.0.

> periodic_table2 shows every element as having 112 atoms.

It should. Admitedly its a lousy example but the XPath expression is just
counting all atoms in the periodic table.

James
----- Original Message -----
From: "Richard Sand" <rsand@vgalleries.com>
To: "Tag Libraries Users List" <taglibs-user@jakarta.apache.org>
Sent: Saturday, November 10, 2001 1:11 PM
Subject: Re: error with xtags and tomcat 3.3


> Hi James,
>
> I still believe there is something broken between dom4j-full.jar (v1.1)
and
> the latest xtags build (the one you just updated, the nov 10 build).  I
> uncompressed the examples and are running them unmodified on tomcat 3.3
with
> jdk 1.3.01 and the only classes in my application classpath are
> dom4j-full.jar and xtags.jar.  Some of the examples work, for example, the
> simple rss example and the stock quote example.  However, the
periodic_table
> and much_ado examples both give an exception (shown below), and
> periodic_table2 shows every element as having 112 atoms.  Any suggestions?
> Thanks!
>
> -Richard
>
> Location: /docs/xtags/examples/much_ado.jsp
> Internal Servlet Error:
>
> javax.servlet.ServletException: no more input Nested exception: no more
> input
> at org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown
> Source)
> at docs.xtags.examples.much_ado_1._jspService(much_ado_1.java:874)
> at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
> at org.apache.tomcat.core.Handler.invoke(Unknown Source)
> at org.apache.tomcat.core.Handler.service(Unknown Source)
> at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
> at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
> at org.apache.tomcat.core.ContextManager.service(Unknown Source)
> at
>
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
> Source)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> at java.lang.Thread.run(Thread.java:484)
> Root cause:
> org.dom4j.DocumentException: no more input Nested exception: no more input
> at org.dom4j.io.SAXReader.read(SAXReader.java:333)
> at org.dom4j.io.SAXReader.read(SAXReader.java:249)
> at org.apache.taglibs.xtags.xpath.ParseTag.doAfterBody(ParseTag.java:138)
> at docs.xtags.examples.much_ado_1._jspService(much_ado_1.java:187)
> at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
> at org.apache.tomcat.core.Handler.invoke(Unknown Source)
> at org.apache.tomcat.core.Handler.service(Unknown Source)
> at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
> at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
> at org.apache.tomcat.core.ContextManager.service(Unknown Source)
> at
>
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
> Source)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> at java.lang.Thread.run(Thread.java:484)
> Nested exception:
> java.io.EOFException: no more input
> at org.dom4j.io.aelfred.XmlParser.popInput(XmlParser.java:3983)
> at org.dom4j.io.aelfred.XmlParser.readCh(XmlParser.java:3376)
> at org.dom4j.io.aelfred.XmlParser.tryRead(XmlParser.java:4060)
> at org.dom4j.io.aelfred.XmlParser.tryEncodingDecl(XmlParser.java:3665)
> at org.dom4j.io.aelfred.XmlParser.pushURL(XmlParser.java:3560)
> at org.dom4j.io.aelfred.XmlParser.doParse(XmlParser.java:147)
> at org.dom4j.io.aelfred.SAXDriver.parse(SAXDriver.java:315)
> at org.dom4j.io.SAXReader.read(SAXReader.java:314)
> at org.dom4j.io.SAXReader.read(SAXReader.java:249)
> at org.apache.taglibs.xtags.xpath.ParseTag.doAfterBody(ParseTag.java:138)
> at docs.xtags.examples.much_ado_1._jspService(much_ado_1.java:187)
> at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
> at org.apache.tomcat.core.Handler.invoke(Unknown Source)
> at org.apache.tomcat.core.Handler.service(Unknown Source)
> at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
> at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
> at org.apache.tomcat.core.ContextManager.service(Unknown Source)
> at
>
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
> Source)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> at java.lang.Thread.run(Thread.java:484)
> ----- Original Message -----
> From: "James Strachan" <james_strachan@yahoo.co.uk>
> To: "Tag Libraries Users List" <taglibs-user@jakarta.apache.org>
> Sent: Friday, November 09, 2001 7:22 PM
> Subject: Re: error with xtags and tomcat 3.3
>
>
> > Hi Richard.
> >
> > I've patched the XTags code to work properly with dom4j 1.1. Hopefully
> Glenn
> > will also update the nightly build soon as well.
> >
> > Until then the latest CVS image should work also..
> >
> > James
> > ----- Original Message -----
> > From: "Richard Sand" <rsand@vgalleries.com>
> > To: <taglibs-user@jakarta.apache.org>
> > Sent: Thursday, November 08, 2001 1:20 AM
> > Subject: error with xtags and tomcat 3.3
> >
> >
> > > Hi- I am using the Nov 6 build of xtags and I just today upgraded my
> > tomcat
> > > from 3.2.2 to 3.3.  Suddenly, my jsp page using xtags will not work.
> The
> > > error I get is:
> > >
> > > java.lang.AbstractMethodError:
> > > org/apache/taglibs/xtags/util/JspVariableContext.getVariableValue
> > > at org.jaxen.ContextSupport.getVariableValue(ContextSupport.java:97)
> > > at org.jaxen.Context.getVariableValue(Context.java:57)
> > > at
> > >
> >
>
org.jaxen.expr.DefaultVariableReferenceExpr.evaluate(DefaultVariableReferenc
> > > eExpr.java:60)
> > > at org.jaxen.expr.DefaultXPath.asList(DefaultXPath.java:46)
> > > at org.jaxen.JaXPath.jaSelectNodes(JaXPath.java:35)
> > > at org.jaxen.JaXPath.jaSelectSingleNode(JaXPath.java:40)
> > > at org.jaxen.JaXPath.jaValueOf(JaXPath.java:52)
> > > at org.jaxen.BaseXPath.valueOf(BaseXPath.java:32)
> > > at org.dom4j.xpath.DefaultXPath.valueOf(DefaultXPath.java:169)
> > > at
> > >
> org.apache.taglibs.xtags.xpath.VariableTag.doStartTag(VariableTag.java:99)
> > > at help.help_1._jspService(help_1.java, Compiled Code)
> > > .......etc.
> > >
> > > I'm suspecting a version conflict in one of the jar files but I
haven't
> > been
> > > able to track it down.  Anyone have any suggestions?  I'm also using
the
> > > most recent dom4j-full.jar.
> > >
> > > Thanks!
> > >
> > > Best regards,
> > >
> > > Richard
> > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:taglibs-user-help@jakarta.apache.org>
> > >
> > >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:taglibs-user-help@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:taglibs-user-help@jakarta.apache.org>
>
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message