Results 1 to 2 of 2

Thread: Constructor of HTTProvider2Base launch 2 times

  1. #1

    Default Constructor of HTTProvider2Base launch 2 times

    Dear All,

    I created a class who extends HTTProvider2Base called VODlist.

    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.

      
    
    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

  2. #2

    Default

    Ok I solved my problem.

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

    Thx all

Similar Threads

  1. Chrome Weirdness with an HTTProvider2Base module
    By Thomas Neuendorffer in forum Server-side Modules and Code Samples Discussion
    Replies: 4
    Last Post: 03-20-2013, 08:53 AM
  2. custom code extended HTTProvider2Base but returns always HTTPServerVersion
    By dpakrk in forum Server-side Modules and Code Samples Discussion
    Replies: 1
    Last Post: 12-12-2012, 06:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •