tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allan Kamau <>
Subject Re: Tomcat won't find my web.xml files.
Date Thu, 04 Apr 2002 06:41:28 GMT
I may not fully find a solution to your problem as
everything seems right.
I suspect your application may not have be fully
deployed. To deploy an application you need to add a
context in your server.xml. Or you can use Catalina's
manager application to deploy/undeploy a context
without Catalina's shutdown.

You could however narrow down the to the source of
your problem by 

1>Shut down Catalina, move you application folder from
the webapps directory. Delete the contents of
Catalina's work directory. Create a new user with role
"manager" in your tomcat-users.xml file in your
catalina conf/ directory.
Start Catalina and deploy your application using the
manager application by logging using the new user
created above (You may learn about the manager
application from your catalina installation)

2> Is your .tld file actually located in the specified
"/WEB-INF/lib/taglib.tld" location in your

Well I hope this works.

Allan Kamau.

--- Jason Johnston <> wrote:
> I've been working with Tomcat 4.0.1 and I'm running
> into a major stumbling block.  I can run servlets
> and jsp's letting tomcat default to the default
> web.xml but I can't make my own.
> I have the following web.xml:
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE web-app PUBLIC 
>  '-//Sun Microsystems, Inc. //DTD Web Application
> 2.3//EN'
>  ''>
> <web-app>
>   <servlet>
>   <servlet-name>login</servlet-name>
>   <servlet-class>com.onjava.login</servlet-class>
>   </servlet>
>   <taglib>
>  <taglib-uri>/onjava</taglib-uri>
>   </taglib>
> </web-app>
> Located at
> TOMCAT_HOME/webapps/onjava/WEB-INF/web.xml
> The custom tags fail and I see this in the logs:
> 2002-04-03 13:10:37 ContextConfig[/onjava]: Missing
> application web.xml, using defaults only
> Am I missing something? I'm running on NT4.0 Server
> Sp6a.  I've seen other people mention this problem
> but I haven't found any solutions.
> LET ME KNOW!!!!  This is a major stumbling block.  I
> basically can't build webapps if I can't get it to
> recognize me web.xml files.

Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message