Bug 312561

Summary: Thinko in dtomcat5
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: tomcat5Assignee: Devrim GUNDUZ <devrim>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideKeywords: EasyFix
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.5.26-1jpp.2.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-13 04:55:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ville Skyttä 2007-09-29 20:43:54 UTC
dtomcat5 does this:

    JAVA=`which java`
    if [ -z "$JAVA" ] ; then
        JAVA_BINDIR=`dirname ${JAVA}`
        JAVA_HOME="${JAVA_BINDIR}/.."
    fi

The -z should obviously be -n.  Also, I suppose adding a dependency on "which"
or redirecting the stderr to /dev/null when it's not available would not hurt.

Comment 1 Devrim GUNDUZ 2008-01-05 12:25:05 UTC
Thanks. Updated the patch. It will appear in next tomcat build.

Regards, Devrim

Comment 2 Fedora Update System 2008-01-07 01:23:37 UTC
tomcat5-5.5.25-2jpp.1.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tomcat5'

Comment 3 Fedora Update System 2008-01-07 01:28:27 UTC
tomcat5-5.5.25-2jpp.1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tomcat5'

Comment 4 Fedora Update System 2008-02-09 00:31:33 UTC
tomcat5-5.5.26-1jpp.1.fc7 has been submitted as an update for Fedora 7

Comment 5 Fedora Update System 2008-02-09 00:34:54 UTC
tomcat5-5.5.26-1jpp.1.fc8 has been submitted as an update for Fedora 8

Comment 6 Fedora Update System 2008-02-12 20:31:50 UTC
tomcat5-5.5.26-1jpp.2.fc8 has been submitted as an update for Fedora 8

Comment 7 Fedora Update System 2008-02-12 20:33:56 UTC
tomcat5-5.5.26-1jpp.2.fc7 has been submitted as an update for Fedora 7

Comment 8 Fedora Update System 2008-02-13 04:54:42 UTC
tomcat5-5.5.26-1jpp.2.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2008-02-13 05:14:08 UTC
tomcat5-5.5.26-1jpp.2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.