# Adding custom HTTPProvider makes the VHost not starting.

**URL:** https://community.wowza.com/t/adding-custom-httpprovider-makes-the-vhost-not-starting/44218
**Category:** Wowza Streaming Engine
**Tags:** server-administration
**Created:** [November 25, 2014, 4:48pm UTC](https://community.wowza.com/t/adding-custom-httpprovider-makes-the-vhost-not-starting/44218 "2014-11-25T16:48:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Phenelo\_Goblet](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@Phenelo\_Goblet](https://community.wowza.com/u/Phenelo_Goblet)
#### Post date: [November 25, 2014, 4:48pm UTC](https://community.wowza.com/t/adding-custom-httpprovider-makes-the-vhost-not-starting/44218/1 "2014-11-25T16:48:59Z")

</div>

So I had my Wowza set up in another computer running on Ubuntu. Now I want to connect my custom HTTP Provider. I edited the VHost.xml in the conf directory. But after I restart my server, the vhost won’t start automatically. Also, the ports indicated in the VHost.xml won’t bind. I’ve made sure that the xml is correct but still it won’t work. Later, I’ve reverted my the changes I made in the VHost.xml and it worked. But I tried adding again, still the vhost won’t start.

My Wowza is in its latest version.

com.wowza.wms.http.HTTPCrossdomain

\*crossdomain.xml

none

com.wowza.wms.http.HTTPClientAccessPolicy

\*clientaccesspolicy.xml

none

com.wowza.wms.http.HTTPProviderMediaList

\*jwplayer.rss|\*jwplayer.smil|\*medialist.smil|\*manifest-rtmp.f4m

none

com.wowza.wms.timedtext.http.HTTPProviderCaptionFile

_.ttml|_.srt|_.scc|_.vtt

none

com.wowza.wms.webapps.MyNewProvider

testprovider\*

none

com.wowza.wms.http.HTTPServerVersion

\*

none

Am I missing something? Thanks. 🙂

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [November 25, 2014, 6:55am UTC](https://community.wowza.com/t/adding-custom-httpprovider-makes-the-vhost-not-starting/44218/2 "2014-11-25T06:55:48Z")

</div>

Hello,

Do you see any indication of the issue in the logs? You can start Wowza in stand alone mode and view the output in the console [install-dir]/bin/startup.bat|startup.sh

Thank you,

Salvadore

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [November 25, 2014, 8:21am UTC](https://community.wowza.com/t/adding-custom-httpprovider-makes-the-vhost-not-starting/44218/3 "2014-11-25T08:21:38Z")

</div>

Cool, thanks for the update and glad you got this sorted out.

Salvadore

---

<div class="post-metadata">

### Author: ![Phenelo\_Goblet](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@Phenelo\_Goblet](https://community.wowza.com/u/Phenelo_Goblet)
#### Post date: [November 25, 2014, 9:44pm UTC](https://community.wowza.com/t/adding-custom-httpprovider-makes-the-vhost-not-starting/44218/4 "2014-11-25T21:44:10Z")

</div>

> Hello,
> 
> Do you see any indication of the issue in the logs? You can start Wowza in stand alone mode and view the output in the console [install-dir]/bin/startup.bat|startup.sh
> 
> Thank you,
> 
> Salvadore

Hey, thanks for the reply. The logs get stuck before binding the virtual ports. I don’t know why this doesn’t work while it works in my EC2. No errors.

---

<div class="post-metadata">

### Author: ![Phenelo\_Goblet](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@Phenelo\_Goblet](https://community.wowza.com/u/Phenelo_Goblet)
#### Post date: [November 25, 2014, 9:49pm UTC](https://community.wowza.com/t/adding-custom-httpprovider-makes-the-vhost-not-starting/44218/5 "2014-11-25T21:49:32Z")

</div>

Oh, I saw it. Here’s the exception:

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at com.wowza.wms.bootstrap.Bootstrap.startServer(Bootstrap.java:555)

at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:67)

Caused by: java.lang.UnsupportedClassVersionError: com/wowza/wms/webapps/WinOneCaster : Unsupported major.minor version 52.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:191)

at com.wowza.wms.util.VHostUtils.loadHTTPProvider(VHostUtils.java:61)

at com.wowza.wms.util.VHostUtils.loadHostPort(VHostUtils.java:609)

at com.wowza.wms.util.VHostUtils.loadHostPortList(VHostUtils.java:686)

at com.wowza.wms.util.VHostUtils.loadConfigFile(VHostUtils.java:978)

at com.wowza.wms.vhost.VHost.c(VHost.java:1185)

at com.wowza.wms.vhost.VHost.init(VHost.java:501)

at com.wowza.wms.vhost.VHostSingleton.init(VHostSingleton.java:62)

at com.wowza.wms.server.Server.startVHost(Server.java:2242)

at com.wowza.wms.server.Server.startVHosts(Server.java:2791)

at com.wowza.wms.server.Server.start(Server.java:1016)

… 6 more

---

<div class="post-metadata">

### Author: ![Phenelo\_Goblet](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@Phenelo\_Goblet](https://community.wowza.com/u/Phenelo_Goblet)
#### Post date: [November 25, 2014, 10:05pm UTC](https://community.wowza.com/t/adding-custom-httpprovider-makes-the-vhost-not-starting/44218/6 "2014-11-25T22:05:14Z")

</div>

I got it now. My EC2 and my other server have two different java versions. Thanks for helping. 🙂
