Hi!

 From what I can tell by looking at the code, there is a fixed limit of 
256 characters for the command line arguments. Your example below seems 
to contain less than 256 characters, so I am not sure exactly why it 
fails in this specific case.

We are aware of that this is a general problem in the current code base, 
and the long-term goal is to get rid of fixed limits. For example, we 
are currently in the process of converting AMF from C to C++, where it 
is very easy to use e.g. std::string instead of fixed-size buffers for 
storing strings.

regards,
Anders Widell

2013-11-08 15:56, Lisa Ann Lentz-Liddell skrev:
> We would like to send in our process' command line arguments as part of the 
> instantiation command line.  We would like to store this in the 
> saAmfCfDefInstantiateCmdArgv value:
>
>                  <attr>
>                          <name>saAmfCtDefInstantiateCmdArgv</name>
> <!--
> works:
>                          <value>instantiate TMPIV=abcdefghijklmnopqrstuvwxyz 
> TMPIV=testtesttesttesttesttesttesttesttest 
> TMPIV=TEST2TEST2TEST2TEST2TEST2TEST2TEST2TEST2 TMPIV=0123456789 
> TMPIV=2,0123456789 TMPI3,0123456789 </value>
> Below does not work:
> -->
>                          <value>instantiate TMPIV=abcdefghijklmnopqrstuvwxyz 
> TMPIV=testtesttesttesttesttesttesttesttest 
> TMPIV=TEST2TEST2TEST2TEST2TEST2TEST2TEST2TEST2 TMPIV=0123456789 
> TMPIV=2,0123456789 TMPI3,0123456789 TMPIV=4,0123456789 </value>
>                  </attr>
>
> We are able to configure the above with the "immcfg -f < file name>".  But 
> shortly after the machine is hung and it reboots.  If we use a shorter value 
> things work fine.  We can see that the file is parsed successfully but are 
> unsure of what is causing the reboot and why there would be a limit to the 
> attribute value length.
>
> Any help would be appreciated.
> Thanks.
> Lisa Lentz-Liddell
>
> Lisa Lentz-Liddell | Technical Consultant, Forward R&D | Office: +1 (800) 
> 519-8360 x4569 | Direct Dial +1 (513) 345-7869 | www.NetCracker.com
> Proven Partner to Communications Service Providers
>
>
>
>
> ________________________________
> The information transmitted herein is intended only for the person or entity 
> to which it is addressed and may contain confidential, proprietary and/or 
> privileged material. Any review, retransmission, dissemination or other use 
> of, or taking of any action in reliance upon, this information by persons or 
> entities other than the intended recipient is prohibited. If you received 
> this in error, please contact the sender and delete the material from any 
> computer.
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Opensaf-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensaf-users
>
>


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to