Ali,

Was away for a week and couldn't try out your suggestion.
But it turns out, moment I replaced "," by ";" it started working fine.

It is a bug in the code which lets u read pluginsvr_config.xml file.
I changed the section
FROM
<userDefined>
        <var1>xyz,abc</var1>
</userDefined>

TO
<userDefined>
        <var1>xyz;abc</var1>
</userDefined>

and it worked fine. Thanks

~Nathan



On Sun, Feb 24, 2013 at 6:57 PM, Ali A. Musa <amus...@stc.com.sa> wrote:

> **
>
> Yes****
>
> ** **
>
> *From:* Action Request System discussion list(ARSList) [mailto:
> arslist@ARSLIST.ORG] *On Behalf Of *nathan brandt
> *Sent:* Sunday, February 24, 2013 4:07 PM
> *To:* arslist@ARSLIST.ORG
> *Subject:* Re: pluginsvr_config.xml caching issue?****
>
> ** **
>
> ** ****
>
> Tauf, I even restarted the machine running AR Server. But still no luck.**
> **
>
> ** **
>
> Ali, Do you mean "," is causing the issue?****
>
> ** **
>
> ~ Nathan****
>
> ** **
>
> On Sun, Feb 24, 2013 at 8:50 PM, Ali A. Musa <amus...@stc.com.sa> wrote:**
> **
>
> ** ****
>
> You may need to execute a function replace ‘,’ to space and then extract.*
> ***
>
>  ****
>
> *From:* Action Request System discussion list(ARSList) [mailto:
> arslist@ARSLIST.ORG] *On Behalf Of *nathan brandt
> *Sent:* Sunday, February 24, 2013 5:59 AM
> *To:* arslist@ARSLIST.ORG
> *Subject:* pluginsvr_config.xml caching issue?****
>
>  ****
>
> ** ****
>
> I have written an AREA plugin in Java which reads some name/value pairs
> from  pluginsvr_config.xml. This is how it looks****
>
>  ****
>
> <userDefined>****
>
>         <var1>xyz</var1>****
>
> </userDefined> ****
>
>  ****
>
> I am able to read it like****
>
> String var1 = pc.getConfigItem("var1")****
>
>  ****
>
>  ****
>
> But now even if I change the section to ****
>
>  ****
>
> <userDefined>****
>
>         <var1>xyz,abc</var1>****
>
> </userDefined> ****
>
>  ****
>
> Instead of getting "xyz,abc" as the value of val1, I am still getting it
> as "xyz"****
>
>  ****
>
> Any idea what might be going wrong?****
>
>  ****
>
> ~ Nathan****
>
>  ****
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_ ****
>
> The information in this email may contain confidential material and it is
> intended solely for the addresses. Access to this email by anyone else is
> unauthorized. If you are not the intended recipient, please delete the
> email and destroy any copies of it, any disclosure, copying, distribution
> is prohibited and may be considered unlawful. Contents of this email and
> any attachments may be altered, Statement and opinions expressed in this
> email are those of the sender, and do not necessarily reflect those of
> Saudi Telecommunications Company (STC). ****
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_ ****
>
> ** **
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_ ****
>
> The information in this email may contain confidential material and it is
> intended solely for the addresses. Access to this email by anyone else is
> unauthorized. If you are not the intended recipient, please delete the
> email and destroy any copies of it, any disclosure, copying, distribution
> is prohibited and may be considered unlawful. Contents of this email and
> any attachments may be altered, Statement and opinions expressed in this
> email are those of the sender, and do not necessarily reflect those of
> Saudi Telecommunications Company (STC).
>  _ARSlist: "Where the Answers Are" and have been for 20 years_
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to