Wowza Community

Java Module only works in Eclipse / Wowza IDE when run as Debug

The java module works as desired in Debug mode, but when running Wowza as standalone or service, the Application silently fails (no server logging of anything).

Environment:

  • Windows 10
  • Local install of Wowza engine and manager w/ Dev License
  • OBS Studio (stream source)
  • YouTube (stream target) and Apple output
  • Local install of Eclipse Version: 2022-06 (4.24.0) Build id: 20220609-1112 with Wowza IDE 4
  • Project Debug Configuration points to Wowza JRE
  • Start Arguments
  • -Xmx1024M
  • -Dcom.wowza.wms.runmode=“standalone”
  • -Dcom.sun.management.jmxremote=true
  • -Dcom.wowza.wms.native.base=“win”

Details: After verifying functionality of your ModulePublishOnTextData example package, I created my own module using the src from the example. I modified the source to add an incrementing index value at the start of every caption segment. I added the Module and Custom Properties to the Application through the Manager UI (vs direct xml editing) and deleted the example module (while the engine was stopped). When I run it in Debug (within Eclipse) everything works as desired. OBS connects and streams, Wowza App loads the module, indexed captions appear in the stream for YouTube and m3u8 viewers.

Issue: When I start Wowza as either standalone (admin cmd) or as a service, the Application silently fails (no server logging). OBS connection attempts result in a failure timeout.

I am assuming that I am missing something fundamental… My Java a little rusty, and it’s been a while since I’ve used the Eclipse IDE (prefer NetBeans).

Let me know if you have any thoughts, suggestions, or desire more info (logs, code, configurations, etc)

Addendum: If I can get this module working with my Windows Wowza installation, will it also work with an (up to date?) Ubuntu install?
Or put differently, is the JRE loaded with the windows install compatible with the JRE used with an Ubuntu install?

Thanks

If you are using the most recent version of Streaming Engine which is 4.8.19, you will need a minimum of Java 11.

Java support: Wowza Streaming Engine 4.8.19 is built on Java 11 ( OpenJDK Java SE JRE 11.0.2 ), but can be used with Java versions 11 - 12. For more information, see Manually install and troubleshoot Java on Wowza Streaming Engine.

Prior to that version, you needed Java 9.

Regardless of what Engine version you are using you need make sure Java is installed and tuned properly and that you “point” Engine to the version you are using.

Here are some additional Java troubleshooting tips:

https://support.wowza.com/hc/en-us/articles/1260803014070-Error-Messages-Common-with-Updating-Java

Thanks Rose. The problem was actually with my understanding of Eclipse IDE. I had assigned the correct JRE, but didn’t realize that I had perform an additional step to set a matching “compliance” level.