Wowza IDE updates for 4.0

Will the Wowza IDE be updated to support changes in WSE 4.0? I have a fair amount of custom code for our current server implementation and would like to continue to use Eclipse to develop my modules.

If the Eclipse plugin is not going to continue development, can you provide any tips on what needs to be updated to allow Eclipse to debug effectively with the new codebase?

Are you have any issues in particular? Or are you just inquiring to help decide whether to upgrade or not? Because as far as I know and can tell(I have been using the IDE with 4.x) it is up to date and working as expected.

Salvadore

Make sure your project .jar file is being compiled to the correct /lib folder. Since you started the project using a previous version of Wowza that was in another location, the IDE is still compiling to the old /lib folder. The easiest way to re-set is to delete the build.xml, then delete the project leaving the check box to “delete files” unselected, then re-create the project with the same name.

Salvadore

To fix this error. In Eclipse, right click on the project in the left menu and choose “properties”

Next, click on the Run/Debug settings on the left, highlight the launch configuration and click Edit

Under the “arguments” tab, add the following line to the output in “VM Arguments”

On Windows:

-Dcom.wowza.wms.native.base="win"

On Mac:

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

Salvadore

Great! Thanks for the update and glad I could help.

Salvadore

Well, my project’s build path & run/debug settings are all still pointing to my previous installation of 3.6 - so I assumed there could be some code incompatibilities. I would like to be able to debug my code against the new engine, but simply updating the paths didn’t work.

I am seeing some problems with my application after the upgrade, but I’ll address those specifically in another thread.

I attempted to start a new fresh project, with a clean installation of WSE 4.0.3, and when attempting to debug, I receive the following errors:

java.lang.reflect.InvocationTargetException
Error starting: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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.<init>(ServerTuningHandler.java:248)
	at com.wowza.wms.server.Server.<init>(Server.java:862)
	at com.wowza.wms.server.Server.getInstance(Server.java:908)
	at com.wowza.wms.server.Server.start(Server.java:957)
	... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.SystemUtils
	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)
	... 11 more

I verified that the project is linking against the libs in the new WSE installation. The Run/Debug settings include the following:

Main Class: com.wowza.wms.bootstrap.Bootstrap

Program Args: start

VM Args:

-Xmx768M

-Dcom.wowza.wms.AppHome="/Library/WowzaStreamingEngine"

-Dcom.wowza.wms.ConfigHome="/Library/WowzaStreamingEngine"

-Dcom.sun.management.jmxremote=true

Thanks, Salvadore, that has fixed the issue. I can now launch Wowza from Eclipse again.