This discussion is archived
5 Replies Latest reply: Mar 3, 2011 11:14 AM by mikereiche RSS

dspControlConfig.properties

731114 Newbie
Currently Being Moderated
We're using ODSI 10.3.0 and utilizing the dspControlConfig.properties file to override the endpoints for the data service controls. We've noticed that occasionally this file gets updated by the server at runtime. It adds these lines to the file even though the control is already specified in the property file:

#The URL for the ODSI Control InternetDataspace.org.internet.security.dscontrol.InternetSecurityDSControl
#Mon Feb 07 10:00:43 CST 2011
InternetDataspace.org.internet.form.controls.InternetFormDSControl=t3\://....

Why does it do that and how can we prevent it?

Even though the control already exists in the file, the server sometimes updates the file with the control using localhost:7001 address at the end of the file. ie InternetDataspace.org.internet.security.dscontrol.InternetSecurityDSControl=t3\://localhost\:7001
We need to prevent this b/c it's overriding the correct control reference with localhost:7001 which causes the call to the odsi service to fail.
  • 1. Re: dspControlConfig.properties
    mikereiche Pro
    Currently Being Moderated
    It only creates that entry if there is no entry.

    - Mike
  • 2. Re: dspControlConfig.properties
    731114 Newbie
    Currently Being Moderated
    But that's the thing we don't understand...the entry does exist in the file, but it still updates the file.
  • 3. Re: dspControlConfig.properties
    mikereiche Pro
    Currently Being Moderated
    I do believe that you believe that the entry is updated/added although it already exists. But looking at the code, I don't believe that it is updated/added.

    Convince me.

    At least post the file before and after.

    btw - in your original post, your problem appears to be that your initial dspcontrol.properties file uses the wrong identifier for the control. Replace it with the one that is added.

    InternetDataspace.org.internet.form.controls.InternetFormDSControl
    InternetDataspace.org.internet.security.dscontrol.InternetSecurityDSControl

    Edited by: mikereiche on Mar 3, 2011 9:33 AM
  • 4. Re: dspControlConfig.properties
    731114 Newbie
    Currently Being Moderated
    Before:

    InternetDataspace.org.internet.form.controls.InternetFormDSControl=t3\://aixaccp01\:7333
    InternetDataspace.org.internet.security.dscontrol.InternetSecurityDSControl=t3\://aixaccp01\:7333


    After:

    InternetDataspace.org.internet.form.controls.InternetFormDSControl=t3\://aixaccp01\:7333
    InternetDataspace.org.internet.security.dscontrol.InternetSecurityDSControl=t3\://aixaccp01\:7333
    #The URL for the ODSI Control InternetDataspace.org.internet.security.dscontrol.InternetSecurityDSControl
    #Wed Mar 02 10:09:45 CST 2011
    InternetDataspace.org.internet.security.dscontrol.InternetSecurityDSControl=t3\://localhost\:7001
  • 5. Re: dspControlConfig.properties
    mikereiche Pro
    Currently Being Moderated
    you already have a case open. customer support is going to ask you for more information.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points