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: lf...@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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org