Bug#303728: tomcat4: catalina.sh does not start debugger with option -debug

Christoph Martin Christoph Martin <martin@uni-mainz.de>, 303728@bugs.debian.org
Fri Apr 8 12:40:04 2005


Package: tomcat4
Version: 4.1.31-2
Severity: normal


If you call catalina.sh debug -security the debugger is only startet
if you apply the following patch:

*** /usr/share/tomcat4/bin/setclasspath.sh~     Thu Jan  6 13:55:46 2005
--- /usr/share/tomcat4/bin/setclasspath.sh      Fri Apr  8 14:11:00 2005
***************
*** 55,61 ****
  
  # Set standard commands for invoking Java.
  _RUNJAVA="$JAVA_HOME"/bin/java
! if [ ! "$os400" ]; then
    _RUNJDB="$JAVA_HOME"/bin/jdb
  fi
  _RUNJAVAC="$JAVA_HOME"/bin/javac
--- 55,61 ----
  
  # Set standard commands for invoking Java.
  _RUNJAVA="$JAVA_HOME"/bin/java
! if ! "$os400"; then
    _RUNJDB="$JAVA_HOME"/bin/jdb
  fi
  _RUNJAVAC="$JAVA_HOME"/bin/javac



-- System Information:
Debian Release: 3.0
  APT prefers testing
  APT policy: (99, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tomcat4 depends on:
ii  adduser                       3.47       Add and remove users and groups
ii  apache-utils                  1.3.33-4   utility programs for webservers (t
ii  apache2-utils [apache-utils]  2.0.53-5   utility programs for webservers
ii  libtomcat4-java               4.1.31-2   Java Servlet engine -- core librar
ii  sun-j2sdk1.4 [j2sdk1.4]       1.4.2+08   Java(TM) 2 SDK, Standard Edition, 

-- no debconf information