Hi,
(This is a correction to an earlier posting where I specified the wrong version of Phoenix. Not that this will have altered the value of any replies, since I didn't get any!)
I cannot get the <policy> stanzas in environment.xml to take effect. Whatever I set there, Phoenix seems to be running as if java.security.AllPermission is in effect. I am wanting to restrict the permissions Phoenix applications have, such as closing down ports, removing execute priveleges, etc.
I'm running Phoenix 4.0.4, JDK 1.4.1_01, Windows 2000 server.
%PHOENIX_SECURE% is set to true and I have fixed an apparent error in "run.bat", replacing the occurence of %PHOENIX_SECURE% in the Java invocation statement with %PHOENIX_SM% (value is -Djava.security.manager).
I guess I'm missing something, any ideas what?
For now, I don't even see where in the source code java.security.manager does anything. I do know, that esp. with WIndows, you will have to have an "=" sign after the property name for it to be recognized.
Try changing the definition of PHOENIX_SM to be like this:
SET PHOENIX_SM="-Djava.security.manager="
If that fixes it, let me know and I will commit the change to the scripts in CVS. If not, I will spend some more time looking at it.
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
