Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 25757 invoked from network); 24 Feb 2004 19:59:46 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Feb 2004 19:59:46 -0000 Received: (qmail 54703 invoked by uid 500); 24 Feb 2004 19:59:12 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 54660 invoked by uid 500); 24 Feb 2004 19:59:12 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 54384 invoked from network); 24 Feb 2004 19:59:10 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.183) by daedalus.apache.org with SMTP; 24 Feb 2004 19:59:10 -0000 Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Avii3-0007WT-00 for tomcat-user@jakarta.apache.org; Tue, 24 Feb 2004 20:59:15 +0100 Received: from [217.228.250.104] (helo=cyberspaceroad.com) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1Avii2-0004Za-00 for tomcat-user@jakarta.apache.org; Tue, 24 Feb 2004 20:59:14 +0100 Message-ID: <403BACAF.9080208@cyberspaceroad.com> Date: Tue, 24 Feb 2004 20:57:35 +0100 From: Adam Hardy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031021 X-Accept-Language: de MIME-Version: 1.0 To: Tomcat Users List Subject: Re: tomcat building *.tld mapping at startup References: <9C5166762F311146951505C6790A9CF8013DFD9B@US-VS1.corp.mpi.com> <403B9D6D.1060200@cyberspaceroad.com> <403BA2FC.4030401@cyberspaceroad.com> In-Reply-To: <403BA2FC.4030401@cyberspaceroad.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:7be52423742ce504c1b541fa1f258887 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N With the slight hope that someone reading this might have been in this siutation before, I was right first time in what I said below. Tomcat in stand-alone mode finds the tld files in my war as I want. In tomcat as an SAR in jboss, the jars in the war are not being scanned for tld files. Just the WEB-INF directory, not the WEB-INF/lib where the jars are. Obviously this stops me in my tracks. Could it be something to do with the Host configuration? Such as deployOnStartup, deployXML, unpackWARs, autoDeploy or something? I have experimented with them but not got any positive results. Thanks Adam On 02/24/2004 08:16 PM Adam Hardy wrote: > OK, sorry - forget the JBoss factor. This seems to be a difference > between a deploy directory and a WAR. Tomcat isn't looking in the Jars > in a War. > > On 02/24/2004 07:52 PM Adam Hardy wrote: > >> Argh. I can't get jboss-tomcat to look in the jars in my war for the >> tlds. In the logging I can see tomcat building the tld map and >> extracting the tlds from WEB-INF directory and sub-dirs, but it >> ignores the jars. >> >> And I see it writing the tldCache.ser. >> >> In the TldConfig.java, I see there's a method >> tldScanResourcePathsWebInfLibJars() that has a first line of code >> outputting a log statement, that it's going to scan the /WEB-INF/lib >> where it would find the jars. But it looks like the method never gets >> called. >> >> I know it's 99% certain that my Jboss-tomcat config is doing something >> weird, but perhaps someone can see what? >> >> Adam >> >> On 02/24/2004 05:30 PM Shapira, Yoav wrote: >> >>> Howdy, >>> http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/s >>> hare/org/apache/catalina/startup/TldConfig.java?rev=1.35&view=markup >>> >>> is a good starting point. >>> >>> Yoav Shapira >>> Millennium ChemInformatics >>> >>> >>> >>>> -----Original Message----- >>>> From: Adam Hardy [mailto:ahardy.struts@cyberspaceroad.com] >>>> Sent: Tuesday, February 24, 2004 11:21 AM >>>> To: Tomcat Users List >>>> Subject: tomcat building *.tld mapping at startup >>>> >>>> Where can I find out what *.tld files tomcat is finding in its startup >>>> procedure when it scans through the webapps? >>>> >>>> I have a problem with tomcat5 SAR in JBoss. My app works fine in >>>> stand-alone, but under JBoss, I get a Jasper Exception: >>>> >>>> The absolute uri: http://java.sun.com/jsp/jstl/fmt cannot be resolved >>> >>> >>> >>> in >>> >>>> either web.xml or the jar files deployed with this application >>>> >>>> for the first JSTL tld declaration that occurs. >>>> >>>> I have checked rigorously that my app has the JSTL standard.jar in only >>>> the one place in WEB-INF, that it's the right version, that my tld >>>> declaration is right, and so on. >>>> >>>> Can I somehow decipher tldCache.ser? How could I turn logging on for >>>> this bit in tomcat? >>>> >>>> And which classes is it that do this, so I can have a look at the >>> >>> >>> >>> source >>> >>>> code? >>>> >>>> Thanks >>>> Adam >>>> -- >>>> struts 1.1 + tomcat 5.0.16 + java 1.4.2 >>>> Linux 2.4.20 Debian >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >>> >>> >>> >>> >>> >>> >>> >>> This e-mail, including any attachments, is a confidential business >>> communication, and may contain information that is confidential, >>> proprietary and/or privileged. This e-mail is intended only for the >>> individual(s) to whom it is addressed, and may not be saved, copied, >>> printed, disclosed or used by anyone else. If you are not the(an) >>> intended recipient, please immediately delete this e-mail from your >>> computer system and notify the sender. Thank you. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >>> >>> >> >> > > -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org