Your message dated Fri, 23 Apr 2010 21:34:06 +0000
with message-id <[email protected]>
and subject line Bug#575580: fixed in tomcat6 6.0.26-1
has caused the Debian Bug report #575580,
regarding tomcat6-user: tomcat6-instance-create fails when multiple commandline 
options are provided
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 [email protected]
immediately.)


-- 
575580: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575580
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tomcat6-user
Version: 6.0.24-3
Severity: important

Try to pass both the -p and -c options:

$ tomcat6-instance-create -p 8050 -c 8006 tomcat6
You are about to create a Tomcat instance in directory '-c'
[snip much error output]

Only the first option is parsed correctly and the target directory is always
assigned the value of $3.  The problem is in the 'getopts' handling and is
fixed by patching with this diff:

*** /tmp/tomcat6-instance-create.diff
*** /usr/bin/tomcat6-instance-create    2009-03-02 21:45:29.000000000 +0000
--- ./tomcat6-instance-create   2010-03-27 08:15:40.721704619 +0000
***************
*** 64,81 ****
  
  while getopts ":p:c:w:h" options; do
    case $options in
!     p ) HPORT=$OPTARG
!       shift; shift ;;
!     c ) CPORT=$OPTARG
!       shift; shift ;;
!     w ) CWORD=$OPTARG
!       shift; shift ;;
      h ) usage;;
      * ) echo "Error: Unknown parameter '$OPTARG'."
          exit 1;;
    esac
  done
  
  TARGET=$1
  shift
  echo "You are about to create a Tomcat instance in directory '$TARGET'"
--- 64,79 ----
  
  while getopts ":p:c:w:h" options; do
    case $options in
!     p ) HPORT=$OPTARG ;;
!     c ) CPORT=$OPTARG ;;
!     w ) CWORD=$OPTARG ;;
      h ) usage;;
      * ) echo "Error: Unknown parameter '$OPTARG'."
          exit 1;;
    esac
  done
  
+ shift $(($OPTIND - 1))
  TARGET=$1
  shift
  echo "You are about to create a Tomcat instance in directory '$TARGET'"


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tomcat6-user depends on:
ii  netcat                        1.10-38    TCP/IP swiss army knife -- transit
ii  netcat-traditional [netcat]   1.10-38    TCP/IP swiss army knife
ii  tomcat6-common                6.0.24-3   Servlet and JSP engine -- common f

tomcat6-user recommends no packages.

Versions of packages tomcat6-user suggests:
ii  tomcat6                       6.0.24-3   Servlet and JSP engine
pn  tomcat6-admin                 <none>     (no description available)
pn  tomcat6-docs                  <none>     (no description available)
pn  tomcat6-examples              <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: tomcat6
Source-Version: 6.0.26-1

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

libservlet2.5-java-doc_6.0.26-1_all.deb
  to main/t/tomcat6/libservlet2.5-java-doc_6.0.26-1_all.deb
libservlet2.5-java_6.0.26-1_all.deb
  to main/t/tomcat6/libservlet2.5-java_6.0.26-1_all.deb
libtomcat6-java_6.0.26-1_all.deb
  to main/t/tomcat6/libtomcat6-java_6.0.26-1_all.deb
tomcat6-admin_6.0.26-1_all.deb
  to main/t/tomcat6/tomcat6-admin_6.0.26-1_all.deb
tomcat6-common_6.0.26-1_all.deb
  to main/t/tomcat6/tomcat6-common_6.0.26-1_all.deb
tomcat6-docs_6.0.26-1_all.deb
  to main/t/tomcat6/tomcat6-docs_6.0.26-1_all.deb
tomcat6-examples_6.0.26-1_all.deb
  to main/t/tomcat6/tomcat6-examples_6.0.26-1_all.deb
tomcat6-user_6.0.26-1_all.deb
  to main/t/tomcat6/tomcat6-user_6.0.26-1_all.deb
tomcat6_6.0.26-1.debian.tar.gz
  to main/t/tomcat6/tomcat6_6.0.26-1.debian.tar.gz
tomcat6_6.0.26-1.dsc
  to main/t/tomcat6/tomcat6_6.0.26-1.dsc
tomcat6_6.0.26-1_all.deb
  to main/t/tomcat6/tomcat6_6.0.26-1_all.deb
tomcat6_6.0.26.orig.tar.gz
  to main/t/tomcat6/tomcat6_6.0.26.orig.tar.gz



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ludovic Claude <[email protected]> (supplier of updated tomcat6 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 21 Apr 2010 23:07:09 +0100
Source: tomcat6
Binary: tomcat6-common tomcat6 tomcat6-user libtomcat6-java libservlet2.5-java 
libservlet2.5-java-doc tomcat6-admin tomcat6-examples tomcat6-docs
Architecture: source all
Version: 6.0.26-1
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Ludovic Claude <[email protected]>
Description: 
 libservlet2.5-java - Servlet 2.5 and JSP 2.1 Java API classes
 libservlet2.5-java-doc - Servlet 2.5 and JSP 2.1 Java API documentation
 libtomcat6-java - Servlet and JSP engine -- core libraries
 tomcat6    - Servlet and JSP engine
 tomcat6-admin - Servlet and JSP engine -- admin web applications
 tomcat6-common - Servlet and JSP engine -- common files
 tomcat6-docs - Servlet and JSP engine -- documentation
 tomcat6-examples - Servlet and JSP engine -- example web applications
 tomcat6-user - Servlet and JSP engine -- tools to create user instances
Closes: 575580
Changes: 
 tomcat6 (6.0.26-1) unstable; urgency=low
 .
   * New upstream version
   * Apply patch from Mark Scott to fix
     tomcat6-instance-create which failed when multiple commandline
     options are provided, fix creation of FULLPATH (Closes: #575580)
Checksums-Sha1: 
 4b346453428ee9990b59555555d4b213ddc0c2ff 1650 tomcat6_6.0.26-1.dsc
 8bab64fbfde4cfe321a9b1ab48bd6445541c7c01 3279640 tomcat6_6.0.26.orig.tar.gz
 df44181e6067273661ead8280011cebeb11c7e6a 27856 tomcat6_6.0.26-1.debian.tar.gz
 462d1894f5cd15e2540fe6bc9dc958586cce0b09 45528 tomcat6-common_6.0.26-1_all.deb
 b41059485de9b68376a200ef9864102c34eb50f1 30478 tomcat6_6.0.26-1_all.deb
 2c95b2cce14b6a5c8efb0ea07b4c5c82ea731af3 24540 tomcat6-user_6.0.26-1_all.deb
 652b434a4aba9c84fe2e1ddc81d6c7bdc431cd69 3017546 
libtomcat6-java_6.0.26-1_all.deb
 8b3386f26d3f54359cadb6ba900a49e93462cd43 190070 
libservlet2.5-java_6.0.26-1_all.deb
 6daa52786d292bc4cc999332539c9925b527bf49 252820 
libservlet2.5-java-doc_6.0.26-1_all.deb
 13cb200a7079b2d5b0031f6aed0e556b23f1ed39 41064 tomcat6-admin_6.0.26-1_all.deb
 56cf58c51ca2c42d49562b32f39c24aaac7adcca 160294 
tomcat6-examples_6.0.26-1_all.deb
 4b2814c918087ad676518c207bfae74336fa646e 519638 tomcat6-docs_6.0.26-1_all.deb
Checksums-Sha256: 
 0996445fd951b199b64cbeb4b8eabfd81df0b7c765ab5a8641256e8fcdf35fe5 1650 
tomcat6_6.0.26-1.dsc
 110a220f00d6e3c122bf812ce1ee85cf269c78a7a3a8bd24d6c665ab3b57d8a4 3279640 
tomcat6_6.0.26.orig.tar.gz
 fe66ec2fb07241efb2441a98aa543f1d2264d296f7e10b5010870f19e4be7ad2 27856 
tomcat6_6.0.26-1.debian.tar.gz
 f31c7c25a6bb08fef8e4a5cf1595b719649b94d347346d61516220eeeb6e3a53 45528 
tomcat6-common_6.0.26-1_all.deb
 807f0f8521789c9de3ad85d8bde703d2e1cc6bad937256d10f20aafd5d1f8fe6 30478 
tomcat6_6.0.26-1_all.deb
 5c997d36894014eb2f1cb38aa672ef4e5c1496bab540a7d241c65466016fca0b 24540 
tomcat6-user_6.0.26-1_all.deb
 c505442ac588a60308419e53be0723ce8cda1bebe81856d3a47c6c3c54985355 3017546 
libtomcat6-java_6.0.26-1_all.deb
 6c65ae0d143c138109cfc42f1bc76de5cd25f68a0d3d4b317a417b002646b241 190070 
libservlet2.5-java_6.0.26-1_all.deb
 77ef8f3d5542c05e5daff8b2b6b177620af82acb6a9e06d9bc5abcfdf3c0292c 252820 
libservlet2.5-java-doc_6.0.26-1_all.deb
 c5916516390b26a436fd63245bda9b0eee8ea427f0ef706c5f3837bac422501b 41064 
tomcat6-admin_6.0.26-1_all.deb
 cc314fef6443f8ea2277f3ea5e66b43e2da9eea902a8c9ce3a82933fe6ad5049 160294 
tomcat6-examples_6.0.26-1_all.deb
 3ff15017aafa2d5f59ccc20ad6e1d3d5f1a4486a6b5eadb1353eb61c71fc2f85 519638 
tomcat6-docs_6.0.26-1_all.deb
Files: 
 f866459fe2fc29ace0532bc0089e3944 1650 java optional tomcat6_6.0.26-1.dsc
 b204e8e5644291fa5c3f839f6f19dd77 3279640 java optional 
tomcat6_6.0.26.orig.tar.gz
 7052f50c19bf6201ef6be7bd1a02b8ec 27856 java optional 
tomcat6_6.0.26-1.debian.tar.gz
 cddd229da32e8bdbd28b8a390e87dd81 45528 java optional 
tomcat6-common_6.0.26-1_all.deb
 9c8bbcb327b40679f2b15971aca4778a 30478 java optional tomcat6_6.0.26-1_all.deb
 8aa6415a815b35aa7e0bd0ead640ebc0 24540 java optional 
tomcat6-user_6.0.26-1_all.deb
 bd89218b4482195ccaa2766352af557e 3017546 java optional 
libtomcat6-java_6.0.26-1_all.deb
 ee0a13f900ea9c6dc6ad7d5f9a64878b 190070 java optional 
libservlet2.5-java_6.0.26-1_all.deb
 4710d27cb972c296e55caaa216cb58f2 252820 doc optional 
libservlet2.5-java-doc_6.0.26-1_all.deb
 02a0b6a65b2339f7a4f6f08f3cd5dd16 41064 java optional 
tomcat6-admin_6.0.26-1_all.deb
 705d3826ff9de9a859bd30ce294861c3 160294 java optional 
tomcat6-examples_6.0.26-1_all.deb
 e5acb4797b71093153cfcf52c3d1af47 519638 doc optional 
tomcat6-docs_6.0.26-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvSDWYACgkQfY3dicTPjsOLsQCfYFONEvxMebqzQiXA4zaaE7KT
WqIAn2wBZlGqEeKTH43GmlUGDZKA7io0
=NkEI
-----END PGP SIGNATURE-----



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

Reply via email to