0

When I'm starting the MobileFirst Server in debug mode, it fails loading with the following error message:

ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
Error occurred during initialization of VM
agent library failed to init: jdwp

How Can I solve this?

Idan Adar
  • 44,156
  • 13
  • 50
  • 89

1 Answers1

2

The MobileFirst Development Server is by default in debug mode... so when you try to start the server using the "debug mode" icon, it fails in doing so because the debug definition cannot be set twice, which is what the error message says.

To start the server in debug mode, simply start it as you would normally do it, by clicking on the "play" button.

enter image description here

After doing so, you can spot the following line: "Listening for transport dt_socket at address: 10777".
This means the server started in debug mode.

Idan Adar
  • 44,156
  • 13
  • 50
  • 89