Results 1 to 2 of 2

Thread: How can i create an ant task tha that will shutdown and restart wowza

  1. #1
    Join Date
    May 2011
    Posts
    1

    Cool How can i create an ant task tha that will shutdown and restart wowza

    I created the following ant task.

    <?xml version="1.0"?>
    <project name="AEStreaming" default="jar" basedir="..">

    <!--<property name="wowza.lib.dir" value="/Library/WowzaStreamingEngine-4.0.3//lib"/>-->
    <!--<property name="jar.filename" value="AEStreaming.jar"/>-->
    <!--<property name="core.build.dir" value="bin"/>-->

    <target name="main">
    <exec executable="/Library/WowzaStreamingEngine-4.1.0/bin/shutdown.sh">
    </exec>
    <exec executable="/Library/WowzaStreamingEngine-4.1.0/bin/startup.sh">
    </exec>
    </target>

    </project>

    What I would like to do is for my IDE (Intellij) to wait until the server has started up before starting the remote debugging session.

    Could someone give me some pointers on how I would do this.

  2. #2
    Join Date
    May 2013
    Posts
    680

    Default

    Hello

    You might look at setting the command line options in the startup.sh to run the debugger and wait as needed. You can set the following:
     -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1044
    The suspend=y will start java and then wait for the debugger to attach. If that is not what you are looking for, it may pay to contact intellij for alternative options.

    Thanks,
    Matt

Similar Threads

  1. How to ReStart The Server after shutdown
    By Amer.K in forum General Forum
    Replies: 1
    Last Post: 12-19-2013, 09:27 AM
  2. Wowza Media Server with decoder Antrica ANT-32000AS
    By Albagest in forum General Forum
    Replies: 1
    Last Post: 11-19-2012, 09:30 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
  •