You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/06/30 15:36:03 UTC

[Bug 56685] New: Tomcat7 daemon.sh did not start

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


[Bug 56685] Tomcat7 daemon.sh did not start

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56685

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Thanks for the report and suggested solution. This has been fixed in 8.0.x for
8.0.10 onwards and in 7.0.x for 7.0.55 onwards.

-- 
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


[Bug 56685] Tomcat7 daemon.sh did not start

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56685

--- Comment #2 from Konstantin Kolinko <kn...@gmail.com> ---
(This was a regression from bug 55297 fix - r1507096,  so only 7.0.43 and later
are affected).

-- 
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