# Jdwp missing from wowza provided java

**URL:** <https://community.wowza.com/t/jdwp-missing-from-wowza-provided-java/55136>\
**Category:** Wowza Streaming Engine\
**Tags:** java\
**Created:** [May 6, 2020, 6:03pm UTC](https://community.wowza.com/t/jdwp-missing-from-wowza-provided-java/55136 "2020-05-06T18:03:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ken\_Reiswig](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@Ken\_Reiswig](https://community.wowza.com/u/Ken_Reiswig)\
**Post date:** [May 6, 2020, 6:03pm UTC](https://community.wowza.com/t/jdwp-missing-from-wowza-provided-java/55136/1 "2020-05-06T18:03:15Z")

</div>

I’m attempting to attach a debugger with the eclipse wowza ide, but I cannot start wowza with xdebug.

C:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.8.0\bin\>startup.bat

Error occurred during initialization of VM

Could not find agent library jdwp on the library path, with error: Can’t find dependent libraries

Is there a workaround for this? I’m on windows 10 using this guide, [https://streamtoolbox.com/debugging-wowza-module](https://streamtoolbox.com/debugging-wowza-module).

I’ve also tried adding the xdebug flag via the tune.xml file as VMOption

-Xdebug -Xrunjdwp:transport=dt\_socket,server=y,suspend=n,address=1044

My Wowza streaming engine version is 4.8

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [May 7, 2020, 6:17am UTC](https://community.wowza.com/t/jdwp-missing-from-wowza-provided-java/55136/2 "2020-05-07T06:17:41Z")

</div>

If this is about a development environment, what I usually do, is:

(1) install Wowza on the dev machine

(2) install Eclipse and the Wowza IDE for Eclipse

(3) set up a debug configuration in Eclipse (menu “run” \> “debug configurations”)

Now you can simply choose Run \> Debug (or F11) and you’ll run Wowza within Eclipse with full debugging

You can also fill out the form at the bottom of that StreamToolbox page; maybe the author of that article has some ideas.

---

<div class="post-metadata">

**Author:** ![Bobbie\_Mcneil](https://avatars.discourse-cdn.com/v4/letter/b/ecc23a/32.png) [@Bobbie\_Mcneil](https://community.wowza.com/u/Bobbie_Mcneil)\
**Post date:** [October 1, 2020, 3:56pm UTC](https://community.wowza.com/t/jdwp-missing-from-wowza-provided-java/55136/3 "2020-10-01T15:56:33Z")

</div>

Hello  
I bumbed into the same issue and my eclipse debugger cannot connect to the wowza server (Failed to connect to remote VM. Connection refused. Connection refused: connect). Im assuming thats because Im missing something in the step 3 ( set up a debug configuration in Eclipse ). Which port should i use? Default is 8000, I`ve tried 8084, 8085, 1044, 8088, nothig works. Or is there something else you need to configure for debug to work?

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [October 1, 2020, 5:37pm UTC](https://community.wowza.com/t/jdwp-missing-from-wowza-provided-java/55136/4 "2020-10-01T17:37:51Z")

</div>

@Bobbie_Mcneil, I don’t use Remote Debug, I’ve set up a Debug Configuration that runs Wowza Streaming Engine as a Java Application directly on the developer machine.

Set the Main Class to `com.wowza.wms.bootstrap.Bootstrap`, and in the Arguments tab, set the Program Arguments to `start` and use the following VM arguments (instead of 2048M, you can choose to reserve more/less memory for the Java Heap), also the “native.base” is “win” because I’m on a Windows machine, as you probably understood.

```
-Xmx2048M
-Dcom.wowza.wms.runmode="standalone"
-Dcom.sun.management.jmxremote=true
-Dcom.wowza.wms.native.base="win" 

```

Under JRE, I use “Alternate JRE” and point to the JRE folder in the Wowza Installation folder.

Tab “Dependencies” has 2 Classpath entries: The JRE System Library and wms-bootstrap.jar from Wowza’s /lib folder.

Finally, on the Source tab, I add my current project so that I can debug its source code.
