bstopp / puppet-aem

Puppet module for managing AEM Installations.
https://forge.puppet.com/bstopp/aem
Apache License 2.0
30 stars 30 forks source link

debug port only listens on loopback #144

Open mkubaty opened 4 years ago

mkubaty commented 4 years ago

Hello there, we recently used the java version java version "11.0.6" 2020-01-14 LTS for evaluation purposes. It turned out, this particular version does not bind the specified debug port for AEM to 0.0.0.0:$port but to 127.0.0.1:$port until you explicitely define it by setting interface and port . Please see https://stackoverflow.com/questions/138511/what-are-java-command-line-options-to-set-to-allow-jvm-to-be-remotely-debugged and https://www.oracle.com/technetwork/java/javase/9-notes-3745703.html#JDK-8041435

Unfortunately the type-checker in instance.pp, line 36 validate_integer($debug_port) does not allow to set IP and port.

We are about to fix that internally, and think it may bee of interest for you too. Our fix will be provided to you, after we merged into our fork.

Kind regards

bdhoine commented 4 years ago

@mkubaty any update on the contribution?

mkubaty commented 4 years ago

@bdhoine No updates, sorry. Internal discussion ongoing on how to proceed