Wowza Community

Wowza IDE 2 and debugger not working!

Hi!

We now have a licensed Wowza Streaming Engine 4.0. The server starts and works including plugins. What does not work is ability to debug the plugins (which otherwise work) from the Eclipse IDE. I followed the instrunctions, installed Java SDK, Eclipse, got everything building and no errors are reported.

However, when I try to launch the debugger or the Server from the within the Eclipse IDE i get the following error message:

Error starting: java.lang.reflect.InvocationTargetException

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at com.wowza.wms.bootstrap.Bootstrap.startServer(Bootstrap.java:555)

at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:67)

Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/SystemUtils

at com.wowza.wms.bootstrap.BootstrapSystemTuningInfo.getSystemTuningInfo(BootstrapSystemTuningInfo.java:81)

at com.wowza.wms.server.ServerTuningHandler.(ServerTuningHandler.java:248)

at com.wowza.wms.server.Server.(Server.java:862)

at com.wowza.wms.server.Server.getInstance(Server.java:907)

at com.wowza.wms.server.Server.start(Server.java:956)

… 6 more

Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.SystemUtils

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

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

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

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

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

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

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

… 11 more

There must be something wrong with how the Eclipse is trying to launch the Wowza server, but I have no idea what. All settings are default settings.

Thanks!

Atmapuri

Hi Atmapuri!

You need properly configure the Eclipse.Take a look at this article:

How to use Wowza IDE with Wowza Transcoder AddOn

Best regards,

Alex

Thank you! That was a big help:

-Dcom.wowza.wms.native.base=“win”

Great, I had the same issue and got fixed with this solution. Thanks