Results 1 to 2 of 2

Thread: InvocationTargetException in attempt invoke methods onConnect,onStreamCreate in modul

  1. #1

    Question InvocationTargetException in attempt invoke methods onConnect,onStreamCreate in modul

    I install Wowza 4.1.0 Trial, on server : Win 8 x64, jdk1.8.0_20
    I wrote the module and added to application. Wowza is launched without errors.
    When I launch a stream on client some module methods are called without errors, but some methods aren't called and logs there are errors:
    2014-09-24	12:47:35	YEKT	comment	server	ERROR	500	-	invoke(onConnect): java.lang.reflect.InvocationTargetException|at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)|at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|at java.lang.reflect.Method.invoke(Method.java:483)|at com.wowza.wms.module.ModuleFunction.invoke(ModuleFunction.java:369)|	_defaultVHost_	cams	_definst_	14.117
    2014-09-24	12:47:35	YEKT	comment	server	ERROR	500	-	invoke(onStreamCreate): java.lang.reflect.InvocationTargetException|at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)|at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|at java.lang.reflect.Method.invoke(Method.java:483)|at com.wowza.wms.module.ModuleFunction.invoke(ModuleFunction.java:383)|	-	-	-	14.159
    Signature methods in my module:
    public void onConnect(com.wowza.wms.client.IClient iClient, com.wowza.wms.request.RequestFunction requestFunction, com.wowza.wms.amf.AMFDataList amfDataList) {...
    public void onStreamCreate(IMediaStream stream) {...
    Thanks for your time!

  2. #2

    Default

    Hi,

    This kind of error indicates the compiled jar file is not in the lib/ folder of your Wowza Streaming Engine install, or possibly anything it may rely on to work correctly.

    What I would do is strip down the module to a bare minimum and get that working then add back any code to see if/how/when it fails.

    Andrew.

Similar Threads

  1. GeoIP modul problem TitPetric
    By nikolas in forum Server-side Modules and Code Samples Discussion
    Replies: 1
    Last Post: 11-04-2016, 06:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •