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

Invalid JVM agent configuration used when trying to run with Flow #32

Open
luka-j opened this issue Feb 10, 2018 · 2 comments
Open

Invalid JVM agent configuration used when trying to run with Flow #32

luka-j opened this issue Feb 10, 2018 · 2 comments

Comments

@luka-j
Copy link

luka-j commented Feb 10, 2018

When I try to run my app from IntelliJ with flow, I get the following in my event log (Exec is the config name):

Exec is running with Flow: Click here to see and record the execution manually.

Error running 'Exec': Invalid JVM agent configuration used '-Dflow.agent.kafka-server=localhost:60013'

I'm on Ubuntu 17.10, I've tried running with both Java 8 (OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.17.10.2-b12)) and Java 9 (OpenJDK Runtime Environment (build 9-Ubuntu+0-9b181-4)), and the only thing that changed is the port number.

I'm running with Gradle if that makes any difference.

@YoannBuch
Copy link
Contributor

Thanks for reporting this issue.

Is it a simple java app where you directly execute the main method, an app you deploy to an app server like Tomcat or an app executed through a Gradle task?

What type of run configuration are you using? "Gradle", "Application" or something else?

@YoannBuch YoannBuch added the bug label Feb 10, 2018
@luka-j
Copy link
Author

luka-j commented Feb 10, 2018

I use the Gradle run configuration, running using the Gradle's 'run' task and passing arguments to the main (like this).

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

No branches or pull requests

3 participants