You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark Petrovic <ms...@gmail.com> on 2006/11/03 23:32:51 UTC

catalina.sh "==" artifact

I don't think this is a serious issue, if an issue at all.  But I point it
out just in case.

There's a "==" in the catalina.sh script, in this case in Tomcat 5.5.17.

E.g.

      -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \

where I believe one would normally expect to find a single "=".

-- 
Mark

Re: catalina.sh "==" artifact

Posted by Mark Thomas <ma...@apache.org>.
Gregor Schneider wrote:
> hm, took a look at the jdk-docs at
> http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html, and it
> says
> 
> ====[quote]=========
> -Dproperty=value
>    Set a system property value.
> ====[quote]=========
> 
> Could you please shed some light?
http://java.sun.com/j2se/1.5.0/docs/guide/security/PolicyFiles.html

Search for the string:
java.security.policy==

Mark


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


Re: catalina.sh "==" artifact

Posted by Gregor Schneider <rc...@googlemail.com>.
hi guys,

thanks for the hint.

i was actually missing the point to look into the PolicyFiles-doc, I
just looked into the wrong files.

thanks again

greg
-- 
what's puzzlin' you, is the nature of my game

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


Re: catalina.sh "==" artifact

Posted by Mark Petrovic <ms...@gmail.com>.
You make a good point.  I should have included the text.

On 11/6/06, Steffen Heil <li...@steffen-heil.de> wrote:
>
> Hi
>
> Sorry, but 5 answers of the kind "RTFM" are simply not nice.
> It's just a sentence, so here it goes:
>
> > If you use
> >
> >     java -Djava.security.manager -Djava.security.policy==someURL SomeApp
> >
> > (note the double equals) then just the specified policy file will be
> used;
> > all the ones indicated in the security properties file will be ignored.
>
> [http://java.sun.com/j2se/1.5.0/docs/guide/security/PolicyFiles.html]
>
> Regards,
>   Steffen
>
>
>


-- 
Mark

RE: catalina.sh "==" artifact

Posted by Steffen Heil <li...@steffen-heil.de>.
Hi

Sorry, but 5 answers of the kind "RTFM" are simply not nice.
It's just a sentence, so here it goes:

> If you use 
>
>     java -Djava.security.manager -Djava.security.policy==someURL SomeApp
>
> (note the double equals) then just the specified policy file will be used;
> all the ones indicated in the security properties file will be ignored. 

[http://java.sun.com/j2se/1.5.0/docs/guide/security/PolicyFiles.html]

Regards,
  Steffen

Re: catalina.sh "==" artifact

Posted by Mark Petrovic <ms...@gmail.com>.
If you search for "==" here, it is revealed

http://java.sun.com/j2se/1.5.0/docs/guide/security/PolicyFiles.html


On 11/6/06, Gregor Schneider <rc...@googlemail.com> wrote:
>
> hm, took a look at the jdk-docs at
> http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html, and it
> says
>
> ====[quote]=========
> -Dproperty=value
>     Set a system property value.
> ====[quote]=========
>
> Could you please shed some light?
>
> TIA
>
> Greg
> --
> what's puzzlin' you, is the nature of my game
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Mark

Re: catalina.sh "==" artifact

Posted by Gregor Schneider <rc...@googlemail.com>.
hm, took a look at the jdk-docs at
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html, and it
says

====[quote]=========
-Dproperty=value
    Set a system property value.
====[quote]=========

Could you please shed some light?

TIA

Greg
-- 
what's puzzlin' you, is the nature of my game

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


Re: catalina.sh "==" artifact

Posted by Mark Petrovic <ms...@gmail.com>.
Aha.  Thank you.

On 11/3/06, Mark Thomas <ma...@apache.org> wrote:
>
> Mark Petrovic wrote:
> > I don't think this is a serious issue, if an issue at all.  But I point
> it
> > out just in case.
> >
> > There's a "==" in the catalina.sh script, in this case in Tomcat 5.5.17.
> >
> > E.g.
> >
> >      -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \
> >
> > where I believe one would normally expect to find a single "=".
>
> Nope. Read the JDK docs to find out why the double == is correct.
>
> Mark
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Mark

Re: catalina.sh "==" artifact

Posted by Mark Thomas <ma...@apache.org>.
Mark Petrovic wrote:
> I don't think this is a serious issue, if an issue at all.  But I point it
> out just in case.
> 
> There's a "==" in the catalina.sh script, in this case in Tomcat 5.5.17.
> 
> E.g.
> 
>      -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \
> 
> where I believe one would normally expect to find a single "=".

Nope. Read the JDK docs to find out why the double == is correct.

Mark

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