Skip to content

Commit e2ad037

Browse files
committed
Revert "JMX RMI Port Fix"
This reverts commit 6c861be.
1 parent 6c861be commit e2ad037

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/java_buildpack/framework

lib/java_buildpack/framework/jmx.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def release
3939
.add_system_property('java.rmi.server.hostname', '127.0.0.1')
4040
.add_system_property('com.sun.management.jmxremote.authenticate', false)
4141
.add_system_property('com.sun.management.jmxremote.port', port)
42-
.add_system_property('com.sun.management.jmxremote.rmi.port', port + 1)
42+
.add_system_property('com.sun.management.jmxremote.rmi.port', port)
4343
end
4444

4545
private

0 commit comments

Comments
 (0)