It's created by running "ant webdoclet". I believe we did fix a bug in 1.9.x (not sure which version) that sometimes required running "ant clean webdoclet" to regenerate this file. It should be generated in build/<app-name>/WEB-INF.
Matt On 6/25/07, -=j=- <[EMAIL PROTECTED]> wrote:
Hi Matt, Sorry for the long delay... on this: On Mon, 2007-05-21 at 20:10 -0600, Matt Raible wrote: > Does the <app-name>.tld file exist in your WEB-INF/ directory? --------------------------- No, the file sseems to have dissappeared completely. How does this file get created in the first place? I'm not sure what happened but I let my kids play some games on my laptop which may have been a mistake :( Is the file created when you create a new project or what is it's lifecycle and how does it get created/recreated/etc.? Thanks Matt!! -=j=- > If so, > you might try deleting $CATALINA_HOME/work and see if that helps. If > not, does the contents of the file look correct? > > Matt > > On 5/21/07, -=j=- <[EMAIL PROTECTED]> wrote: > > Oh, BTW, I'm using appfuse 1.9.1 (webwork version) for the project > > having this problem. I have recently set up a new 1.9.4 (JSF) project > > but that is still in the domain model phase, I have deployed the new > > project a couple times but am not focusing on the web tier at the > > moment... > > > > On Mon, 2007-05-21 at 19:08 -0600, -=j=- wrote: > > > Hi gang, > > > > > > I'm all of a sudden getting a weird error that says that the tld file > > > bearing the name of my project can't be found and I now can't access my > > > app... this is quite strange as I hadn't been working on the app for a > > > while and it looks like I fouled something but I'm having trouble > > > figuring out what. > > > > > > I tried regenerating the project from the dist and starting over and > > > still got the same error so I'm suspicious I might have fouled something > > > in my environment. > > > > > > Also, when I deploy the app I now get an error complaing about a NPE in > > > the tld listeners... eh, wot?!?! I'm not sure these are related > > > either, as I was getting the NPE before the "foo.tld can't be found" > > > error... the NPE didn't stop the app from running, in fact the app > > > didn't seem to notice that problem at all... Does anybody know what > > > would cause this? I'm most concerned about the missing tld file but > > > would like to fix them both. > > > > > > > > > The first error looks like this: > > > > > > [dox] ERROR [http-8080-Processor25] [jsp].invoke(253) | > > > Servlet.service() for servlet jsp threw exception > > > org.apache.jasper.JasperException: /index.jsp(1,1) File > > > "/WEB-INF/<my-app-name>.tld" not found > > > at > > > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39) > > > at > > > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405) > > > at > > > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:86) > > > at > > > org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:339) > > > at > > > org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:372) > > > at > > > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:484) > > > at > > > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1556) > > > at org.apache.jasper.compiler.Parser.parse(Parser.java:126) > > > > > > > > > And the NPE error looks like this: > > > > > > > > > May 21, 2007 7:03:23 PM org.apache.catalina.startup.HostConfig deployWAR > > > INFO: Deploying web application archive <my-app-name>.war > > > May 21, 2007 7:03:24 PM org.apache.catalina.core.StandardContext > > > processTlds > > > SEVERE: Error reading tld listeners java.lang.NullPointerException > > > java.lang.NullPointerException > > > at org.apache.log4j.Category.isEnabledFor(Category.java:746) > > > at > > > org.apache.commons.logging.impl.Log4JLogger.isTraceEnabled(Log4JLogger.java:327) > > > at > > > org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.java:581) > > > at > > > org.apache.catalina.startup.TldConfig.execute(TldConfig.java:282) > > > at > > > org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4302) > > > at > > > org.apache.catalina.core.StandardContext.start(StandardContext.java:4139) > > > at > > > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
