Editing startup.sh - help
I am trying to add the following option for tomcat startup in startup.sh file JAVA_OPTS=$JAVA_OPTS: -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false It's added at line # 36 of startup.sh and then i run the tomcat from terminal by issuing ./startup.sh command. and it gives me error -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false Command not found The same thing i did in startup.bat under windows environment and it worked fine. Is there any other way to edit startup.sh file? or what i am doing wrong? Thanks ..alee http://techboard.wordpress.com
Re: Editing startup.sh - help
Probably there needed to be a \ line continuation above the line you added. Additionally I believe this stuff should find it's way into a separate setenv.sh file instead of editing startup.sh. --David alee amin wrote: I am trying to add the following option for tomcat startup in startup.sh file JAVA_OPTS=$JAVA_OPTS: -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false It's added at line # 36 of startup.sh and then i run the tomcat from terminal by issuing ./startup.sh command. and it gives me error -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false Command not found The same thing i did in startup.bat under windows environment and it worked fine. Is there any other way to edit startup.sh file? or what i am doing wrong? Thanks ..alee http://techboard.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Editing startup.sh - help
I agree with what David writes below, and in addition 1. There should be no : after $JAVA_OPTS. It is not a classpath. 2. The preferred way is create a setenv.sh file, either in $CATALINA_BASE\bin or in $CATALINA_HOME\bin 3. For setting these properties there is an easier way: add the following line org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false to the catalina.properties file Best regards, Konstantin Kolinko 2009/7/22 David Smith d...@cornell.edu: Probably there needed to be a \ line continuation above the line you added. Additionally I believe this stuff should find it's way into a separate setenv.sh file instead of editing startup.sh. --David alee amin wrote: I am trying to add the following option for tomcat startup in startup.sh file JAVA_OPTS=$JAVA_OPTS: -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false It's added at line # 36 of startup.sh and then i run the tomcat from terminal by issuing ./startup.sh command. and it gives me error -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false Command not found The same thing i did in startup.bat under windows environment and it worked fine. Is there any other way to edit startup.sh file? or what i am doing wrong? Thanks ..alee http://techboard.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Editing startup.sh - help
thanks guys. it worked like charm :) ..alee http://techboard.wordpress.com On Wed, Jul 22, 2009 at 6:53 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false