tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From C F <tacnab...@yahoo.com>
Subject Re: Need Help Getting Taglibs Working
Date Tue, 15 Jul 2003 19:11:09 GMT
Thanks to all who helped me... and thanks to Kris who
helped me clean a lot of junk out of my app to help
narrow down the problem! 
It turns out that it was the version of taglib I was
using.  I still don't entirely understand the
link/directory structure under the jakarta binaries
download page.  As I understood it, the "standard"
directory was the latest JSTL spec which needs a JSP
2.0+ container.... and "standard-1.0" directory was
what I needed for Tomcat 4.  I guess that holds true
but I did something funky with the CVS branch builds? 
I dont' know.  I got the nightly build because I
couldn't figure what the heck was going on with that
directory structure under "Realease Builds/Taglibs"
link.  If you look under taglibs/standard-1.0 under
there, you get nothing.  What finally fixed the
problem was going to "taglibs/standard".... which I
thought was supposed to be the newer JSTL which I
could not use.... and it does not help that file names
are truncated on the page!  All of this despite the
fact that I was using taglibs/standard-1.0 directory
from the nightly build I had retrieved earlier.
This probably makes no sense to anyone reading this...
I don't know how to explain it.  Either that download
section is screwed up or... more likely... I just
don't get it.  Either way, it's working now... thanks
again!



http://www.ibiblio.org/pub/packages/infosystems/WWW/servers/apache/jakarta/taglibs/standard/binaries/

--- Pierre Delisle <Pierre.Delisle@Sun.COM> wrote:
> Did you download the nightly for the 1.0 branch, or
> the HEAD?
> Please note there is both 'standard-1.0' and
> 'standard'
> at
>
http://cvs.apache.org/builds/jakarta-taglibs/nightly/projects/.
> 
> If you run on tomcat-4.1.24, you want to use the
> nightly under
> 'standard-1.0'.
> 
>    -- Pierre
> 
> C F wrote:
> > Hello,
> > I tried for many hours to get Taglibs working with
> Tomcat.  I'm at my wit's end!!!!!  Hopefully someone
> here can help.
> >  
> > I'm using Tomcat tomcat-4.1.24 and
> jakarta-taglibs-20030713 nightly build.  I'm trying
> to get the standard JSTL 1.0 tags working.  
> > When I copy the jars from standard-1.0\lib into my
> WEB-INF\lib.  I get a bunch of errors starting up
> when Tomcat (partial stack trace at the bottom of
> this message).
> > When I don't do the jars and I just copy the tld
> files from standard-1.0\tld into my WEB-INF
> directory and put the <tablib> entries into the
> web.xml.... I don't get any errors at Tomcat startup
> but when I try to use the JSTL tags such as
> <c:out/>, I get a message saying that it can't find
> the "out" class!
> > I've seen about 3 or 4 different versions of
> installations directions floating around for TagLibs
> and I think I've tried every combination of all of
> them.  I'm out of ideas. Help!  Thanks!!!
> >  
> >
>
===============================================================
> >  
> >  
> >  
> >  
> >  
> > Using CATALINA_BASE:   C:\tomcat
> > Using CATALINA_HOME:   C:\tomcat
> > Using CATALINA_TMPDIR: C:\tomcat\temp
> > Using JAVA_HOME:       C:\j2sdk1.4.1_02
> > Jul 14, 2003 11:55:10 PM
> org.apache.commons.modeler.Registry loadRegistry
> > INFO: Loading registry information
> > Jul 14, 2003 11:55:11 PM
> org.apache.commons.modeler.Registry getRegistry
> > INFO: Creating new Registry instance
> > Jul 14, 2003 11:55:12 PM
> org.apache.commons.modeler.Registry getServer
> > INFO: Creating MBeanServer
> > Jul 14, 2003 11:55:15 PM
> org.apache.coyote.http11.Http11Protocol init
> > INFO: Initializing Coyote HTTP/1.1 on port 8080
> > Starting service Tomcat-Standalone
> > Apache Tomcat/4.1.24
> > Jul 14, 2003 11:55:31 PM
> org.apache.commons.digester.Digester error
> > SEVERE: Parse Error at line 6 column 19: Document
> root element "taglib", must match DOCTYPE root
> "null".
> > org.xml.sax.SAXParseException: Document root
> element "taglib", must match DOCTYPE root "null".
> >         at
>
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
> >         at
>
org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> >         at
>
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
> >         at
>
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
> >         at
> org.apache.xerces.parsers.XMLParser.parse(Unknown
> Source)
> >         at
>
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
> >         at
>
org.apache.commons.digester.Digester.parse(Digester.java:1618)
> >         at
>
org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig.java:977)
> >         at
>
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:921)
> >         at
>
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
> >         at
>
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
> >         at
>
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
> >         at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
> >         at
>
org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
> >         at
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> >         at
>
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> >         at
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> >         at
>
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> >         at
>
org.apache.catalina.core.StandardService.start(StandardService.java:497)
> >         at
>
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> >         at
>
org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> >         at
>
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> >         at
>
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> >         at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at
> java.lang.reflect.Method.invoke(Method.java:324)
> >         at
>
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> > Jul 14, 2003 11:55:31 PM
> org.apache.commons.digester.Digester error
> > SEVERE: Parse Error at line 6 column 19: Document
> is invalid: no grammar found.
> > org.xml.sax.SAXParseException: Document is
> invalid: no grammar found.
> >         at
>
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
> >         at
>
org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
> >         at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> >         at
>
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
> >         at
>
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Mime
View raw message