Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Wowza IDE 2 doesn't launch (JVM terminated error)!

  1. #1
    Join Date
    Jun 2012
    Posts
    8

    Default Wowza IDE 2 doesn't launch (JVM terminated error)!

    I have installed Java and then installed the Wowza server from the standalone installer downloaded from http://www.wowza.com/media-server/developers#wowza-ide. I get the following error when I try to launch wowza IDE 2: (I have a Windows 7 64 bit OS)

    JVM terminated. Exit Code=-1
    -Djava.class.path=....\Wowza IDE 2\plugins\org.eclipse.equinox.launcher_1.0.201.R35 x_v20090715.jar
    -os win32
    -ws win32
    ............
    ............

    PS If you need more details about what was displayed I could post the screenshot if you give me your mail id.

  2. #2
    Join Date
    Dec 2007
    Posts
    25,636

    Default

    Try using a recent version of 64bit Eclipse and use the Wowza IDE software update to add Wowza features. It is the #2 option here:

    http://www.wowza.com/media-server/developers#wowza-ide

    Richard

  3. Default

    Or, you can install the 32 bit version of the JRE. That worked for me.

  4. #4
    Join Date
    Jun 2012
    Posts
    8

    Default

    jay_charles: That's what I tried and it did work (though I realized it late).
    Thanks a lot for the replies

  5. #5
    Join Date
    Jun 2012
    Posts
    8

    Default

    Now I cannot create the media server project. I get the following message when I open New->MediaServerProject and hence Next button is not enabled.

    Wowza Media Server location is invalid.
    Cannot find file lib/wms-bootstrap.jar.

    Does this error mean windows media server isn't installed?

    PS location text field is left blank and I can't locate wms-bootstrap.jar on my machine

  6. #6
    Join Date
    Dec 2007
    Posts
    25,636

    Default

    Make sure Wowza is installed locally, on same machine as the IDE. It is easiest to install Wowza first then install the IDE.

    Richard

  7. #7
    Join Date
    Jun 2012
    Posts
    8

    Default

    Yeah it worked when I installed Wowza first and then the IDE. Thanks!

    I have another question. I have tried to run the first sample program as given in the IDE User guide. I have just modified those default functions as:

    public void onConnect(IClient client, RequestFunction function,
    AMFDataList params) {
    getLogger().info("onConnect: " + client.getClientId());
    System.out.println("On Connect initiated");
    }

    i.e. have added the System.out.println to all the functions like onConnectAccept, onConnectReject etc.
    When I run this code it says Wowza Media Server running but it does not print anything (even on running the live streaming html client [install-dir]\examples\SimpleVideoStreaming\client\simplevideos treaming.html
    Could you guys help me get my lines printed in the IDE console and why they don't get printed even on inititating the connection through simplevideostreaming.html ?
    (though it gives other details of the connection in the console)

  8. #8
    Join Date
    Dec 2007
    Posts
    25,636

    Default

    This will only be visible in the console if you start Wowza in stand-alone (/bin/startup.bat) mode. It will not show up in the access log (use getLogger statements to see messages in both). If you do not see it, then maybe the module is not loading correctly. Look for a WARN line just above the app-start event in the access log or console saying the module was not found. If you see that, look for typos in the Application.xml, and make sure the IDE is pointing to the correct Wowza location. You can tell by looking for a the [project-name].jar file in the /lib folder with last compile time as modify date.

    Richard

  9. #9
    Join Date
    Jun 2012
    Posts
    8

    Default

    Thanks for the tip. Fixed that problem. Now I am trying to stop a stream after a given amount of time. I searched for help in the forums and I found a code which works. The problem is I do not understand how and when the run function is implemented. Could you please explain how the following function is used and when it is invoked in the code (code in comment #5 from http://www.wowza.com/forums/showthre...-X-second-play ) :

    public StreamWatchDog(){
    mTask = new TimerTask()
    {
    public void run()
    {
    getLogger().info("XXX_Run StreamWatchDog");
    myStream.shutdown();

    }
    };
    }

  10. #10
    Join Date
    Jun 2012
    Posts
    8

    Default

    Forget the earlier question. I got a better one to help me understand that code
    Where can I find the documentation on all functions present in
    1)Timer class (particularly Timer.schedule)
    2)TimerTask class

    Also what is the significance of rewrititng the run function as:

    mTask = new TimerTask()
    {
    public void run()
    {
    getLogger().info("XXX_Run StreamWatchDog");
    myStream.shutdown(); //myStream is an object of Timer class

    }
    };

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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