Wowza Community

Java API Appears to be broken in 4.8

When I add a module I cannot connect any streams. The module being added is the one generated by the Wowza Eclipse plug-in - really does not do anything. I get this error: REST API: Unknown action: connect Class: com.wowza.wms.rest.vhosts.applications.streamfiles.StreamFileAppConfig: java.lang.reflect.In

vocationTargetException|at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at java.base/jdk.internal.reflect.NativeMet

hodAccessorImpl.invoke(Unknown Source)|at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)|at java.base/java.lang.r

eflect.Method.invoke(Unknown Source)|at com.wowza.wms.rest.ActionBase.get(ActionBase.java:173)|at com.wowza.wms.rest.ActionBase.put(ActionBase.java:1

21)|at com.wowza.wms.rest.vhosts.applications.streamfiles.StreamFileAppAction.put(StreamFileAppAction.java:75)|at org.restlet.resource.ServerResource

.doHandle(ServerResource.java:434)|at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:666)|at org.restlet.resource.ServerR

esource.doConditionalHandle(ServerResource.java:348)|at org.restlet.resource.ServerResource.handle(ServerResource.java:1020)|at org.restlet.resource.

Finder.handle(Finder.java:236)|at org.restlet.routing.Filter.doHandle(Filter.java:150)|at org.restlet.routing.Filter.handle(Filter.java:197)|

Any ideas what is going on?

I solved the issue - disregard

Good to hear @Tim_McClure1, if you happen to have time to share how you resolved it, that would be great, but if not, glad it’s working for you now.

It appears that although Wowza supports Java versions 9-12 if you write a jar using their API it needs to be built in Java 9. Java 9 is no longer supported but the Eclipse IDE allows for the targeting of a specific Java version event if the JVM your are running is not that version. Right click on the Eclipse Wowza project and select Java 9.