Hi everyone, I thank you for any help!
onAppStop throws:
ERROR server comment - invoke(onAppStop): java.lang.NoClassDefFoundError: br/com
/xxx/utils/Ether$1: br.com.xxx.utils.Ether.flushHttpRequests
(Ether.java:127)
java.lang.NoClassDefFoundError: br/com/xxx/utils/Ether$1
at br.com.xxx.utils.Ether.flushHttpRequests(Ether.java:127)
at br.com.xxx.Application.onAppStop(Application.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.wowza.wms.module.ModuleFunction.invoke(ModuleFunction.java:451)
at com.wowza.wms.module.ModuleFunctions.a(ModuleFunctions.java:572)
at com.wowza.wms.module.ModuleFunctions.onAppStop(ModuleFunctions.java:5
86)
at com.wowza.wms.application.ApplicationInstance.shutdown(ApplicationIns
tance.java:544)
at com.wowza.wms.application.Application.a(Application.java:378)
at com.wowza.wms.application.Application.doWatchdog(Application.java:459
)
at com.wowza.wms.vhost.VHost.d(VHost.java:1529)
at com.wowza.wms.vhost.VHost.doWatchdog(VHost.java:1569)
at com.wowza.wms.vhost.VHostWatchdog.run(VHostWatchdog.java:47)
“Ether” is a public class with variables and methods statics.
“flushHttpRequests” take 10s to finish
Don’t happen ever, sometimes yes and no. java.lang.NoSuchMethodError also happens.
So, wowza unload all classes when appInstance shutdown? what remains when onAppStop is fired?
One more question, using this to HTTProvider2Base requests before appInstance initialized, will the same thing (class and method not found) ?