tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JT <>
Subject Re: Undeploy does not delete all .jar files
Date Wed, 22 Apr 2009 19:11:53 GMT
I am confused again.  I was using Tomcat 5.5, but I uninstalled 5.5 and
installed 6 and tried to start from scratch by following the docs.  Maybe
I'm missing something, but I am using a database and I think it's telling me
to add my database connections inside of the context.xml file.  "<Resouce...

JDeveloper automatically added a META-INF directory and when it creates my
war file it puts this directory under WEB-INF/classes.  I created another
directory with the location that you mentioned
webapps/xxx/META-INF/context.xml, but would that mess everything up if I
have 2 META-INF directories?

Nothing has changed with the new version of Tomcat.

On Wed, Apr 22, 2009 at 10:33 AM, Caldarale, Charles R <> wrote:

> > From: JT []
> > Subject: Re: Undeploy does not delete all .jar files
> >
> > I took everything out of my conf/context.xml file except for
> > WatchedResource.  This includes....
> >
> > <Logger className="org.apache.catalina.logger.FileLogger"
> > directory="logs"  prefix="localhost_log." suffix=".txt"
> > timestamp="true"/>
> Your config is extremely suspect, since 5.5 does not have any <Logger>
> elements.  Given that lots of config items have changed both syntax and
> semantics compared with older Tomcat levels, you may need to start from
> scratch with a clean 5.5 (or 6.0) installation, and update the newer Tomcat
> one step at a time.  Do not blindly copy anything from an older version -
> read the doc and update the newer config appropriately.
> > I have the context.xml file in my webapps/xxx/WEB-INF/classes/META-INF
> That's another major error; the location should be
> webapps/xxx/META-INF/context.xml.
>  - Chuck
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message