# ​Create vod application with REST API, but fail to play any video

**URL:** <https://community.wowza.com/t/create-vod-application-with-rest-api-but-fail-to-play-any-video/49826>\
**Category:** Wowza Developer Dojo\
**Created:** [October 3, 2017, 10:37am UTC](https://community.wowza.com/t/create-vod-application-with-rest-api-but-fail-to-play-any-video/49826 "2017-10-03T10:37:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hsieh\_Tanya](https://avatars.discourse-cdn.com/v4/letter/h/b2d939/32.png) [@Hsieh\_Tanya](https://community.wowza.com/u/Hsieh_Tanya)\
**Post date:** [October 3, 2017, 10:37am UTC](https://community.wowza.com/t/create-vod-application-with-rest-api-but-fail-to-play-any-video/49826/1 "2017-10-03T10:37:19Z")

</div>

Missing title. Missing body.

---

<div class="post-metadata">

**Author:** ![Hsieh\_Tanya](https://avatars.discourse-cdn.com/v4/letter/h/b2d939/32.png) [@Hsieh\_Tanya](https://community.wowza.com/u/Hsieh_Tanya)\
**Post date:** [October 3, 2017, 10:39am UTC](https://community.wowza.com/t/create-vod-application-with-rest-api-but-fail-to-play-any-video/49826/2 "2017-10-03T10:39:24Z")

</div>

# Create vod application with WOWZA Stream manager, and play sample.mp4 is OK.

Create vod application with REST API, return successful message.  
Bbut fail to play any video.  
WHY?

---

<div class="post-metadata">

**Author:** ![Hsieh\_Tanya](https://avatars.discourse-cdn.com/v4/letter/h/b2d939/32.png) [@Hsieh\_Tanya](https://community.wowza.com/u/Hsieh_Tanya)\
**Post date:** [October 5, 2017, 3:03am UTC](https://community.wowza.com/t/create-vod-application-with-rest-api-but-fail-to-play-any-video/49826/3 "2017-10-05T03:03:54Z")

</div>

# I created VOD application with WOWZA stream manager, and play sample.mp4 is OK.

Then I edit application description option with REST API, fail to play sample.mp4  
WHY?

---

<div class="post-metadata">

**Author:** ![Aneeq\_Hashmi](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@Aneeq\_Hashmi](https://community.wowza.com/u/Aneeq_Hashmi)\
**Post date:** [October 17, 2017, 1:24pm UTC](https://community.wowza.com/t/create-vod-application-with-rest-api-but-fail-to-play-any-video/49826/5 "2017-10-17T13:24:11Z")

</div>

I am facing almost similar issue. I created the VOD app with stream manager and it is working fine but when I created the similar app with api, it is not working. I compared the application xml fetched by api and those are exactly same. Logs mentioned the following error

RandomAccessReaderFactory: createRandomAccessReader : java.lang.ClassNotFoundException: |at java.lang.Class.forName0(Native Method)|at java.lang.Class.forName(Class.java:264)|at com.wowza.io.RandomAccessReaderFactory.createInstance(RandomAccessReaderFactory.java:16)
