简体   繁体   English

IBM WebSphere Server JVM属性

[英]IBM WebSphere Server JVM properties

There are certain JVM properties (such as timezone) which can be changed by application deployed on WebSphere server. 有某些JVM属性(例如时区)可以由部署在WebSphere服务器上的应用程序更改。 Such changes affects all the application on that server. 此类更改会影响该服务器上的所有应用程序。 Is there a way by which we can prevent applications from changing JVM properties at runtime. 有没有一种方法可以防止应用程序在运行时更改JVM属性。 I am wondering if we can set some property in WebSphere server which will then prevents applications changing anything on JVM at runtime. 我想知道我们是否可以在WebSphere服务器中设置一些属性,以防止应用程序在运行时更改JVM上的任何内容。 Its like having JVM properties controlled by IBM WebSphere server rather than applications deployed on it. 就像让JVM属性由IBM WebSphere服务器而不是在其上部署的应用程序控制。

您可以通过在应用程序服务器上启用Java 2安全性,然后确保没有为部署的所有应用程序配置Java 2安全性策略文件来授予Java.util.PropertyPermission ,尤其是“ write”,以防止应用程序在运行时设置JVM系统属性。 ”,针对任何财产。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM