Results 1 to 4 of 4

Thread: Windows7, JRE1.7 32 bits Error starting: java.lang.reflect.InvocationTargetException

  1. #1
    Join Date
    Jun 2012
    Posts
    14

    Default Windows7, JRE1.7 32 bits Error starting: java.lang.reflect.InvocationTargetException

    I unistalled all JAVA and installed jre1.7 32 bits.
    I have wowza 4 and IDE 2

    I stop wowza services.

    I have done that on 3 different PC with SAME RESULT: this is HELL !

    When I create a new Wowza Media server project from IDE, and run Wowza, I got:



    Error starting: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException
    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.bootstrap.Bootstrap.startServer(Bootstrap.java:555)
    at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:67)
    Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/SystemUtils
    at com.wowza.wms.bootstrap.BootstrapSystemTuningInfo.getSystemTuningInfo(BootstrapSystemTuningInfo.java :113)
    at com.wowza.wms.server.ServerTuningHandler.<init>(ServerTuningHandler.java:248)
    at com.wowza.wms.server.Server.<init>(Server.java:864)
    at com.wowza.wms.server.Server.getInstance(Server.java:912)
    at com.wowza.wms.server.Server.start(Server.java:961)
    ... 6 more
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.SystemUtils
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 11 more


    Can someone help me please ?


    Do I need to run wowza from IDE ?
    It seems it creates a .JAR : how can I test it ?
    Last edited by yarekc; 08-28-2014 at 11:06 AM.

  2. #2

    Default

    Hi there.

    To fix this error. In Eclipse, right click on the project in the left menu and choose "properties"
    Next, click on the Run/Debug settings on the left, highlight the launch configuration and click Edit
    Under the "arguments" tab, add the following line to the output in "VM Arguments"

    On Windows:
    -Dcom.wowza.wms.native.base="win"
    On Mac:
    -Dcom.wowza.wms.native.base="osx"
    Salvadore

  3. #3
    Join Date
    Jun 2012
    Posts
    14

    Default

    GREAT : That works !!

    Why isn't that parameter included ? I got that error on 3 different PCs !

  4. #4

    Default

    Thanks for the update and glad I could help!

    Salvadore

Similar Threads

  1. Replies: 5
    Last Post: 01-07-2013, 09:48 AM
  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
  •