# Error creating 

**URL:** <https://community.wowza.com/t/error-creating/727>\
**Category:** Wowza Streaming Engine\
**Created:** [May 9, 2013, 3:24pm UTC](https://community.wowza.com/t/error-creating/727 "2013-05-09T15:24:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [May 9, 2013, 3:24pm UTC](https://community.wowza.com/t/error-creating/727/1 "2013-05-09T15:24:13Z")

</div>

I got this error:

```auto
ERROR server comment - ServerUtils.loadServerListener: Error creating <ServerListener> (com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher): java.lang.ClassNotFoundException: com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher

```

I just want to scheduled streaming so I did this:

I put the wms-collection-plugin.jar in the dir lib

I put in conf/server.xml:

```auto
<ServerListeners>
            <!--
			<ServerListener>
				<BaseClass>com.wowza.wms.plugin.loadbalancer.ServerListenerLoadBalancerListener</BaseClass>
			</ServerListener>
			-->
            <!--
			<ServerListener>
				<BaseClass>com.wowza.wms.plugin.loadbalancer.ServerListenerLoadBalancerSender</BaseClass>
			</ServerListener>
			-->
            <ServerListener>
                <BaseClass>com.wmspanel.WmsPanelAgent</BaseClass>
            </ServerListener>
	    <ServerListener>
	        <BaseClass>com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher</BaseClass>
	    </ServerListener>
        </ServerListeners>

```

I also put this in conf/server.xml (because I want to use it in another name for the application)

```auto
 <Property>
	    	<Name>PublishToApplication</Name>
	    <Value>prueba</Value>
	    </Property>

```

I create my content/streamschedule.smil

```auto
    <head>
    </head>
    <body>
        <stream name="Stream1"></stream>
        
        <playlist name="pl1" playOnStream="Stream1" repeat="true" scheduled="2013-05-09 18:02:00">
            <video src="mp4:sample.mp4" start="5" length="5"/>
            <video src="mp4:sample2.mp4" start="50" length="5"/>
            <video src="mp4:sample3.mp4" start="10" length="5"/>
        </playlist>
    </body>
</smil>

```

files sample.mp4, sample2.mp4 and sample3.mp4 already exist on the server

My target Application.xml is set to “live”

I already search on the forum for the solution but i can’t find it, Can you guys help me???

My wowza is the free trial:

INFO server server-start Wowza Media Server 3 Trial Edition (Expires: May 21, 2013) 3.5.2 build3747 -

Thks

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 10, 2013, 12:50am UTC](https://community.wowza.com/t/error-creating/727/2 "2013-05-10T00:50:39Z")

</div>

It all looks good. The error could be because of a typo, which I don’t see, or that .jar was not in lib folder when you re-started. Try re-starting, check to be sure that .jar file is in the /lib folder.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 10, 2013, 3:40pm UTC](https://community.wowza.com/t/error-creating/727/3 "2013-05-10T15:40:51Z")

</div>

It is missing the opening and tags

```auto
<smil>
<body>
 <head>
    </head>
    <body>
        <stream name="Stream1"></stream>
        
        <playlist name="pl1" playOnStream="Stream1" repeat="true" scheduled="2013-05-10 10:30:00">
            <video src="mp4:sample.mp4" start="5" length="5"/>
            <video src="mp4:sample2.mp4" start="50" length="5"/>
            <video src="mp4:sample3.mp4" start="10" length="5"/>
        </playlist>
    </body>
</smil>

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 10, 2013, 6:39pm UTC](https://community.wowza.com/t/error-creating/727/4 "2013-05-10T18:39:19Z")

</div>

The /content/streamschedule.smil must be messed up some other way now.That’s where Wowza gets the file names to play.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 11, 2013, 2:52am UTC](https://community.wowza.com/t/error-creating/727/5 "2013-05-11T02:52:31Z")

</div>

Cool! Thanks for the update and kind words.

Richard

---

<div class="post-metadata">

**Author:** ![Andres\_Lopezvictoria](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Andres\_Lopezvictoria](https://community.wowza.com/u/Andres_Lopezvictoria)\
**Post date:** [May 10, 2013, 7:30am UTC](https://community.wowza.com/t/error-creating/727/6 "2013-05-10T07:30:20Z")

</div>

Hi Richard ! Thks for reply … I fix it … the problem was that I uploaded .jar file as ASCII instead of binary

But now I have another error (I think is easy to fix it) but I can’t !!

I got this error from wowza

```auto
[Fatal Error] streamschedule.smil:3:6: The markup in the document following the root element must be well-formed.
INFO server comment - ServerListenerStreamPublisher: XML Parse failed
INFO server comment - Wowza Media Server is started!

```

My streamschedule.smil

```auto
    <head>
    </head>
    <body>
        <stream name="Stream1"></stream>
        
        <playlist name="pl1" playOnStream="Stream1" repeat="true" scheduled="2013-05-10 10:30:00">
            <video src="mp4:sample.mp4" start="5" length="5"/>
            <video src="mp4:sample2.mp4" start="50" length="5"/>
            <video src="mp4:sample3.mp4" start="10" length="5"/>
        </playlist>
    </body>
</smil>

```

Can you help me ?

---

<div class="post-metadata">

**Author:** ![Andres\_Lopezvictoria](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Andres\_Lopezvictoria](https://community.wowza.com/u/Andres_Lopezvictoria)\
**Post date:** [May 10, 2013, 9:10am UTC](https://community.wowza.com/t/error-creating/727/7 "2013-05-10T09:10:30Z")

</div>

It’s It’s working now ! thks

My intention is to get thos work “How to loop a pre-roll until a live stream starts”

I can do this, in my tests the video VOD is playing and when I go live works perfectly, I mean, swich from VOD to LIVE fine !

But when I go out from LIVE I can’t make the video VOD returns to play

Is this possible?

---

<div class="post-metadata">

**Author:** ![Andres\_Lopezvictoria](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Andres\_Lopezvictoria](https://community.wowza.com/u/Andres_Lopezvictoria)\
**Post date:** [May 10, 2013, 9:27am UTC](https://community.wowza.com/t/error-creating/727/8 "2013-05-10T09:27:45Z")

</div>

When I go out from LIVE I got a lots of error server comment

```auto
INFO server comment - Stream.switch[prueba/_definst_/Stream1]: index: 0 name: start:0 length:-1
WARN server comment - open: java.io.FileNotFoundException: /usr/local/WowzaMediaServer/content/.flv (No such file or directory)
INFO server comment - ServerListenerStreamPublisher PlayList Item Start: 
INFO server comment - Stream.switch[prueba/_definst_/Stream1]: index: 0 name: start:0 length:-1
WARN server comment - open: java.io.FileNotFoundException: /usr/local/WowzaMediaServer/content/.flv (No such file or directory)

```

It’s a Loop error, never ends ! jeje

Thks.

---

<div class="post-metadata">

**Author:** ![Andres\_Lopezvictoria](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Andres\_Lopezvictoria](https://community.wowza.com/u/Andres_Lopezvictoria)\
**Post date:** [May 10, 2013, 10:48am UTC](https://community.wowza.com/t/error-creating/727/9 "2013-05-10T10:48:52Z")

</div>

Ok … I just restarted Wowza … The playlist are working ok … I can see the videos from my playlist in my player … then I go LIVE with my wirecast and still working ok (in my player I can see the “swich” between playlist and my Live Stream) but then I stop my LIVE streaming and the player goes and black screen and trying to connect (loading) but nothing happens

I want when I stop my LIVE streaming from Wirecast the playlist could start again !

Is this possible?

thks and sorry for my bad english

---

<div class="post-metadata">

**Author:** ![Andres\_Lopezvictoria](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Andres\_Lopezvictoria](https://community.wowza.com/u/Andres_Lopezvictoria)\
**Post date:** [May 10, 2013, 5:24pm UTC](https://community.wowza.com/t/error-creating/727/10 "2013-05-10T17:24:01Z")

</div>

Already I was able to make ir work ! with dynamically control Stream class streams

Everything perfect, When the trial ends I will pay foy Wowza !

Thks !
