# MediaReaderFactory: getInstance: Missing definition for smil

**URL:** <https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911>\
**Category:** Wowza Streaming Engine\
**Created:** [July 6, 2011, 4:47pm UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911 "2011-07-06T16:47:56Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laura\_Detmer](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@Laura\_Detmer](https://community.wowza.com/u/Laura_Detmer)\
**Post date:** [July 6, 2011, 4:47pm UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911/1 "2011-07-06T16:47:56Z")

</div>

Hi,

I’m trying to run read a SMIL stream from brightcove. I passed the stream name as:

smil:myStream.smil

I’m seeing this error in my wowza logs:

MediaReaderFactory: getInstance: Missing definition for smil

When I check my MeaderReaders.xml, I do not see a smil entry. Can someone please share with me what the smil entry should look like so I can add it?

thanks,

Laura

---

<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:** [July 7, 2011, 12:21pm UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911/2 "2011-07-07T12:21:23Z")

</div>

Laura,

We need more details about what you are doing to understand and help. What player, where is smil located, where are files? What version of Wowza?

Server-side smil works with Flash HTTP (Sanjose), iOS (Cupertino), and Silverlight (Smooth).

For RTMP multi-bitrate streaming, take a look at this JW Player method:

[http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/16012/setting-up-rtmp-dynamic-streaming](http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/16012/setting-up-rtmp-dynamic-streaming)

Richard

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [July 8, 2011, 12:52pm UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911/3 "2011-07-08T12:52:16Z")

</div>

You may be running Wowza Server 1.x which does not support SMIL files.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [August 25, 2011, 11:37am UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911/4 "2011-08-25T11:37:33Z")

</div>

This file is new to Wowza Server 3. It is not a Wowza Server 2 .jar file. It is built into the wms-server.jar in Wowza Server 2.

Charlie

---

<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:** [July 14, 2011, 3:45pm UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911/5 "2011-07-14T15:45:11Z")

</div>

Laura,

This indicates your server’s conf xml files and lib jar files are mismatched, perhaps from copying configuration files from old version of Wowza or using a wrong patch maybe. It’s really easiest to backup conf for reference only, then uninstall, then re-install Wowza and re-configure each app with the current files. Don’t copy old files.

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:** [July 14, 2011, 9:43pm UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911/6 "2011-07-14T21:43:33Z")

</div>

This is the error that makes me think you have a mismatch situation:

> java.lang.ClassNotFoundException: com.wowza.wms.mediareader.smil.MediaListReaderSMILjava.lang.ClassNotFoundException: com.wowza.wms.mediareader.smil.MediaListReaderSMIL

Richard

---

<div class="post-metadata">

**Author:** ![Scott\_Kellicker](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@Scott\_Kellicker](https://community.wowza.com/u/Scott_Kellicker)\
**Post date:** [July 14, 2011, 9:24am UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911/7 "2011-07-14T09:24:19Z")

</div>

Smil files are supported in 2.2.3.

Your conf/MediaReaders.xml should contain this section:

```auto
    <MediaReader>
    <Name>smil</Name>
    <Description>SMIL Media Reader</Description>
    <FileExtension>smil</FileExtension>
    <ContentType>medialist</ContentType>
    <ClassBase>com.wowza.wms.mediareader.smil.MediaListReaderSMIL</ClassBase>
    <Properties>
        <Property>
            <Name>smilMaxFileLength</Name>
            <Value>1048576</Value>
            <Type>Long</Type>
        </Property>
    </Properties>
</MediaReader>

```

This is in the MediaReaders file when the product is installed, so I’m confused/concerned why it would not be in yours.

---

<div class="post-metadata">

**Author:** ![Laura\_Detmer](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@Laura\_Detmer](https://community.wowza.com/u/Laura_Detmer)\
**Post date:** [July 14, 2011, 9:07am UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911/8 "2011-07-14T09:07:29Z")

</div>

Hi,

I’m running Wowza Media Server 2 for EC 2.2.3 buildd 26454

I’m trying to output to two different players

1. iOS

2. brightcove - the issue is when i’m trying to make a request from brightcove - that is when I see that error

3. this is a live stream event being broadcast from wirecast

if brightcove isn’t support by SMIL, how can I broadcast to one URL, but create 2 different file types?

thanks,

Laura

---

<div class="post-metadata">

**Author:** ![Laura\_Detmer](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@Laura\_Detmer](https://community.wowza.com/u/Laura_Detmer)\
**Post date:** [July 14, 2011, 10:32am UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911/9 "2011-07-14T10:32:00Z")

</div>

Hi Scott,

When I add that and try to invoke the stream, then I get this error:

ERROR server comment 2011-07-14 11:29:14 - - - - - 3033.819 - - - - - - – MediaReaderFactory: getInstance: java.lang.ClassNotFoundException: com.wowza.wms.mediareader.smil.MediaListReaderSMIL

So it definitely sounds like something is missing, can you point me to a jar or someplace in the installer that I can verify that this existed with my copy?

Thanks,

Laura

---

<div class="post-metadata">

**Author:** ![Laura\_Detmer](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@Laura\_Detmer](https://community.wowza.com/u/Laura_Detmer)\
**Post date:** [July 14, 2011, 4:28pm UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911/10 "2011-07-14T16:28:04Z")

</div>

Hi Richard,

I’m a little suspect thought because hitting this url: [http://ec2-67-202-23-220.compute-1.amazonaws.com:80/live/smil:myStream.smil/playlist.m3u8](http://ec2-67-202-23-220.compute-1.amazonaws.com:80/live/smil:myStream.smil/playlist.m3u8) on my ipad works for me. If I didn’t have the right jars shouldn’t this not work?

What doesn’t work is trying to fetch the stream via brightcove using this url: [http://ec2-67-202-23-220.compute-1.amazonaws.com:80/live](http://ec2-67-202-23-220.compute-1.amazonaws.com:80/live) streamname: smil:myStream.smil

Do you still think its a config issue? I’m not aware of any upgrade that we did.

thanks,

Laura

---

<div class="post-metadata">

**Author:** ![Viktor\_Poltorak](https://avatars.discourse-cdn.com/v4/letter/v/bb73d2/32.png) [@Viktor\_Poltorak](https://community.wowza.com/u/Viktor_Poltorak)\
**Post date:** [August 25, 2011, 12:33am UTC](https://community.wowza.com/t/mediareaderfactory-getinstance-missing-definition-for-smil/36911/11 "2011-08-25T00:33:22Z")

</div>

I have the same error.

I tried to install Wowza 2.2.4 dev edition on linux and win, but i can’t find file wms-mediareader-smil.jar in lib folder.

Where a can find this library?

Is this library available in the dev edition?
