problem in .tld pickup from a jar

2003-12-18 Thread A Misra
)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
at java.lang.Thread.run(Thread.java:534)


My query is while in the first scenario tomcat was
smart enough to match the uri's for all the available
tld's even when they are not mapped in web.xml; while
in the second scenario - if explicitly mapped it
throws the JasperEeception of not able to find the
META-INF/taglib.tld.


I think that any tld if present in the META-INF
subdirectory of the jar should be picked.

Here are the respective spec sections:

JSP.7.2.1 Packaged Tag Libraries 
JSP page authoring tools and JSP containers are
required to accept a tag library that is packaged as a
JAR file. When deployed in a JSP container, the
standard JAR conventions described in the Servlet 2.3
specification apply, including the conventions for
dependencies on extensions. Packaged tag libraries
must have at least one tag library descriptor file.
The JSP 1.1 specification allowed only a single TLD,
in META-INF/taglib.tld, but in JSP 1.2 multiple tag
libraries are allowed. See Section JSP.7.3.1 for how
TLDs are identified.

JSP.7.3.1 Identifying Tag Library Descriptors
Tag library descriptor files have names that use the
extension  .tld , and the extension indicates a tag
library descriptor file. When deployed inside a JAR
file, the tag library descriptor files must be in the
META-INF directory, or a subdirectory of it. When
deployed directly into a web application, the tag
library descriptor files must always be in the WEB-INF
directory, or some subdirectory of it. The DTD for a
TLD document is
http://java.sun.com/dtd/webjsptaglibrary_ 1_2.dtd


Thanks,
A Misra

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Configuring Multiple Tomcat JVMs with Apache - Load Balancing

2001-12-13 Thread Vijai Misra

Hi,

I'm trying to Configure Multiple Tomcat JVMs with Apache to distribute load
between various AppServers. Apparently, load balancing with Tomcat is not
widely published on the internet.
I figured someone might be able to point me to the right direction so I can
make this architecture work.

Thanks,
VJ
Sr. Consultant
TechSpan, Inc.
Email: [EMAIL PROTECTED]
http://www.geocities.com/vijaimisra



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]