Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debugPort property is not compatible with Java 9+ #182

Open
pawel-sw opened this issue Feb 3, 2020 · 1 comment
Open

debugPort property is not compatible with Java 9+ #182

pawel-sw opened this issue Feb 3, 2020 · 1 comment
Assignees

Comments

@pawel-sw
Copy link

pawel-sw commented Feb 3, 2020

The method org.springframework.cloud.deployer.spi.local.AbstractLocalDeployerSupport#buildRemoteDebugInstruction is not building correct debug instruction for Java 9+.
The debug instruction now requires *: in front of the port.

Workaround:
instead of using deployer.*.local.debugPort=5005 and debugSuspend you can set it in javaopts: deployer.*.local.javaOpts=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005

@sabbyanandan
Copy link
Contributor

Relates to spring-cloud/spring-cloud-dataflow#3507

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants