# Constructor of HTTProvider2Base launch 2 times

**URL:** <https://community.wowza.com/t/constructor-of-httprovider2base-launch-2-times/39997>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [March 1, 2014, 6:06am UTC](https://community.wowza.com/t/constructor-of-httprovider2base-launch-2-times/39997 "2014-03-01T06:06:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard\_Perez](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@Richard\_Perez](https://community.wowza.com/u/Richard_Perez)\
**Post date:** [March 1, 2014, 6:06am UTC](https://community.wowza.com/t/constructor-of-httprovider2base-launch-2-times/39997/1 "2014-03-01T06:06:11Z")

</div>

Dear All,

I created a class who extends HTTProvider2Base called VODlist.

```auto
public class VODlist extends HTTProvider2Base

```

I need to initialize the class so i created a method VODlist who I think overide the constructor of the HTTProvider2Base.

```auto
  
public VODlist() {
    	System.out.println("CONSTRUCTOR");
}

```

The strange thing is that it seems that the constructor is called two times (because i see the message “CONSTRUCTOR” tow times in a row in the console).

Somebody knows how to solve this problem?

Best regards

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Perez](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@Richard\_Perez](https://community.wowza.com/u/Richard_Perez)\
**Post date:** [March 1, 2014, 4:13pm UTC](https://community.wowza.com/t/constructor-of-httprovider2base-launch-2-times/39997/2 "2014-03-01T16:13:21Z")

</div>

Ok I solved my problem.

In fact the application was running on two host ports at the same time…

Thx all
