Configuring SPA2102 through xml file

Can anyone help me? I have an SPA2102 and i want to configure it through an xml file, but it doesnt seem to work, the xml im sending is the following:
<flat-profile>
<User_ID_1_>user</User_ID_1_>
<Password_1_>password</Password_1_>
</flat-profile>
Since all i want to change is the account, but when i load it with the http://ipaddress/admin/resync?tftp... i get the following message,  SPA will resync the profile when it is not in use and reboot
you can click HERE to return to the configuration page, but it never reboots,and if i do it manually, it stays the same, so i would appretiate if someone could help me, and point me in the right direction, telling what is that im doing wrong. Thanks in advance. 

I will try to make it clearer:
The server I have access to runs Tomcat through Apache. The only way I can access files is if I put them under httdocs.
The question is quite simple: without having my clueless host remap everything, how can I access files in the Tomcat directory, where those files rightly belong?
There should be a simple way to do it in a web.xml file, but have been unsuccessful thus far.

Similar Messages

  • Send Image through xml file

    Hey guys,
    I want to send an JPEG image through xml file. i dont want to just give the URL of the image but i want to actually send the image through xml. Im new in XML so can you please give me a working sample code.
    Thank you so much.

    Working code will not be difficult to write. Jpeg or other binary info can be encoded in xml using base64 encoding or some other encoding algorithm.
    After base64 encoding you will get some text which will be the base64 equivalent of the image data. This text can be placed in CDATA section of your image element and transferred.
    On the receiving end you will need to decode the text. After this what u have is the binary data for ur image.
    It will not be difficult to find libraries for base64 encodin/decoding on the net.
    Hope it helps

  • Configure the log4j.xml file

    Hello All,
    I am trying to configure the log4j.xml file, so that i can get differnet logging messages based on the level to different log files. for ex: info messages in info.log, debug messages in debug.log and so on...i tried using the below...but, no luck.
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
    <appender name="UCF_Exception" class="org.apache.log4j.RollingFileAppender">
         <param name="File" value="UCF_Exception.log"/>
         <param name="Append" value="false"/>
         <param name="MaxFileSize" value="1000KB"/>
         <param name="MaxBackupIndex" value="2"/>
         <layout class="org.apache.log4j.xml.XMLLayout">
              <param name="LocationInfo" value="true"/>
         </layout>
    </appender>
    <log4j.logger.UCFExceptionLogger>
         <level value ="debug"/>
         <appender-ref ref="UCF_Exception" />
    </log4j.logger.UCFExceptionLogger>
    </log4j:configuration>
    getting exception
    log4j:WARN No appenders could be found for logger (UCFExceptionLogger).
    log4j:WARN Please initialize the log4j system properly.
    Can someone help me...

    I'm not 100% sure this is possible with log4j, but if it is then you've still got some errors in your log4j.xml file
    Change
    <log4j.logger.UCFExceptionLogger>
       <level value ="debug"/>
       <appender-ref ref="UCF_Exception" />
    </log4j.logger.UCFExceptionLogger>to
    <logger name="UCFExceptionLogger>
       <level value="debug"/>
       <appender-ref ref="UCF_Exception" />
    </logger>
    The log4j jar includes a DTD. You can use the free version of XMLSpy to validate your log4j.xml file against it.
    Steve                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Configuring the Logconfig.xml file

    I would like to configure the Logconfig.xml(for presentation services) so that the log file that is created is in the format of the log file that is generated by usage tracking(comma separated values) or store it directly to the table.
    Is it possible?
    where can i find some detailed information about the various writers(filelogwriter,coutwriter)

    I will try to make it clearer:
    The server I have access to runs Tomcat through Apache. The only way I can access files is if I put them under httdocs.
    The question is quite simple: without having my clueless host remap everything, how can I access files in the Tomcat directory, where those files rightly belong?
    There should be a simple way to do it in a web.xml file, but have been unsuccessful thus far.

  • Update Database Through XML file using SAP B1 business objects

    Hello everyone,
    I am facing a problem ie I am not able to update the Database(SQL 2000) through an XML file.
    Though i am able to insert the data in the databse using xml file but unable to update that data.
    The tables i want to update are OITM,ITM1,OITW. While i was trying to update  the Databse i was getting an error ie " -1107 Object's key is not set".
    I dont want to use DTW for importing or anything.
    Kindly help me out why i am facing this problem asap...

    Hi Pranay,
    My case was that I wanted to replicate an item from one company to another (I guess that's your case also). What I finally did is copy field by field the objects I needed. Later I've find out the solution given here,
    Copy items between databases
    but I haven't try it out. I expect your comments about it :).
    Regards,
    Ian

  • Import and Export CSV Through XML File in Oracle

    Hi Gurus,
    I am sorry , I had deleted this post.
    Thanks
    Edited by: user10679113 on Feb 5, 2009 6:13 AM

    What does it mean to do something with comma separated values through XML. That is a new concept for me.
    Either something is CSV or XML but what is it you are trying to describe? Please provide an example.
    Then come the obvious questions like what version and edition of Oracle on what platform? What does any of this have to do with email? How large a file? etc.
    No one else has responded so I can only assume they are thinking what I am ... "what is this person trying to do?"

  • How to configure crystal report xml file as data source in BOE in Solaris?

    Hi,
    How to configure crystal reports from xml file as data source in Solaris? I didn't find any suitable driver for xml / excel files for sun solaris.
    Which driver i have to use to connect xml file to crystal report to view my crystal report in solaris BOE?
    And the same way excel file as data source for crystal report.
    Thanks

    Hi Don thanks for the reply,
    In windows environment I donot have any problem when creating crystal report from Xml file and Excel file. After creating reports when I publish those into boe server in solaris, getting connection failed error.
    My solaris BOE server doent have any network connection with windows machines. So i have to place the files in solaris server.
    Below the steps what I tried:
    1. Created crystal reports from cr designer in windows using ADO.Net(xml) and in another try with Xml webservices drivers. Reports works well as it should.
    2. Saved in BOE repository in Solaris server from crystal reports and changed database configuration settings as:
        -Used custom database logon information and specified cr_xml as custom driver.
        -Chnaged database path to file directory path according to solaris server file path </app/../../>
        -tried table prefix also
        - Selected radio button use same database logon as when report is run saved.
    My environment :
    SAP BOXI3.1 sp3
    crystal reports 2008 sp3
    SunOS
    Cr developing in windows 7.
    For Excel I tried with ODBC in windows but I can't find any ODBC or JDBC drivers for Excel in solaris.
    Any help to solve my issues
    Thanks
    Nagalla

  • AS3.0 iterating through XML file

    I am new to AS3.0 and the new E4X way of working with XML.
    I'm trying to loop through a portion of an externally loaded XML
    file and display the results. Here is a portion of my XML file:
    <amenity id="1">
    <title>The Gate House</title>
    <feature>Majestic two-level Preserve Neighborhood
    Amenity Center</feature>
    <feature>Beautiful Gardens and Meandering
    Pathways</feature>
    <feature>Meeting Activity Room, Theatre Room, Gourmet
    Kitchen, Hearth Room, Grand Fireplace</feature>
    <feature>Decks and Patios</feature>
    <feature>Available to residents for parties, reunions,
    weddings, and meetings</feature>
    </amenity>
    The are other amenities as well. When a user clicks a button,
    I want to enumerate all of the features from this particular
    amenity. Here is my code to do this (the code associated with the
    listener for the button):
    function btnClick(eventObject) {
    var mc:MovieClip=eventObject.target
    var num:String = mc.name.replace("btn","")
    var xmlAmenity:XMLList = myXML.amenity.(@id==num)
    for each (var prop:XML in xmlAmenity) {
    trace (prop.feature);
    Basically the button that calls this is btn1, so the num
    variable ends up being 1. myXML is a global variable into which the
    external XML file has already been loaded. It then uses the num
    variable to assign the amenity with an id if 1 to the xmlAmenity
    variable as an XMLList. Everything works just grand except for the
    fact that the trace produces the following:
    <feature>Majestic two-level Preserve Neighborhood
    Amenity Center</feature>
    <feature>Beautiful Gardens and Meandering
    Pathways</feature>
    <feature>Meeting Activity Room, Theatre Room, Gourmet
    Kitchen, Hearth Room, Grand Fireplace</feature>
    <feature>Decks and Patios</feature>
    <feature>Available to residents for parties, reunions,
    weddings, and meetings</feature>
    I don't want the tags, just what's inside them. Is there some
    property I need to use (something like prop.feature.contents) or am
    I going about this the wrong way entirely? I suppose I could
    restructure my XML file to put the contents of the feature tag in
    an attribute called description and then trace the attribute with
    prop.feature.@description, but I'd kind of like to know how to
    access the text inside the open and close of the tag. If I access
    one directly (something like myXML.amenity.(@id==num).feature[0])
    then it works just fine, I just can't seem to figure it out in a
    loop. I suppose I could increment a variable and do something like
    trace(myXML.amenity.(@id==num).feature[x]), but there must be a
    better way.

    Goodness sakes, that was a long post for a quick answer I
    just figured out:
    My loop should read like this:
    for each (var prop:String in xmlAmenity.feature) {
    trace (prop);
    The key was enumerating through each xmlAmenity.feature, not
    xmlAmenity. Of course, if there's a better way, I'm all
    ears...

  • COnfiguring Struts-config.xml file for two level popup windows?

    This is the code for 1st level
    <action path="/search/advanced" scope="request" parameter="method"
                   type="org.fao.gilw.agris.action.AdvancedSearchAction" name="advancedForm" validate="false">
                   <forward name="failed" path="/search/advanced.jsp" redirect="false"/>
                   <forward name="success" path="/search/advanced.jsp" redirect="false"/>
              </action>"search" is the main window, in this window I'm opening/loading a pop-up window called " advanced" ..the above code is for this
    Now again i want to pop-up another window in "advanced" page
    So how to configure for this in Struts-config.xml file...?

    Better post this question at a Struts related forum. There is a mailinglist at their own homepage and a forum at Nabble.com.

  • Configuration/Workspace/Designer.xml file missing

    My Designer.xml file is missing. Anyone know where can I find this?

    save the following to Designer.xml and move to C:\Program Files (x86)\Adobe\Adobe Flash CS4\Common\Configuration\Workspace
    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    <panelset>
      <application/>
      <document maximize="true" rect="0 0 500 500"/>
      <panelframe dock="left" height="801" width="282" x="0" y="12">
        <panelcontainer expanded="true" height="118" visible="true">
          <panel height="118" id="tools" unconstrainedheight="736" unconstrainedwidth="30" width="278"/>
        </panelcontainer>
        <panelcontainer expanded="true" height="637" visible="true">
          <panel height="637" id="droverproperties" unconstrainedheight="114" unconstrainedwidth="278" width="278"/>
        </panelcontainer>
      </panelframe>
      <panelframe dock="right" height="801" width="212" x="1" y="12">
        <panelcontainer expanded="true" height="350" visible="true">
          <panel column0id="1" column0width="230.00" column1id="2" column1width="230.00" column2id="3" column2width="70.00" column3id="4" column3width="135.00" column4id="5" column4width="70.00" filename="" height="350" id="droverlibrary" previewwithgrid="0" previewwithmoviebackground="1" sortasending="1" sortcolumn="1" splitter="0.34" unconstrainedheight="300" unconstrainedwidth="278" width="208"/>
        </panelcontainer>
        <panelcontainer expanded="true" height="114" visible="true">
          <panel height="114" id="align" unconstrainedheight="114" unconstrainedwidth="208" width="208"/>
          <panel height="114" id="info" unconstrainedheight="114" unconstrainedwidth="208" width="208"/>
          <panel height="114" id="transform" unconstrainedheight="114" unconstrainedwidth="208" width="208"/>
        </panelcontainer>
        <panelcontainer expanded="true" height="268" visible="true">
          <panel height="268" id="mixer" unconstrainedheight="268" unconstrainedwidth="208" width="208"/>
          <panel height="268" id="swatches" unconstrainedheight="268" unconstrainedwidth="208" width="208"/>
        </panelcontainer>
      </panelframe>
      <panelframe dock="top" height="146" width="543" x="0" y="0">
        <panelcontainer expanded="true" height="123" visible="true">
          <panel height="123" id="drovertimeline" isInLayerMode="false" unconstrainedheight="180" unconstrainedwidth="600" width="539"/>
          <panel height="123" id="keyframeeditor" unconstrainedheight="180" unconstrainedwidth="600" visibleTab="false" width="539"/>
          <panel height="123" id="output" unconstrainedheight="180" unconstrainedwidth="600" visibleTab="false" width="539"/>
          <panel height="123" id="compiler errors" unconstrainedheight="180" unconstrainedwidth="600" visibleTab="false" width="539"/>
        </panelcontainer>
      </panelframe>
    </panelset>

  • Traversing through xml file

    can anybody will tell me how can i access n print the particular node in xml file through DOM api in java(not DOMParser of XERCES)

    use utility classes like DOMwriter available with most of the parsers

  • Trouble looping through XML file

    I've got the following code which loops through an XML file. It works when there are multiple devices in the XML file and the COMPUTER node in the script includes [$i] but if only one device is in the network (thus only one in the XML file) then I have to
    remove the [$i]. What am I doing wrong to make it apply to both?
    $i = 0
    foreach ($COMPUTER in $settings.Settings.Setting.COMPUTERS.COMPUTER) {
    # IP for Computer
    $IPADDRESS = $settings.Settings.Setting.COMPUTERS.COMPUTER[$i].COMPUTERIP
    # Username for Computer
    $USERNAME = $settings.Settings.Setting.COMPUTERS.COMPUTER[$i].USERNAME
    # Credentials file
    $CREDFILE = $settings.Settings.Setting.COMPUTERS.COMPUTER[$i].CRED
    # Do things here using the variables declared above
    $i= $i+1
    } # Stop looping
    I should point out that I've changed the variable and XML names accordingly but the principle is the same.
    Thanks in advance

    Hi Bobbins,
    no, I just pasted that there so you can copy&paste it to the console and see the results. External XML sources are totally valid.
    To apply this to your initial script example, replace all instances of ...
    $settings.Settings.Setting.COMPUTERS.COMPUTER[$i]
    ... with ...
    $COMPUTER
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • Configure the persistence.xml file

    Hi experts,
    i want to develop a little JPA-Project in the NWDS 7.3. It was no problem to create entities but i dont know how to configure the persistence.xml-flie to get a connection to the database.? I use an Oracle database.
    Thanks in advance

    I solved the problem. I had no database connection.
    Edited by: jtrebess on Oct 13, 2011 9:28 AM

  • Configuring the config.xml file path

    Hi All,
    I am calling a startWebLogic script from another script as 'root'.When the other script calls the startWebLogic script it is reading config.xml path as /opt/bea/./config.xml and is giving errors.
    It is taking the default path as /opt/bea .Where should I specify the correct path.
    Thanks
    sandhya

    Better post this question at a Struts related forum. There is a mailinglist at their own homepage and a forum at Nabble.com.

  • Office 365 removal XML file

    I am trying to configure Office 365 xml files so I can import them into SCCM 2012 R2.  However, I am encountering an issue trying to get the Removal to complete.  It prompts if I am ready to remove, I click OK, and it goes through the 4 steps of
    removing Office, including shutting down the necessary programs.  After it runs it prompts that it has been removed, and recommends that I reboot the machine.  However after I reboot, Office 365 is still there, the following is what I have in my
    XML file.
    <Configuration>
    <Remove>
    <Product ID="O365ProPlusRetail" />
    <Logging Path="%temp%\O365ProPlusRetail\" />
    </Remove>
    <!-- <Display Level="None" /> -->
    </Configuration>
    I tried checking for the Log, but it does not exists, and for the time being I have the Display level commented out.
    The command in Powershell that i am running is:
    \\Server\share\setup.exe /configure \\Server\Share\remove.xml

    Hi,
    Could you please provide me the exact build number of your Office 365? I would like have a test with that build and see if it's an specific build issue.
    I remember it works for me on a certain build.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • AirPlay on Apple TV (2nd gen) and iPhone 4 (iOS 4.2.9).

    My iPhone 4 (Verizon) and Apple TV are up-to date on SW. When I try playing an iPod tune through AirPlay, the AirPlay icon "sees" the ATV and it's checked but no music comes out of the ATV. If I switch to my iPad on exactly the same network settings,

  • Stragg Function inside a Package

    Hi Experts, When i tried to use Stragg Function inside package, it throws error CREATE OR REPLACE PACKAGE PKG_TEST AS FUNCTION STRAGG(INPUT VARCHAR2) RETURN VARCHAR2; END PKG_TEST; CREATE OR REPLACE PACKAGE BODY PKG_TEST AS FUNCTION STRAGG (INPUT VAR

  • Calling a function in an external actionscript

    Hi. First of all I'd like to put my hands up and say that what I know about Flash is antiquated (I used to work with Flash 4 / 5), and have now been thrown into the deep end, as it were. I have an application that has a button component. In an extern

  • Itunes64.exe (itunes 10.3) - file wont run on my laptop!

    i have just got my new i7 laptop and saved itunes to my downloads and when i run as administrator it does nothing? please help!

  • Export sales under excise bond scenario

    Hi Experts, I have a query regarding export sales under excise bond, here my client is getting CT1 document and ARE3 document with material from customer and after doing job work they are sending back the material with ARE1 document to customer. As w