Bug #7345
closedJVM 8.0: warning about "Ignoring option PermSize=128m; support was removed in 8.0"
Description
There is a warning and I think it can be a problem:
Starting Jetty: OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0 OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Updated by Jonathan CLARKE about 9 years ago
- Subject changed from Centos 7.1 to JVM 8.0: Ignoring options MaxPermSize/PermSize=128m; support was removed in 8.0
Updated by François ARMAND about 9 years ago
It's not a problem, in the sense that the JVM is only warning us that we are using a deprecated parameter in its starting option. The corresponding option is now enterilly managed by the JVM and the OS.
But clearly, we should have a way to avoid the warning, that may be frightning - and well, have a soft starting with "warning" is not the best we can hope for :)
So, we need some way to add the "MaxPermSize/PermSize" option only when the installed JVM version (or more preciselly, the JVM version used for starting the webapp) is < 8.0. Certainly, it should be in the init script.
Updated by Jonathan CLARKE about 9 years ago
- Subject changed from JVM 8.0: Ignoring options MaxPermSize/PermSize=128m; support was removed in 8.0 to JVM 8.0: warning about "Ignoring option PermSize=128m; support was removed in 8.0"
- Priority changed from N/A to 4
Updated by Jonathan CLARKE about 9 years ago
- Category set to System integration
- Status changed from New to In progress
- Assignee set to Jonathan CLARKE
- Target version set to 2.10.20
We should detect JVM version and only use these options if JVM version < 1.8.
Updated by Jonathan CLARKE about 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Jonathan CLARKE to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/773
Updated by Jonathan CLARKE about 9 years ago
- Related to Bug #7348: rudder-jetty initialisation should not support Java 6 added
Updated by Jonathan CLARKE about 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|d04cb815f28871dc68f95a2ef693cf54234ce66e.
Updated by Benoît PECCATTE about 9 years ago
Applied in changeset rudder-packages|53ff771df61e9c8f03b4fcde789db9a6c65ea464.
Updated by Vincent MEMBRÉ about 9 years ago
- Status changed from Pending release to Released
Updated by Benoît PECCATTE almost 8 years ago
- Found in version(s) old deleted (
3.1.2)