tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56685] New: Tomcat7 daemon.sh did not start
Date Mon, 30 Jun 2014 13:36:03 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56685

            Bug ID: 56685
           Summary: Tomcat7 daemon.sh did not start
           Product: Tomcat 7
           Version: 7.0.54
          Hardware: Sun
                OS: SunOS
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Integration
          Assignee: dev@tomcat.apache.org
          Reporter: lfuka@redhat.com

When i run /opt/tomcat7/bin/daemon.sh start under tomcat user i got an error:
/opt/tomcat7/bin/daemon.sh: test: argument expected

It happens on all Solaris platforms

There are missing quotes "" in if on lines 108 and 110.

It should be:
if [ -z "$JSVC" ]; then
    JSVC="$CATALINA_BASE/bin/jsvc"
    if [ ! -x "$JSVC" ]; then
        JSVC="$CATALINA_HOME/bin/jsvc"
    fi
fi

Solaris has problem without quotes.

Note: Its also bug in Tomcat8 daemon.sh

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message