Results 1 to 3 of 3

Thread: Starting/Stopping a stream over jmx console is not working in wowza 4.0

  1. #1
    Join Date
    Feb 2014
    Posts
    16

    Default Starting/Stopping a stream over jmx console is not working in wowza 4.0

    Start appInstance
    java -cp . JMXCommandLine -jmx service:jmx:rmi://localhost:8084/jndi/rmi://localhost:8085/jmxrmi -user admin -pass admin touchAppInstance live
    Start MediaCaster stream
    java -cp . JMXCommandLine -jmx service:jmx:rmi://localhost:8084/jndi/rmi://localhost:8085/jmxrmi -user admin -pass admin startMediaCasterStream live abc.stream rtp
    When I try to start a stream using these above commands giving me the following errors.

    startMediaCasterStream live 127.stream rtp
    ERROR: doInvoke: javax.management.InstanceNotFoundException: WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,applications=Applications,applicationName=live,applicationInstances=ApplicationInstances,applicationInstanceName=_definst_,name=ApplicationInstance
    The above code was working fine in wowza 3.6.4.

    Can anybody help me to sort out the issue.

    Thanks

  2. #2

    Default

    Hi,

    The issue is the JMX string no longer begins with WowzaMediaServerPro, it is now WowzaStreamingEngine, so something like

    WowzaStreamingEngine:vHosts=VHosts,vHostName=_defaultVHost_,applications=Applications,applicationNam e=live,name=Application

    If you make the change it should then work, but you may need to check the JMX tree for any other changes, but they do all look to remain the same.

    Andrew.

  3. #3
    Join Date
    Feb 2014
    Posts
    16

    Talking

    Hi Andrew,

    Thank you for the support. Its working again.

    In the "JMXCommandLine.java" file I reset the variable to

    public static final String MBEANNAME = "WowzaStreamingEngine";
    compiled again.

    Now its working. Great

    Cheers,
    Nin

Similar Threads

  1. Starting and stopping stream on demand.
    By DannyW in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 11-21-2011, 12:13 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
  •