Results 1 to 6 of 6

Thread: Error running test (vod): java.lang.reflect.InvocationTargetException

  1. #1
    Join Date
    Dec 2012
    Posts
    2

    Default Error running test (vod): java.lang.reflect.InvocationTargetException

    Hi,

    I've installed WowzaMediaServer-loadtool-3.5.0 and changed the ipAddress to localhost in the Tests.xml. When I run the performance batch file, I am getting the following error:

    C:\Program Files\Wowza Media Systems\Wowza Media Server 3.1.2\bin>performance.bat vod
    Configure logging: file:///C:/Program Files/Wowza Media Systems/Wowza Media Server 3.1.2/conf/log4j.properties
    INFO server comment - test: **** PerformanceRemoteClientTest *****
    INFO server comment - workerCount: 1
    INFO server comment - fileCount: 0
    INFO server comment - streamName: sample
    INFO server comment - streamExt: .mp4
    INFO server comment - vhostName: _defaultVHost_
    INFO server comment - connectionStr: vod/_definst_
    INFO server comment - doRandom: false
    INFO server comment - doRepeat: true
    INFO server comment - ipAddress: 127.0.0.1
    INFO server comment - ports: 1935
    INFO server comment - bufferTime: 3000
    Error running test (vod): java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.wowza.wms.bootstrap.Bootstrap.runTest(Unknown Source)
            at com.wowza.wms.bootstrap.Bootstrap.main(Unknown Source)
    Caused by: java.lang.NoSuchMethodError: com.wowza.wms.request.RequestConnectHandshake.getHandeshakeByteBlock()[B
            at com.wowza.wms.performance.remote.PerformanceRemoteClientTest.run(Unknown Source)
            at com.wowza.wms.performance.PerformanceTest.run(Unknown Source)
            at com.wowza.wms.performance.PerformanceTestList.run(Unknown Source)
            ... 6 more
    C:\Program Files\Wowza Media Systems\Wowza Media Server 3.1.2\bin>
    What am I missing?

    Regards,
    Henry

  2. #2

    Default

    At first glance you are using load tool 3.5 with Wowza 3.1.2, this may be the issue.

    Andrew.

  3. #3
    Join Date
    Dec 2012
    Posts
    2

    Default

    Thanks Andrew. It works fine with Wowza Media Server 3.5.0

  4. #4

    Exclamation

    Hi,

    I've got the same problem for a live test. I had 3.1.2 but then I installed 3.5 but i still get the same error. I see that the properties file is taken from the old location.
    Does the target computer require 3.5 or 3.1.2 is sufficient(I thought that since no install on the target is required).

    Any ideas?

    Thanks, D.

    here is the response

    C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 3.5.0\bin>performa
    nce.bat live
    Configure logging: file:///C:/Program Files (x86)/Wowza Media Systems/Wowza Medi
    a Server 3.1.2/conf/log4j.properties
    INFO server comment - test: **** PerformanceRemoteClientTest *****
    INFO server comment - workerCount: 10
    INFO server comment - fileCount: 0
    INFO server comment - streamName: tlive3
    INFO server comment - streamExt:
    INFO server comment - vhostName: _defaultVHost_
    INFO server comment - connectionStr: Fl/_definst_
    INFO server comment - doRandom: false
    INFO server comment - doRepeat: true
    INFO server comment - ipAddress: my.wowza.server.ip
    INFO server comment - ports: 1935
    INFO server comment - bufferTime: 3000
    Error running test (live): java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.wowza.wms.bootstrap.Bootstrap.runTest(Unknown Source)
    at com.wowza.wms.bootstrap.Bootstrap.main(Unknown Source)
    Caused by: java.lang.NoSuchMethodError: com.wowza.wms.request.RequestConnectHand
    shake.getHandeshakeByteBlock()[B
    at com.wowza.wms.performance.remote.PerformanceRemoteClientTest.run(Unkn
    own Source)
    at com.wowza.wms.performance.PerformanceTest.run(Unknown Source)
    at com.wowza.wms.performance.PerformanceTestList.run(Unknown Source)
    ... 6 more
    C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 3.5.0\bin>
    Last edited by erlik28; 01-07-2013 at 05:40 AM.

  5. #5

    Default

    Nevermind, my pc just needed a good old restart.

    Than

  6. #6
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi
    Great news, thanks for the update.

    Jason

Similar Threads

  1. Replies: 3
    Last Post: 08-28-2014, 01:36 PM
  2. Upgrade adventure - "Error starting: java.lang.reflect.InvocationTargetException"
    By catdude in forum Server Administration Discussion
    Replies: 0
    Last Post: 09-25-2012, 03:43 PM

Posting Permissions

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