Done: https://issues.apache.org/bugzilla/show_bug.cgi?id=56938

On Mon, Sep 8, 2014 at 11:55 PM, Mark Thomas <ma...@apache.org> wrote:

> On 09/09/2014 00:17, Austin Jones wrote:
> > Hello,
> > I am having a problem with Tomcat 8 (v8.0.12), and uppercase context
> paths.
> >  I am using the manager interface (text) to deploy apps on Linux with the
> > J2SE HotSpot JVM.
> >
> > I deploy my application as a compressed WAR, and context.xml config.  I
> > have tomcat configured to decompress the WAR in the webapps dir.
> >
> > I traced the issue to HostConfig.java line 1226:
> >
> > 1225: String docBase = context.getDocBase();
> > 1226:                        docBase =
> docBase.toLowerCase(Locale.ENGLISH);
> > 1227:                        if (!docBase.endsWith(".war")) {
> > ...
> > 1234:                            ExpandWar.delete(docBaseFile);
> >
> > My applications have uppercase characters in the context path.  The
> > lowercase context path is passed to ExpandWar.delete, even though the
> > filesystem is case-sensitive (linux).
> >
> > The unpacked webapp directory is not deleted, and ExpandWar reports no
> > errors (since it believes there was no directory to delete).  Tomcat
> > reports a successful deployment in the Manager interface.
> >
> > It seems like the toLowerCase call should be moved into the if statement,
> > or bound to a separate variable, so the physical dir would be deleted,
> and
> > the deployment would take effect.
> >
> > Is there an undocumented requirement that context paths be lowercase, or
> is
> > this a bug?
>
> That sounds like a bug. Please create a Bugzilla issue.
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
*Austin Jones*
Senior Designer

*(619) 819-8844 x1040 Office*
*(619) 819-8840 Fax*

*3131 Camino Del Rio North, Suite 1500San Diego, CA 92108*

 [image: Avadyne Health]

http://www.avadynehealth.com

Benchmark Revenue Management has merged with Avadyne Health! Visit our
website to learn more about this exciting synthesis, bringing
technology-enabled services to healthcare revenue cycle management.

*CONFIDENTIALITY NOTICE: This e-mail communication, including any
attachments, is covered by the Electronic Communication Privacy Act of 1986
(18 U.S.C. sections 2510-21) and may contain information protected by the
federal regulations under the Health Insurance Portability and
Accountability Act of 1996 (45 C. F. R. Parts 160-164) or other
confidential information. If you are not the intended recipient (or
authorized to receive for the recipient), you are hereby notified that any
review, disclosure, dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please delete or destroy all copies of this
communication and any attachments.*

Reply via email to