Trying to debug a module in Eclipse using the Wowza IDE generated debug config, but receiving “ERROR: Server.xml not found: exiting.” From other posts, usual cause is access permissions, i.e. running eclipse with elevated privilege (root on Linux, or as Administrator on Windows).
On Windows 8.1, using Eclipse Mars (4.5.1), installed the Wowza IDE 4 extension from the Eclipse repo, generated a boiler-plate module with stubs, compiled cleanly, verified .jar file present in the Wowza lib directory, configured the module for an application in the Wowza admin. Have run Eclipse as Administrator, and as normal (un-privileged) user. Result is the same. Have attempted to alter the debug configuration, changing the working directory from the workspace default to specific directories (Wowza base, bin, and lib dirs). Result is the same.
Are there any arguments that can be passed to the bootstrap class besides “start” to specify the location of the server.xml (and other config files)?
Have set up same arrangement on Linux (openSuSE), with same result.
Removed the Wowza IDE 4 extensions, and replaced with the Wowza IDE 2 extensions, spun up a new boiler-plate project. Have found two debug config items (Java VM arguments) present in IDE 2 that were not in IDE 4 debug config:
-Dcom.wowza.wms.AppHome="C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.3.0"
-Dcom.wowza.wms.ConfigHome="C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.3.0"
Added these debug configuration items to original workspace/project, and can now start Wowza from the Eclipse debugger.