You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by alee amin <ma...@gmail.com> on 2009/07/22 13:43:52 UTC

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

Posted by alee amin <ma...@gmail.com>.
thanks guys. it worked like charm :)
..alee
http://techboard.wordpress.com



On Wed, Jul 22, 2009 at 6:53 PM, Konstantin Kolinko
<kn...@gmail.com>wrote:

> org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
>

Re: Editing startup.sh - help

Posted by Konstantin Kolinko <kn...@gmail.com>.
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 <dn...@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Re: Editing startup.sh - help

Posted by David Smith <dn...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org