# Debuging server side modules using eclipse

**URL:** <https://community.wowza.com/t/debuging-server-side-modules-using-eclipse/42856>\
**Category:** Wowza Streaming Engine\
**Created:** [April 22, 2014, 8:42pm UTC](https://community.wowza.com/t/debuging-server-side-modules-using-eclipse/42856 "2014-04-22T20:42:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sujil\_Chandrasekhara](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@Sujil\_Chandrasekhara](https://community.wowza.com/u/Sujil_Chandrasekhara)\
**Post date:** [April 22, 2014, 8:42pm UTC](https://community.wowza.com/t/debuging-server-side-modules-using-eclipse/42856/1 "2014-04-22T20:42:00Z")

</div>

Hi,

I have installed Wowza Streaming Engine 4.0.3 and configured Wowza IDE 2 eclipse plugin on a MAC machine having OSX 10.9. The problem i am facing is, when i try to debug a custom module which i have created, eclipse is throwing below exception

Exception in thread “main” java.lang.NoClassDefFoundError: ?Dcom/wowza/wms/native/base=osx

Caused by: java.lang.ClassNotFoundException: ?Dcom.wowza.wms.native.base=osx

at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

I re-installed streaming engine multiple times and tried to configure Wowza IDE with multiple version of eclipse. But in all cases i am getting the same behavior. If i build and deploy the module, then the module is working as expected. Only when i tried to debug i am getting above issue.

Can someone help me in resolving this issue?

Also Is there a detailed guide available explaining how to debug using Wowza IDE eclipse plugin?

Thanks in advance

Regards,

Sujil

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [April 22, 2014, 9:20am UTC](https://community.wowza.com/t/debuging-server-side-modules-using-eclipse/42856/2 "2014-04-22T09:20:32Z")

</div>

I think the fix for this is to right click on the project in the left sidebar of Eclipse, select “properties” “Run/Debug”. Choose the project from the list, and click “edit” select the “Arguments” tab and add:

```auto
-Dcom.wowza.wms.native.base="osx"

```

to the list. Select “OK”

That should get rid of the error.

Salvadore

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [April 22, 2014, 11:51am UTC](https://community.wowza.com/t/debuging-server-side-modules-using-eclipse/42856/3 "2014-04-22T11:51:22Z")

</div>

Can you provide a screenshot of your run configuration-\>arguments tab so we can review this setting?

---

<div class="post-metadata">

**Author:** ![Sujil\_Chandrasekhara](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@Sujil\_Chandrasekhara](https://community.wowza.com/u/Sujil_Chandrasekhara)\
**Post date:** [April 22, 2014, 9:21pm UTC](https://community.wowza.com/t/debuging-server-side-modules-using-eclipse/42856/4 "2014-04-22T21:21:58Z")

</div>

Thanks for responding to my post

I already have this entry(-Dcom.wowza.wms.native.base=“osx”) in Run/Debug settings

Sujil

---

<div class="post-metadata">

**Author:** ![Sujil\_Chandrasekhara](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@Sujil\_Chandrasekhara](https://community.wowza.com/u/Sujil_Chandrasekhara)\
**Post date:** [April 23, 2014, 8:54pm UTC](https://community.wowza.com/t/debuging-server-side-modules-using-eclipse/42856/5 "2014-04-23T20:54:08Z")

</div>

Hi matt\_y,

Looks like the issue was with java installation on my machine.I reinstalled java and issue got resolved.

Thanks for your support.

Regards,

Sujil
