Your message dated Wed, 10 Feb 2016 16:52:52 +0000
with message-id <e1aty0a-0000y0...@franck.debian.org>
and subject line Bug#808378: fixed in tomcat8 8.0.32-1
has caused the Debian Bug report #808378,
regarding tomcat8: WARNING: A context path must either be an empty string or 
start with a '/' and do not end with a '/'. The path [/] does not meet these 
criteria and has been changed to []
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
808378: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808378
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tomcat8
Version: 8.0.28-1
Severity: normal

During Tomcat 8 restart I get warning:

  org.apache.catalina.core.StandardContext setPath
  WARNING: A context path must either be an empty string or start with a '/' 
and do not end with a '/'. The path [/] does not meet these criteria and has 
been changed to []

I filed bug in upstream with wrong assumption:

  https://bz.apache.org/bugzilla/show_bug.cgi?id=58754

and got response that shown that Debian packagers make mistake in

  /usr/share/tomcat8-root/default_root/META-INF/context.xml 

file:

    <Context path="/" 
    antiResourceLocking="false" />

Docs say:

  https://tomcat.apache.org/tomcat-8.0-doc/config/context.html

  If the context path is the empty string them the base name will be ROOT
  (always in upper case) otherwise the base name will be the context path with
  the leading '/' removed and any remaining '/' characters replaced with '#'.

Using "/" as path may result that context will not be deployed:

  
http://stackoverflow.com/questions/7276989/howto-set-the-context-path-of-a-web-application-in-tomcat-7-0

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (200, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages tomcat8 depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.57
ii  tomcat8-common         8.0.28-1
ii  ucf                    3.0030

Versions of packages tomcat8 recommends:
ii  authbind  2.1.1+nmu1

Versions of packages tomcat8 suggests:
pn  libtcnative-1     <none>
ii  tomcat8-admin     8.0.28-1
ii  tomcat8-docs      8.0.28-1
pn  tomcat8-examples  <none>
ii  tomcat8-user      8.0.28-1

-- Configuration Files:
/etc/tomcat8/logging.properties changed:
handlers = 1catalina.org.apache.juli.FileHandler, 
2localhost.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
.handlers = 1catalina.org.apache.juli.FileHandler, 
java.util.logging.ConsoleHandler
1catalina.org.apache.juli.FileHandler.level = FINE
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
1catalina.org.apache.juli.FileHandler.prefix = catalina
1catalina.org.apache.juli.FileHandler.rotatable = false
2localhost.org.apache.juli.FileHandler.level = FINE
2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
2localhost.org.apache.juli.FileHandler.prefix = localhost
2localhost.org.apache.juli.FileHandler.rotatable = false
trunk.org.apache.juli.FileHandler.level = FINE
trunk.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
trunk.org.apache.juli.FileHandler.prefix = lombard-trunk
trunk.org.apache.juli.FileHandler.rotatable = false
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 
2localhost.org.apache.juli.FileHandler
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/rsnetlombard-orig].level
 = INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/rsnetlombard-orig].handlers
 = trunk.org.apache.juli.FileHandler

/etc/tomcat8/server.xml changed:
<?xml version='1.0' encoding='utf-8'?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!-- Note:  A "Server" is not itself a "Container", so you may not
     define subcomponents such as "Valves" at this level.
     Documentation at /docs/config/server.html
 -->
<Server port="8105" shutdown="SHUTDOWN">
  <Listener className="org.apache.catalina.startup.VersionLoggerListener" />
  <!-- Security listener. Documentation at /docs/config/listeners.html
  <Listener className="org.apache.catalina.security.SecurityListener" />
  -->
  <!--APR library loader. Documentation at /docs/apr.html -->
  <!--
  <Listener className="org.apache.catalina.core.AprLifecycleListener" 
SSLEngine="on" />
  -->
  <!-- Prevent memory leaks due to use of particular java/javax APIs-->
  <Listener 
className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
  <Listener 
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
  <Listener 
className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
  <!-- Global JNDI resources
       Documentation at /docs/jndi-resources-howto.html
  -->
  <GlobalNamingResources>
    <!-- Editable user database that can also be used by
         UserDatabaseRealm to authenticate users
    -->
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
              description="User database that can be updated and saved"
              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
              pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>
  <!-- A "Service" is a collection of one or more "Connectors" that share
       a single "Container" Note:  A "Service" is not itself a "Container",
       so you may not define subcomponents such as "Valves" at this level.
       Documentation at /docs/config/service.html
   -->
  <Service name="Catalina">
    <!--The connectors can use a shared executor, you can define one or more 
named thread pools-->
    <!--
    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
        maxThreads="150" minSpareThreads="4"/>
    -->
    <!-- A "Connector" represents an endpoint by which requests are received
         and responses are returned. Documentation at :
         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
         Java AJP  Connector: /docs/config/ajp.html
         APR (HTTP/AJP) Connector: /docs/apr.html
         Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
    -->
    <Connector port="8180" protocol="HTTP/1.1"
               connectionTimeout="20000"
               URIEncoding="UTF-8"
               redirectPort="8443" />
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
    -->
    <!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443
         This connector uses the NIO implementation that requires the JSSE
         style configuration. When using the APR/native implementation, the
         OpenSSL style configuration is required as described in the APR/native
         documentation -->
    <!--
    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <!--
    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
         every request.  The Engine implementation for Tomcat stand alone
         analyzes the HTTP headers included with the request, and passes them
         on to the appropriate Host (virtual host).
         Documentation at /docs/config/engine.html -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <Engine name="Catalina" defaultHost="localhost">
      <!--For clustering, please take a look at documentation at:
          /docs/cluster-howto.html  (simple how to)
          /docs/config/cluster.html (reference documentation) -->
      <!--
      <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
      -->
      <!-- Use the LockOutRealm to prevent attempts to guess user passwords
           via a brute-force attack -->
      <Realm className="org.apache.catalina.realm.LockOutRealm">
        <!-- This Realm uses the UserDatabase configured in the global JNDI
             resources under the key "UserDatabase".  Any edits
             that are performed against this UserDatabase are immediately
             available for use by the Realm.  -->
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
               resourceName="UserDatabase"/>
      </Realm>
      <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">
        <!-- SingleSignOn valve, share authentication between web applications
             Documentation at: /docs/config/valve.html -->
        <!--
        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
        -->
        <!-- Access log processes all example.
             Documentation at: /docs/config/valve.html
             Note: The pattern used is equivalent to using pattern="common" -->
        <Valve className="org.apache.catalina.valves.AccessLogValve" 
directory="logs"
               prefix="localhost_access_log" suffix=".txt"
               rotatable="false"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" />
      </Host>
    </Engine>
  </Service>
</Server>

/etc/tomcat8/tomcat-users.xml changed:
<?xml version='1.0' encoding='utf-8'?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<tomcat-users xmlns="http://tomcat.apache.org/xml";
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
              xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
              version="1.0">
<!--
  NOTE:  By default, no user is included in the "manager-gui" role required
  to operate the "/manager/html" web application.  If you wish to use this app,
  you must define such a user - the username and password are arbitrary.
-->
<!--
  NOTE:  The sample user and role entries below are wrapped in a comment
  and thus are ignored when reading this file. Do not forget to remove
  <!.. ..> that surrounds them.
-->
<!--
  <role rolename="tomcat"/>
  <role rolename="role1"/>
  <user username="tomcat" password="tomcat" roles="tomcat"/>
  <user username="both" password="tomcat" roles="tomcat,role1"/>
  <user username="role1" password="tomcat" roles="role1"/>
-->
  <user username="admin" password="12345678" roles="manager-gui,admin-gui" />
</tomcat-users>


-- debconf information:
* tomcat8/javaopts: -Djava.awt.headless=true -Xmx512m -XX:+UseConcMarkSweepGC 
-XX:MaxPermSize=256m
* tomcat8/groupname: user
* tomcat8/username: user

-- 
Best regards!

--- End Message ---
--- Begin Message ---
Source: tomcat8
Source-Version: 8.0.32-1

We believe that the bug you reported is fixed in the latest version of
tomcat8, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 808...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (supplier of updated tomcat8 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 21 Dec 2015 11:20:10 +0100
Source: tomcat8
Binary: tomcat8-common tomcat8 tomcat8-user libtomcat8-java libservlet3.1-java 
libservlet3.1-java-doc tomcat8-admin tomcat8-examples tomcat8-docs
Architecture: source all
Version: 8.0.32-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description:
 libservlet3.1-java - Servlet 3.1, JSP 2.3, EL 3.0 and WebSocket 1.0 Java API 
classes
 libservlet3.1-java-doc - Servlet 3.1, JSP 2.3, EL 3.0 and WebSocket 1.0 Java 
API documenta
 libtomcat8-java - Apache Tomcat 8 - Servlet and JSP engine -- core libraries
 tomcat8    - Apache Tomcat 8 - Servlet and JSP engine
 tomcat8-admin - Apache Tomcat 8 - Servlet and JSP engine -- admin web 
application
 tomcat8-common - Apache Tomcat 8 - Servlet and JSP engine -- common files
 tomcat8-docs - Apache Tomcat 8 - Servlet and JSP engine -- documentation
 tomcat8-examples - Apache Tomcat 8 - Servlet and JSP engine -- example web 
applicati
 tomcat8-user - Apache Tomcat 8 - Servlet and JSP engine -- tools to create user
Closes: 808378
Changes:
 tomcat8 (8.0.32-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release
   * Fixed a warning in catalina.out caused by an incorrect path
     for the root context (Closes: #808378)
   * Standards-Version updated to 3.9.7 (no changes)
Checksums-Sha1:
 40582baaf9216ad2e1ab3f4472185fb22232c8ef 2812 tomcat8_8.0.32-1.dsc
 badd9580471155c226017a842a91fc92aeb9549d 3473112 tomcat8_8.0.32.orig.tar.xz
 7243079dda375ea3b495f9ede15e16cb84beca93 38460 tomcat8_8.0.32-1.debian.tar.xz
 a95e3ae8ca8f967bb2f9279f4e6d565914ffc3f1 241274 
libservlet3.1-java-doc_8.0.32-1_all.deb
 c7f8e30092c7bf1bb7fe096d3834a61016bfcd26 390716 
libservlet3.1-java_8.0.32-1_all.deb
 b6d4347aa535fc6e1465672312a86492fc756e13 4631712 
libtomcat8-java_8.0.32-1_all.deb
 32878d7b8c07716d245af84348ebcb6b086d74cd 34150 tomcat8-admin_8.0.32-1_all.deb
 c483c5c3ba001ed1dab608378fc0881de05bc80b 56004 tomcat8-common_8.0.32-1_all.deb
 fa47e7e4b0597ed2dfa21a7e9854053b4657c59e 740226 tomcat8-docs_8.0.32-1_all.deb
 6e426536ebd41bcf2e3fd5f1481e6b6795b6c666 191348 
tomcat8-examples_8.0.32-1_all.deb
 d44f9e2a0a4270ec0fe14207096a70038d20bcfc 33874 tomcat8-user_8.0.32-1_all.deb
 7816f44d366c5dc48d1bb6f8a04cd42fa398667e 45158 tomcat8_8.0.32-1_all.deb
Checksums-Sha256:
 2cb7bcbb8bc9c30d6824b4e72c8e02f77644b7b2579c0ed1062a913e918ca55d 2812 
tomcat8_8.0.32-1.dsc
 d2be58fc3fcece412adcd07dabf88b755debc9aaefacbb3c8dfc0892dfa5c769 3473112 
tomcat8_8.0.32.orig.tar.xz
 b06472249e8307433f02098d3fbc9bc93fba3da467f67466903d77d8a9b4a233 38460 
tomcat8_8.0.32-1.debian.tar.xz
 9726ebed39050e1d8db8e1f72c47b14741f58863732569458cc9ae3320358a57 241274 
libservlet3.1-java-doc_8.0.32-1_all.deb
 b6437c806431b74584e46da2c1f53658a74546ab434be1d578ee58373c8f98ec 390716 
libservlet3.1-java_8.0.32-1_all.deb
 0193153df66f653f81feb2bbfdfe0dc7a7177b15e26e51c75f1b87f21e0f8af0 4631712 
libtomcat8-java_8.0.32-1_all.deb
 dd5b2c8b18189f2e2db478b0c0b272a9016434a19702e8d335f6781fad9e6167 34150 
tomcat8-admin_8.0.32-1_all.deb
 7ed716d5797a110254532e74c934d63023f49019110a216e1f479e39d470c373 56004 
tomcat8-common_8.0.32-1_all.deb
 3b6171fb6b15ad20a7f443790850a105fa4ee4eca240f69ac23372756648af18 740226 
tomcat8-docs_8.0.32-1_all.deb
 df3e1e181edf8444f7d8c33d0c506ebe8e993f6546aef7aa16c73f7bb716445f 191348 
tomcat8-examples_8.0.32-1_all.deb
 d5ac5359a6d2947fa4ba03faa5578b083b6c1bbb3935e1f693b8b713bb524a2f 33874 
tomcat8-user_8.0.32-1_all.deb
 37301860f9b2c04cede95f6018e207685d4fd2a3b89adcde7cdec4f78c28c0bb 45158 
tomcat8_8.0.32-1_all.deb
Files:
 cf095a078817cd2aa21ddb956c9e4472 2812 java optional tomcat8_8.0.32-1.dsc
 835f436460e445dab7989c53a6a83b76 3473112 java optional 
tomcat8_8.0.32.orig.tar.xz
 c7f36d26289c67da66cd59cf9448fed6 38460 java optional 
tomcat8_8.0.32-1.debian.tar.xz
 3661a3026e9bb095a2a9f4e0a793cb81 241274 doc optional 
libservlet3.1-java-doc_8.0.32-1_all.deb
 5e0764cf4729ed8f5a222df0fa0c7303 390716 java optional 
libservlet3.1-java_8.0.32-1_all.deb
 39c9b7b60c3a456da7aced1373eab723 4631712 java optional 
libtomcat8-java_8.0.32-1_all.deb
 d908134e03280d67fb3adf361eeabcda 34150 java optional 
tomcat8-admin_8.0.32-1_all.deb
 99184a37b9675989ee84d6d2b83ac0e5 56004 java optional 
tomcat8-common_8.0.32-1_all.deb
 7de5404d5b2f69a002767b0ad19e6212 740226 doc optional 
tomcat8-docs_8.0.32-1_all.deb
 2176fc41a17b25b3658e2cd5b5358ff3 191348 java optional 
tomcat8-examples_8.0.32-1_all.deb
 b372c063483197462e66024244e737d1 33874 java optional 
tomcat8-user_8.0.32-1_all.deb
 df62c67153bf7b28776028187cc288e1 45158 java optional tomcat8_8.0.32-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWu2UDAAoJEPUTxBnkudCsZooP/1ztsqk7ZqnHBAWxcD4TE7h/
VdF7MrDobR4GGSquAR+SHgtdaRaDRUZQX8ljQ8nlq9s83EOQKvvCgWqI2g/Vd/6H
QBWSHmQ25X1FRIQrRaObC1CwAgCZiI2sKISeZKZY1JxH/BWOwgYvOrHtYMxZ/fPc
9X4H58oytaR7wLg6RqTEu3aUD+x6wki2BbJg+6RZpgJMFjiAAw0pvwGRctuGpSjb
mjl25GViWqeBPVXCmHHUxoi/7qHhi0zKzt5Zrdx/mFLLgigPbYhkNIdqUbHOsgc1
IytYmtCC4RYaz0+VwknBPas0AnlrM+RaP+qFyRb83hyL4zvgKlyTwFlbChFahCcn
hxPotE9VlbGxqeVP5bntJRcK5CGrcq5kvcqb7l9q8WU+/gx3dglGEOoni5Xmhzis
pl+kjVyCLReMWkOuxzcd98kNPsDqKhmVBxlb28iVAK3yV/Q7+65TyeYQOcIW9bC/
Ags9iIqHFvFpXOS7igFnODeCRa/eAjIK0KrnMhtgwg9CUlb4ePHLSizyEVdC79Rn
mSoQNxedp1ZcZQIsZPj0XDl8UBH5zKf6H+wpKWGf7qwNUsifvY77+4yNjUZc/kyC
MvM8wcG0i0IE6BQ0U8a19GIRT/zLvvQXqaS/Zv7k/Y8v6vM+Yybm1foa4jgQEyZj
jDxL/8pgpArkFCQHurPq
=Hv0X
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to