简体   繁体   English

Weblogic-JVM参数的顺序

[英]Weblogic - Order of JVM Arguments

I've got a Oracle Weblogic server (10.3.6) which is being started with the following JVM arguments: 我有一个Oracle Weblogic服务器(10.3.6),该服务器正在使用以下JVM参数启动:

Starting WLS with line: /oracle/javahome/jdk1.6.0_29/bin/java -server -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=768m <...some more arguments, and then...> -Xms1024m -Xmx2048m -XX:PermSize=512m -XX:MaxPermSize=1024m 从以下行开始WLS:/oracle/javahome/jdk1.6.0_29/bin/java -server -Xms512m -Xmx1024m -XX:PermSize = 256m -XX:MaxPermSize = 768m <...更多参数,然后...> -Xms1024m -Xmx2048m -XX:PermSize = 512m -XX:MaxPermSize = 1024m

Notice that the arguments 'ms', 'mx', 'PermSize' and 'MaxPermSize' each occur twice. 注意,参数“ ms”,“ mx”,“ PermSize”和“ MaxPermSize”分别出现两次。

Now, obviously I'd rather not have 2 occurrences (working on resolving that), but in the meantime, for argument's sake, does anyone know which occurrence of each argument the Weblogic JVM will use? 现在,显然,我宁愿不出现2次(解决该问题),但与此同时,出于参数的考虑,是否有人知道Weblogic JVM将使用每个参数的哪个出现? The 1st or 2nd? 第一还是第二?

Thanks. 谢谢。

It will use the first and ignore the second occurrence. 它将使用第一个,而忽略第二个。

You are getting 2 occurrences because you must have mentioned PATH=...:%PATH% and here PATH already contained the same parameters. 因为必须提到PATH = ...:%PATH%,所以您会得到2次出现,并且这里PATH已经包含相同的参数。

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

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