Tcl_eval failed inside

I am new in tcl programming. and  I have a question.
this sample tcl display me an error
Tcl_Eval failed inside
# test.tcl
# Script Version 1.0.1
# August 1999, Saravanan Shanmugham
# Copyright (c) 2011,
# All rights reserved.
# This tcl script mimics the default SESSION app
# If DID is configured, place the call to the dnis.
# Otherwise, output dial-tone and collect digits from the
# caller against the dial-plan.
# Then place the call. If successful, connect it up. Otherwise,
# the caller should hear a busy or congested signal.
# The main routine establishes the state machine and then exits.
# From then on, the system drives the state machine depending on the
# events it receives and calls the appropriate Tcl procedure.
proc init { } {
global param
set param(name) "test"
set param(number) "55555555555555"
init
requiredversion 2.0
# State Machine

Hi Angie,
thanks for your reply! :)
your given code example (that I already know) is JavaScript and it's the same like my code. To use this within Lightswitch (Client: Browser, Server: IIS) we have to use the Eval function. For this we put in into a one single line code to make it more
readable. But also the following full code doesn't work:
var csvContent='TestConent';var blob = new window.Blob([csvContent],{type: 'text/csv;charset=utf-8;'});window.navigator.msSaveOrOpenBlob(blob, 'Test.txt')
Using this within in the Eval function ...
Dispatchers.Main.BeginInvoke(Function()
HtmlPage.Window.Eval("var csvContent='TestConent';var blob = new window.Blob([csvContent],{type: 'text/csv;charset=utf-8;'});window.navigator.msSaveOrOpenBlob(blob, 'Test.txt')")
End Function)
... Ends with the same error.
What is the Problem?
Maybe there is another way to create and download a file within Lightswitch ....
Can you help?
BR
Flo

Similar Messages

  • Cluster Quorum Disk failing inside Guest cluster VMs in Hyper-V Cluster using Virtual Disk Sharing Windows Server 2012 R2

    Hi, I'm having a problem in a VM Guest cluster using Windows Server 2012 R2 and virtual disk sharing enabled. 
    It's a SQL 2012 cluster, which has around 10 vhdx disks shared this way. all the VHDX files are inside LUNs on a SAN. These LUNs are presented to all clustered members of the Windows Server 2012 R2 Hyper-V cluster, via Cluster Shared Volumes.
    Yesterday happened a very strange problem, both the Quorum Disk and the DTC disks got the information completetly erased. The vhdx disks themselves where there, but the info inside was gone.
    The SQL admin had to recreated both disks, but now we don't know if this issue was related to the virtualization platform or another event inside the cluster itself.
    Right now I'm seen this errors on one of the VM Guest:
     Log Name:      System
    Source:        Microsoft-Windows-FailoverClustering
    Date:          3/4/2014 11:54:55 AM
    Event ID:      1069
    Task Category: Resource Control Manager
    Level:         Error
    Keywords:      
    User:          SYSTEM
    Computer:      ServerDB02.domain.com
    Description:
    Cluster resource 'Quorum-HDD' of type 'Physical Disk' in clustered role 'Cluster Group' failed.
    Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster
    Manager or the Get-ClusterResource Windows PowerShell cmdlet.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-FailoverClustering" Guid="{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}" />
        <EventID>1069</EventID>
        <Version>1</Version>
        <Level>2</Level>
        <Task>3</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-03-04T17:54:55.498842300Z" />
        <EventRecordID>14140</EventRecordID>
        <Correlation />
        <Execution ProcessID="1684" ThreadID="2180" />
        <Channel>System</Channel>
        <Computer>ServerDB02.domain.com</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data Name="ResourceName">Quorum-HDD</Data>
        <Data Name="ResourceGroup">Cluster Group</Data>
        <Data Name="ResTypeDll">Physical Disk</Data>
      </EventData>
    </Event>
    Log Name:      System
    Source:        Microsoft-Windows-FailoverClustering
    Date:          3/4/2014 11:54:55 AM
    Event ID:      1558
    Task Category: Quorum Manager
    Level:         Warning
    Keywords:      
    User:          SYSTEM
    Computer:      ServerDB02.domain.com
    Description:
    The cluster service detected a problem with the witness resource. The witness resource will be failed over to another node within the cluster in an attempt to reestablish access to cluster configuration data.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-FailoverClustering" Guid="{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}" />
        <EventID>1558</EventID>
        <Version>0</Version>
        <Level>3</Level>
        <Task>42</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-03-04T17:54:55.498842300Z" />
        <EventRecordID>14139</EventRecordID>
        <Correlation />
        <Execution ProcessID="1684" ThreadID="2180" />
        <Channel>System</Channel>
        <Computer>ServerDB02.domain.com</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data Name="NodeName">ServerDB02</Data>
      </EventData>
    </Event>
    We don't know if this can happen again, what if this happens on disk with data?! We don't know if this is related to the virtual disk sharing technology or anything related to virtualization, but I'm asking here to find out if it is a possibility.
    Any ideas are appreciated.
    Thanks.
    Eduardo Rojas

    Hi,
    Please refer to the following link:
    http://blogs.technet.com/b/keithmayer/archive/2013/03/21/virtual-machine-guest-clustering-with-windows-server-2012-become-a-virtualization-expert-in-20-days-part-14-of-20.aspx#.Ux172HnxtNA
    Best Regards,
    Vincent Wu
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Acknowledgement from a BPE fails inside an IDoc to BPE-scenario

    Hi,
    we have PI/7.0 SPS 10.
    My scenario is quite simple: IDOC --> BPE (in XI) --> IDOC back to R3
    Everything works good ... besides the acknowledgements.
    I'm getting the error message
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_INV_SND_SERV</SAP:Code>
      <SAP:P1>IP_KVVKS_CONTRL</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to convert the sender service IP_KVVKS_CONTRL to an ALE logical system</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I know, that the integration process has no logical system - that's true!
    I know, that for "normal" IDocs sending from a BPE to SAP/R3, I can use a header mapping to enter a correct logical system.
    But how can I do it with acknowledgements. Inside the PE I wanna send a transport acknowledgement back to R3.
    Where can I enter a logical system for a BPE?
    I tried to enter the logical system in the "adapterspecific ident." of the BPE - but it's not possible to enter a logical system two times (the logical system was already in use).
    Afterwards I run the report IDX_NOALE to disable acknowledgements - works fine, but my boss wanna see the acknowledgements
    What can I do?
    Thank you all!
    regards
    Wolfgang Hummel

    Hi,
    There is an option in the Receiver IDOC adapter called,<b> Restore Original Parties For Idoc Acknowledgements</b> . Have not tried this, but I think this option wil be able to help you out.
    <i>Restoring Original Partners for Acknowledgments
    If you set the relevant indicator, the original partners from the IDoc request message are used for acknowledgments. This means you no longer have to maintain the alternative identifiers (for party conversion) in the Integration Directory.</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm
    Regards
    Bhavesh

  • Package Function Runs OK in Database but fails inside a Mapping

    Dear Forum,
    I am stuck with an Odd Problem. I have a package.function that calculates a value using another function PNV and uses this value to update a table named F_CONTAGENS. When I run the function in the database (using SQLDeveloper) the function calculates the value and updates the column NUM_PNV_2_ANOS in table F_CONTAGENS.
    No errors . But when I run the function inside an OWB Mapping, the function returns 'NULL' and do not update the table. What could be the problem?! The mapping that uses this function is very simple: Function is connected to an Auxiliar Table (with INSERT option) that receives the value returned by the function (in this case 1). Both function's package and the mapping were already deployed without errors to the database
    Here is the function I am using (COD_MES := 200702) :
    CURSOR C_CONT IS
    SELECT C.COD_USF,
    C.COD_MES
    FROM F_CONTAGENS C
    , STG_DATA_CARREGAMENTO STC
    WHERE C.COD_MES = STC.COD_MES
    AND ((C.COD_USF = STC.COD_CARREGAMENTO_USF AND STC.COD_CARREGAMENTO_USF IS NOT NULL) OR STC.COD_CARREGAMENTO_USF IS NULL);
    BEGIN
    FOR R_CONT IN C_CONT LOOP
    UPDATE F_CONTAGENS
    SET NUM_PNV_2_ANOS =
    (SELECT SUM(PNV)
    FROM (SELECT DECODE(F_PNV(COD_UTENTE,R_CONT.COD_USF,R_CONT.COD_MES,SUBSTR(R_CONT.COD_MES,1,4)), 'N', 0, 1) AS PNV
    FROM (SELECT DISTINCT COD_UTENTE
    FROM D_UTENTE
    WHERE DATA_NASC >= ADD_MONTHS(R_CONT.COD_MES||'01', -24)
    AND DATA_NASC <= ADD_MONTHS(last_day(R_CONT.COD_MES||'01'), -24)
    AND MES_UTENTE = R_CONT.COD_MES
    AND COD_USF = R_CONT.COD_USF))
    WHERE COD_USF = R_CONT.COD_USF
    AND COD_MES = R_CONT.COD_MES;
    COMMIT;
    END LOOP;
    RETURN 1;
    EXCEPTION
    WHEN OTHERS THEN
    NULL; -- enter any exception code here
    RETURN NULL;
    END;
    Is the OWB not synchronized with the DB? Does any of you alredy experienced this situation?
    Thank you very much for your attention,
    Pedro.

    HI Pedro,
    if your function returns null then some exception has occured.
    Do not catch the exception in your function, then you will see it when you run the mapping.
    Maybe you run the mapping using a different db user than when running it directly? In that case some grants will help.
    The exception will tell you the reason.
    Regards,
    Carsten.

  • DBMS_JOBS fails inside a DDL trigger when granting permissions to roles

    Hi,
    I have a DDL Trigger through which I am granting SELECT on newly created tables to existing read-only roles
    CREATE OR REPLACE TRIGGER DBADMIN.grant_permission_trigger
    AFTER CREATE
    ON DATABASE
    DECLARE
    v_owner dba_tables.owner%TYPE;
    v_role dba_roles.role%TYPE;
    v_object dba_tables.table_name%TYPE;
    v_object_type dba_objects.object_type%TYPE;
    n_temp_int INTEGER DEFAULT 0 ;
    l_job NUMBER;
    n_temp dba_tables.temporary%TYPE;
    BEGIN
    --selecting owner
    SELECT ora_dict_obj_owner INTO v_owner FROM DUAL;
    v_role := v_owner || '_S';
    --selecting table name
    SELECT ora_dict_obj_name INTO v_object FROM DUAL;
    SELECT ORA_DICT_OBJ_TYPE INTO v_object_type FROM DUAL;
    IF (v_object_type = 'TABLE')
    THEN
    SELECT COUNT (1)
    INTO n_temp_int
    FROM dba_roles
    WHERE role = v_role;
    -- if a role does not exist already, then create a role
    IF n_temp_int != 0
    THEN
    SELECT temporary
    INTO n_temp
    FROM dba_tables
    WHERE table_name = v_object;
    IF (n_temp = 'N')
    THEN
    DBMS_JOB.submit (
    job => l_job,
    what => 'BEGIN EXECUTE IMMEDIATE ''GRANT SELECT ON '
    || v_owner
    || '.'
    || v_object
    || ' TO '
    || v_role
    || '''; END;'
    END IF;
    END IF;
    END IF;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    NULL;
    END;
    I am executing this trigger as DBADMIN having the following explicit grants
    grant any object privilege
    SELECT ANY DICTIONARY
    The problem happens when someone creates a table in their procedure and drops it off at the end of the procedure, the JOB which is in the queue when it executes, it cannot find the table and the jobs are failing.
    I have given a check to see if its temporary. But still the jobs are failing. I am missing someting
    Can someone let me know what should be done? I have production issues which should be resolved.

    Hi,
    The problem happens when someone creates a table in their procedure and drops it off at the end of the procedure, the JOB which is in the queue when it executes, it cannot find the table and the jobs are failing.Seems more like this is the problem:
    SELECT temporary
    INTO n_temp
    FROM dba_tables
    WHERE table_name = v_object;If that would not throw NO_DATA_FOUND, there would be no need for the dbms_job.
    Seems safe to remove, you are not using n_temp and if it raises no_data_found you are doing nothing.
    Also, these are not necessary
    SELECT ora_dict_obj_owner INTO v_owner FROM DUAL;
    SELECT ora_dict_obj_name INTO v_object FROM DUAL;
    SELECT ORA_DICT_OBJ_TYPE INTO v_object_type FROM DUAL;You can use System Events in PL/SQL
    Why this comment?
    -- if a role does not exist already, then create a roleYou aren't trying to create a role.
    Regards
    Peter

  • Air app install fail in IE with Badge Installer Error # 2032

    Much has been written about this problem, and the most quoted solutions are
    Ensure the appurl FlashVar is not a relative url but fully qualified http://domain.com/app.air
    Uninstall and reinstall Air
    Empty browser's cache
    None of these have solved my issue and I still have a reproducible bug.
    I have set up a badge installer at http://tx.flamjam.com/mms/ which attempts to install appurl=http:/tx.flamjam.com/mms/MMSReview.air
    This works beautifully in OS X but fails in Windows with the error window,
    Sorry, an error has occurred.
    The application could not be installed. Try installing it again. If the problem persists, contact the application author.
    Error# 2032
    I've tested IE and Chrome, both updated to the most recent versions.
    When Air is not installed I get a slightly different error message, with no error number.
    The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author.
    With Air installed, if I instead visit the appurl directly in the browser — http:/tx.flamjam.com/mms/MMSReview.air —  the file downloads and installs without problem.
    To the best of my knowledge, the error is a generic stream error which essentially means that the appurl could not be found. To demonstrate this, simply use a fictitous appurl and now the same error can be seen on OS X as well. This implies that something is malforming the appurl withing the badge, but I have modified the status display text of the badge to display the appurl parsed from the LoaderInfo object containing FlashVars payload and can confirm that the appurl appears to be consistent between OS X and Win.
    Log file in next post.
    I'll continue digging for a solution, and post my findings here, but would value other's input on this subject greatly.

    An interesting development.
    When I monitor my network traffic using ServiceCapture I can see that no attempt is made to connect to the appurl, with the install failing instantly without even attempting to connect to the appurl.
    ServiceCapture on OS X confirms the attempt to connect to the appurl even if the url is deliberately fictitous resulting in a 404 response.
    The badge begins the installation process using the installApplication method of the following file
    http://airdownload.adobe.com/air/browserapi/air.swf
    which the badge loads on startup.
    It would appear to me that the installation problem is failing inside that loaded swf's code, but I'm at a loss as to how to debug that.

  • URLConnection POST to external server requiring keep-alive fails because request is HTTP/1.0

              I have a class that when run as a "main" transmits a HTTP/1.1 post successfully
              to an external server. This external server requires keep-alive connections.
              However when instantiated inside a weblogic servlet container, the post fails
              because the HTTP protocol is set to HTTP/1.0. I have tried this with V5.1 SP11
              and then with V6.1 SP2 with the same result. The code works under Tomcat.
              I can find no way to force HTTP/1.1 in the URLConnection. Any suggestions?
              

    Great. I have a question to BEA folks, if they ever read this newsgroup:
              what is the reason for installing WLS protocol handlers, and, if there is
              one, why the implementation is still buggy? I saw many, many instances when
              code making outgoing connections failed to work in WLS, and the solution is
              always the same - use handler which comes with the JVM.
              Bob Bowman <[email protected]> wrote:
              > <[email protected]> wrote:
              >>If it works as a standalone application and fails inside WebLogic, most
              >>likely this
              >>is caused by WebLogic http handler implementation. You can try to modify
              >>your code
              >>like this:
              >>
              >>URL url = new URL(null, "http://some_url", new sun.net.www.protocol.http.Handler());
              >>HttpURLConnection conn = (HttpURLConnection)url.openConnection();
              >>
              >>(you will need to modify weblogic.policy to allow your code to specify
              >>protocol
              >>handler).
              >>
              >>Bob Bowman <[email protected]> wrote:
              >>
              >>> I have a class that when run as a "main" transmits a HTTP/1.1 post
              >>successfully
              >>> to an external server. This external server requires keep-alive connections.
              >>> However when instantiated inside a weblogic servlet container, the
              >>post fails
              >>> because the HTTP protocol is set to HTTP/1.0. I have tried this with
              >>V5.1 SP11
              >>> and then with V6.1 SP2 with the same result. The code works under
              >>Tomcat.
              >>
              >>> I can find no way to force HTTP/1.1 in the URLConnection. Any suggestions?
              >>
              >>--
              >>Dimitri
              > Worked like a champ! Thanks.
              Dimitri
              

  • MediaElement is silently failing

    Does anyone know of a way of getting diagnostic information from a MediaElement?
    On Windows 8 Pro RTM, I can't get MediaElement to play any video files whatsoever. There are no exceptions. It just does nothing beyond set the status to Opening, and then... nothing! No errors, no playback, nada.
    I've tried the Video app - doesn't work.
    I've tried the SDK sample - doesn't work.
    I've tried my own code - doesn't work.
    Note that Windows Media Player - and Silverlight - will happily play back the videos.
    So how do I diagnose the problem when there's no exception to work with? Anyone got any ideas?

    OK, problem solved.
    Clearly, the Bootcamp video driver for the MacBook Pro Retina display is not something that the WinRT media components like. Clearly, it is dying in some fashion when it tries to decode media, which is not being reported back to the app.
    Now this is pretty poor... apps need to know when internal WinRT components fail.
    The solution in this case was to update the drivers to the latest set from nVidia. But someone, somewhere needs to ensure that when things fail inside the WinRT, it gets reported to the app.

  • Test fails during build - flex-pmd-ruleset

    Hi, I have followed the developer documentation for how to build the project, on step 7 it fails because the following tests are failing inside flex-pmd-ruleset:
    Failed tests:
      testProcessViolatingFiles(com.adobe.ac.pmd.rules.unused.UnusedLocalVariableRuleTest)
      testBuildMessageName(com.adobe.ac.pmd.rules.core.EmptyRuleTest)
      testProcessViolatingFiles(com.adobe.ac.pmd.rules.naming.WronglyNamedVariableRuleTest)
      testProcessViolatingFiles(com.adobe.ac.pmd.rules.unused.UnusedPrivateMethodRuleTest)
    Tests run: 219, Failures: 4, Errors: 0, Skipped: 0
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] There are test failures.
    I'm not sure how to fix these failures, any clues as what the problem may be? I ran "mvn package" from the flex-pmd-parent from the command line.
    TIA,
    Magnus

    Thanks, I got past that. Unfortunately I am still having a problem comiling the PMD Flex Lib, I get these errors:
    [ERROR] C:\MyProgramming\Flex\FlexPMD\src\flex-pmd-flex-lib\src\main\flex\Version.as:[1,1] Definition __AS3__.vec:Vector
    could not be found.package{ public class Version { public static const BUILD_NUMBER : String = '1.0.RC4-SNAPSHOT'; publ
    ic static const BUILD_TIME : String = '08:56:45'; public static const BUILD_DATE : String = '2009-09-16'; }}
    [ERROR] C:\MyProgramming\Flex\FlexPMD\src\flex-pmd-flex-lib\src\main\flex\Version.as:[1,1] Definition __AS3__.vec:Vector
    could not be found.package{ public class Version { public static const BUILD_NUMBER : String = '1.0.RC4-SNAPSHOT'; publ
    ic static const BUILD_TIME : String = '08:56:45'; public static const BUILD_DATE : String = '2009-09-16'; }}
    [ERROR] C:\MyProgramming\Flex\FlexPMD\src\flex-pmd-flex-lib\src\main\flex\com\adobe\ac\model\IDom ainModel.as:[1,1] Defin
    ition __AS3__.vec:Vector could not be found./**
    [ERROR] C:\MyProgramming\Flex\FlexPMD\src\flex-pmd-flex-lib\src\main\flex\com\adobe\ac\model\IDom ainModel.as:[1,1] Defin
    ition __AS3__.vec:Vector could not be found./**
    [ERROR] C:\MyProgramming\Flex\FlexPMD\src\flex-pmd-flex-lib\src\main\flex\com\adobe\ac\model\IPre sentationModel.as:[1,1]
    Definition __AS3__.vec:Vector could not be found./**
    [ERROR] C:\MyProgramming\Flex\FlexPMD\src\flex-pmd-flex-lib\src\main\flex\com\adobe\ac\model\IPre sentationModel.as:[1,1]
    Definition __AS3__.vec:Vector could not be found./**
    [ERROR] C:\MyProgramming\Flex\FlexPMD\src\flex-pmd-flex-lib\src\main\flex\com\adobe\ac\pmd\model\ ViolationPriority.as:[1
    ,1] Definition __AS3__.vec:Vector could not be found./**
    [ERROR] C:\MyProgramming\Flex\FlexPMD\src\flex-pmd-flex-lib\src\main\flex\com\adobe\ac\pmd\model\ ViolationPriority.as:[1
    ,1] Definition __AS3__.vec:Vector could not be found./**
    [ERROR] C:\MyProgramming\Flex\FlexPMD\src\flex-pmd-flex-lib\src\main\flex\com\adobe\ac\pmd\contro l\events\GetRulesetCont
    entEvent.as:[1,1] Definition __AS3__.vec:Vector could not be found./**
    [ERROR] C:\MyProgramming\Flex\FlexPMD\src\flex-pmd-flex-lib\src\main\flex\com\adobe\ac\pmd\contro l\events\GetRulesetCont
    entEvent.as:[1,1] Definition __AS3__.vec:Vector could not be found./**
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Error compiling!
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1 minute 42 seconds
    [INFO] Finished at: Wed Sep 16 08:56:47 CDT 2009
    [INFO] Final Memory: 42M/508M
    [INFO] ------------------------------------------------------------------------
    Any ideas?
    TIA,
    Magnus

  • Localization Failed in CAF service

    Hi
    I have created one CAF app service and converted it to a webservice. When I test the service from wsnavigator with incorrect inputs it sends back following  SOAP fault message.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Client</faultcode>
    <faultstring><Localization failed: ResourceBundle='com.sap.caf.rt.resources.CAFExceptionResources', ID='Airport with code JKK unknown; Errors occurred', Arguments: []></faultstring>
    <detail>
    <ns1:getListOfFlights_R_com.sap.caf.rt.exception.ServiceException xmlns:ns1='urn:GetFlightWSWsd/GetFlightWSVi'></ns1:getListOfFlights_R_com.sap.caf.rt.exception.ServiceException>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I am not sure why it is giving Localization failed inside the faultstring tag. Any clue on this? What is required to be done to get the exact msg from backend.
    Thanks in advance
    Sudip

    Sudip,
    you may safely ignore the message. The reason is that particular service throws an exception with a text "'Airport with code JKK unknown; Errors occurred'. For every CAF exception  CAF will try to get a localized text. Since this text is not stored in a resource bundle next Localization exception occurs.
    Hope this helps, Pavel

  • Localization failed error in web service

    Hi
    I have created one CAF app service and converted it to a webservice. When I test the service from wsnavigator with incorrect inputs it sends back following  SOAP fault message.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Client</faultcode>
    <faultstring><Localization failed: ResourceBundle='com.sap.caf.rt.resources.CAFExceptionResources', ID='Airport with code JKK unknown; Errors occurred', Arguments: []></faultstring>
    <detail>
    <ns1:getListOfFlights_R_com.sap.caf.rt.exception.ServiceException xmlns:ns1='urn:GetFlightWSWsd/GetFlightWSVi'></ns1:getListOfFlights_R_com.sap.caf.rt.exception.ServiceException>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I am not sure why it is giving Localization failed inside the faultstring tag. Any clue on this? What is required to be done to get the exact msg from backend.
    Thanks in advance
    Sudip

    hi,
    try to give the correct data and then execute this and see if the same error occurs again or not. I think this is the data issue which you are providing to your webservice.
    also here is the elements of fault message
    Fault:
    This element indicates an error message. It should appear as a body entry and must not appear more than once within a Body element. Normally, the Fault element will appear in a SOAP response message to indicate that there was something wrong with the SOAP request.
    Sub elements of Fault:
    faultcode (identification of fault)
    faultstring (description of fault)
    faultactor (identifies who caused this fault)
    detail (detail of the error. It is normally an application specific error, that is, it corresponds to user-defined namespace that was used in the body of a SOAP request)
    as per my understanding the fault actor is missing in your above message. try to find out the fault actor and i think then you will be able to identify the problem.
    Hope this will help you identifying the problem.
    Regards
    Sumit Bhutani

  • Foreach loop, containers and transaction settings and continuing a loop even if a task fails

    I have a foreach loop and a container inside that.  Inside the container are a bunch of tasks.  When one of these tasks fail, I want it to fail the parent container, but not the loop or the package.  
    The package will be run from a sql agent job.  Right now, the package works, but when a task fails inside the container, the sql agent job stops with failure.  I want it to continue unless one of the tasks OUTSIDE of the loop or container fail.
    Am I correct to say that since the foreach loop is the parent of the container, and as long as the foreach loop doesnt fail, the package should continue?

    Hi Shiftbit,
    Yes, the failure of the Script Task will fail the Sequence Container, the Foreach Loop Container as well as the package even though you have set the FailParentOnFailure and the FailPackageOnFailure properties to False. That’s because the package implicitly
    uses Event Handlers to control the failure propagation even though we didn’t add any Event Handlers explicitly. So, if you don’t want the failure of the Script Task to affect its containers and the entire package, you should add an empty OnError Event Handler
    for the Script Task, and then set the value of the System Variable Propagate of the Event Handlers to False.
    If you don’t want the other tasks in the Sequence Container fail the Loop container as well, you don’t need to repeat the operations on each task, instead, you only need to do the same on the Sequence Container.
    References:
    http://agilebi.com/jwelch/2008/06/29/continuing-a-loop-after-an-error/#comment-57484
    http://www.toadworld.com/platforms/sql-server/b/weblog/archive/2013/08/09/ssis-logging-and-event-propagation.aspx
    Regards,
    Mike Yin
    TechNet Community Support

  • Supplier Open Interface Import is not working

    Hi,
    I am trying to load Suppliers through AP_SUPPLIERS_INT table using Supplier Open Interface Import but it is error.
    I applied the patch 11821347 which have made the version of the files as below
    /* $Header: appvapib.pls 115.110 2011/02/18 06:15:15 zrehman noship $ */
    /* $Header: appvapis.pls 115.35 2011/02/18 06:13:22 zrehman noship $ */
    V$Header: APXSUIMP.rdf 115.1 2004/02/19 12:08 pjena
    Below is the view log
    Payables: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    APXSUIMP module: Supplier Open Interface Import
    Current system time is 20-OCT-2011 15:58:16
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_WHAT_TO_IMPORT='NEW'
    P_COMMIT_SIZE='1000'
    P_PRINT_EXCEPTIONS='N'
    P_DEBUG_SWITCH='N'
    P_TRACE_SWITCH='N'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.WE8ISO8859P1
    REP-1419: 'beforereport': PL/SQL program aborted.
    Report Builder: Release 6.0.8.27.0 - Production on Thu Oct 20 15:58:17 2011
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    Total Number of Records processed:1
    After call to Validation1
    Success Records in this batch:1
    Failure Records in this batch:0
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 19989548.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 20-OCT-2011 15:58:27
    Can someone help me please.
    Regards
    Dev

    Hi,
    I have tried running all these options, but still it is failing.
    Below is the log if I change the parameter values. It is failing inside the main procedure "AP_PO_VENDORS_APIS_PKG.insert_new_vendor" . Could not find out why it is failing. Please help me
    Arguments
    P_WHAT_TO_IMPORT='NEW'
    P_COMMIT_SIZE='1000'
    P_PRINT_EXCEPTIONS='Y'
    P_DEBUG_SWITCH='Y'
    P_TRACE_SWITCH='Y'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.WE8ISO8859P1
    MSG-00001: After SRWINIT
    MSG-00002: After Get_Company_Name
    MSG-00003: After Get_NLS_Strings
    REP-1419: 'beforereport': PL/SQL program aborted.
    Report Builder: Release 6.0.8.27.0 - Production on Thu Oct 20 16:47:18 2011
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    Total Number of Records processed:1
    After call to Validation1
    Success Records in this batch:1
    Failure Records in this batch:0
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 19989614.
    Review your concurrent request log and/or report output file for more detailed information.
    Regards
    Dev

  • MacBook Pro 15-inch Early 2011 vs MacBook Air 13-inch 2013

         Hello. I currently own a MacBook Pro 15-inch, early 2011 model. It has 8 GB of RAM, a quad-core, 2.3 GHz i7 processor, hi-res, anti-glare display, an AMD 6750m and Intel HD 3000. I bought it off of an Apple product store on Ebay about 3 and a half months ago. It was 1,350$. It was in perfect condition when I bought it, and it still is. I'm really into producing music, and I use Reason 6.5. I also do some other small things on my laptop, like word-processing, web-browsing and I bring it to school everyday. I was wandering if I should sell this laptop on Ebay, and buy a brand-new Macbook Air, 13-inch, 2013 model. The laptop is a little thick and heavy, and its battery-life is nothing compared to the MacBook Air. I really value battery-life I would probably upgrade the RAM to 8 gigs, and maybe upgrade the processor to 1.7 GHz, maybe upgrade the SSD to 256, but I might not. I was wandering if this would be a good idea. How much would I be able to sell this laptop for on Ebay? Is the MacBook Air weaker or stronger than the laptop I am using now? Screen real estate is something that matters a lot when using a music program, which is why I initially went for this laptop. Now, since the MacBook Air is smaller, I know that it displays just as much as this laptop does, so I don't think that the screen size would be that big of a problem. I am thinking about saving up for a 27-inch iMac, which would then be my primary machine, but if I were able to buy one, it wouldn't be for awhile. Anyways, Thanks to anybody who can help me! 

    Sky Sailing
    Is the MacBook Air weaker or stronger than the laptop I am using now
    Its stronger in alloy form factor, slim design with only ONE moving part, no HD to crash from mechanical failure of impact etc.
    Ive got an Imac and current Air, and owned several Air, the air is the hands down choice for myself and I wouldnt part with it for any amount of money.  Also own a couple macbook Pro, new and older one i rebuilt.
    Here is an excellent video comparison between the 11” I5 vs. I7 2013 Macbook Air.
    http://www.apple-tubes.com/apple-macbook-air-11-mid-2013-haswell-i5-vs-i7-compar ison/
    http://www.anandtech.com/show/7113/2013-macbook-air-core-i5-4250u-vs-core-i7-465 0u/2
    I5 vs. I7 performance 13” Macbook Air 2013
    Boot performance
    11.7 I5 ……11.4 I7
      Cinebench 
    1.1 I5….1.41 I7
    IMovie Import and Opt.
    6.69 I5….5.35 I7
      IMovie Export 
    10.33 I5…8.20 I7
    Final Cut Pro X
    21.47 I5…17.71 I7
      Adobe Lightroom 3 Export 
    25.8 I5….31.8 I7
    Adobe Photoshop CS5 Performance
    27.3 I5…22.6 I7
    Macbook Air:
    Only one moving part, ultrafast boot time SSD, the full power of laptop with the weight of an Ipad (close).
    Air is the only Mac that has Haswell, 802ac wifi, and incredible 12hr. batt life in 13" I5. HOWEVER NOW the new Pro have 802ac wifi
    Recommend buying the Air with 8gig Ram.
    Pack around a regular laptop around about 20 days, then an Air, .....after that the standard laptops stays at home.    
    Only one moving part, the fan. No moving HD heads to crash or moving platters.  Runs a LOT cooler than anything else out there (which = durability).  Heater is a killer on a scale of 10X over that of accidents.
    Also the AIR has far fewer parts to fail inside than a standard laptop.  Really only a few replacement parts
    The speakers on the Air, contrary to what most people would assume, are much louder than on the macbook Pro.
    The Air in general is faster due to the SSD, also if you have a 802ac Router (i.e. Airport Extreme) then the Air over wifi is a LOT faster.
    If youre going to be dragging a notebook around campus all the time, the Air makes things a lot more lovely.
    The FINAL consideration of course is your application USE, and needs regarding same (see specs and video above)
    The new Air, NOW with Mavericks is just 'king of the hill'. Nothing touches it

  • ADF Security unable to run/deploy

    Hi all,
    I want to use ADF Security in my new project, so I created an simple test application in my JDeveloper 11g R1.
    What I have done is simple, I created a new application using Fusion Web Application Template, and then I run the Config ADF Security Wizard from Application->Secure menu. In the wizard, I selected generate default login page, and welcome page. Then I try to run the login.html.
    But I failed with the following error messages, can anybody help me?
    Thanks in advanced.
    2009年11月16日 下午02:13:17 oracle.mds.internal.lcm.logging.MDSLCMLogger info
    資訊: Application ID : wsm-pm
    2009年11月16日 下午02:13:17 oracle.mds.internal.lcm.logging.MDSLCMLogger info
    資訊: "Metadata Services: Metadata archive (MAR) not found."
    <2009年11月16日 下午02時13分37秒 CST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\itssdu10\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <2009年11月16日 下午02時13分37秒 CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\itssdu10\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00001. Log messages will continue to be logged in C:\Documents and Settings\itssdu10\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <2009年11月16日 下午02時13分37秒 CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    2009年11月16日 下午02:13:38 oracle.wsm.audit.Auditor <init>
    資訊: Created J2EE application auditor for componentType=oracle.security.jps.internal.audit.AuditServiceImpl$Auditor@95c8c2
    2009年11月16日 下午02:13:38 oracle.adf.share.config.ADFConfigFactory getInstance
    資訊: ADF Config instance implementation in use is : oracle.adf.share.config.MDSConfigFactory
    2009年11月16日 下午02:13:41 oracle.adf.share.config.ADFMDSConfig parseADFConfiguration
    資訊: Configuration file:/META-INF/adf-config.xmlcannot not be read by MDS. Reading directly from the classpath
    <2009年11月16日 下午02時13分42秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <2009年11月16日 下午02時13分42秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <2009年11月16日 下午02時13分42秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <2009年11月16日 下午02時13分42秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.16.127.167:7101 for protocols iiop, t3, ldap, snmp, http.>
    <2009年11月16日 下午02時13分42秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <2009年11月16日 下午02時13分42秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <2009年11月16日 下午02時13分42秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    DefaultServer startup time: 53578 ms.
    DefaultServer started.
    [Running application TestLogin on Server Instance DefaultServer...]
    <2009年11月16日 下午02時13分49秒 CST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application TestLogin is not versioned.>
    2009年11月16日 下午02:13:49 oracle.mds.internal.lcm.logging.MDSLCMLogger info
    資訊: Application ID : TestLogin
    2009年11月16日 下午02:13:49 oracle.mds.internal.lcm.logging.MDSLCMLogger info
    資訊: "Metadata Services: Metadata archive (MAR) not found."
    2009年11月16日 下午02:13:49 JpsApplicationLifecycleListener Policy Migration
    資訊: Application [TestLogin] is being deployed, start policy migration with jps.policystore.migration set to OVERWRITE.
    2009年11月16日 下午02:13:49 JpsApplicationLifecycleListener Policy Migration
    資訊: Application policy migration for [TestLogin] is completed successfully.
    2009年11月16日 下午02:13:50 JpsApplicationLifecycleListener Policy Migration
    資訊: Codebase policy migration for [TestLogin] is completed successfully.
    <2009年11月16日 下午02時13分50秒 CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1258352028648' for task '0'. Error is: 'java.lang.NullPointerException'
    java.lang.NullPointerException
         at oracle.security.pki.l.c(Unknown Source)
         at oracle.security.pki.l.b(Unknown Source)
         at oracle.security.pki.OracleSSOKeyStoreSpi.engineLoad(Unknown Source)
         at oracle.security.pki.OracleSecretStore.load(Unknown Source)
         at oracle.security.pki.OracleWallet.getSecretStore(Unknown Source)
         Truncated. see log file for complete stacktrace
    java.lang.NullPointerException
         at oracle.security.pki.l.c(Unknown Source)
         at oracle.security.pki.l.b(Unknown Source)
         at oracle.security.pki.OracleSSOKeyStoreSpi.engineLoad(Unknown Source)
         at oracle.security.pki.OracleSecretStore.load(Unknown Source)
         at oracle.security.pki.OracleWallet.getSecretStore(Unknown Source)
         Truncated. see log file for complete stacktrace
    >
    <2009年11月16日 下午02時13分50秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'TestLogin'.>
    <2009年11月16日 下午02時13分50秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    java.lang.NullPointerException
         at oracle.security.pki.l.c(Unknown Source)
         at oracle.security.pki.l.b(Unknown Source)
         at oracle.security.pki.OracleSSOKeyStoreSpi.engineLoad(Unknown Source)
         at oracle.security.pki.OracleSecretStore.load(Unknown Source)
         at oracle.security.pki.OracleWallet.getSecretStore(Unknown Source)
         Truncated. see log file for complete stacktrace
    java.lang.NullPointerException
         at oracle.security.pki.l.c(Unknown Source)
         at oracle.security.pki.l.b(Unknown Source)
         at oracle.security.pki.OracleSSOKeyStoreSpi.engineLoad(Unknown Source)
         at oracle.security.pki.OracleSecretStore.load(Unknown Source)
         at oracle.security.pki.OracleWallet.getSecretStore(Unknown Source)
         Truncated. see log file for complete stacktrace
    >
    [02:13:50 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException
    [02:13:50 PM] See server logs or server console for more details.
    [02:13:50 PM] #### Deployment incomplete. ####
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:341)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:235)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$6$1.run(AdrsStarter.java:1469)
    Caused by: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:483)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:332)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:465)
         ... 12 more
    #### Cannot run application TestLogin due to error deploying to DefaultServer.
    [Application TestLogin stopped and undeployed from Server Instance DefaultServer]
    Samson Fu

    I found the deployment was failed inside JDeveloper from the error message, so the application is not able to run from JDeveloper. I don't understand why JDeveloper unable to run the application that generate by the build-in wizard. I've tried to reinstall my JDeveloper 11g, but still cannot have it work.
    Regards,
    Samson Fu

Maybe you are looking for

  • Ipod Touch 5th Generation has songs on it that are not mine

    When my "Show All Music" setting is toggled to ON, my Ipod Touch 5th Generation will have several songs I don't own or recognize that is mixed in with my music. These songs are not downloaded to my device, but somehow the Cloud thinks that I own them

  • Adding a Date/Time stamp to videos already created

    We have someone using Elemets 8 They need to add in the date/time stamp to video's that are already created. The camcorder we have does record this information but doesn't allow that information to be put onto the screen its a Canon HD HF200 We were

  • How to set default services in cc.xml

    Hi, When deploying a repository manager, I can set the default services in a co.xml by setting <property name="services" value="properties,feedback,layout"/>. But how can I set the default values for services in cc.xml? I tried <attribute name="servi

  • QuickTime 7.1.3 and Group Policey

    I have been trying to get the new version to push to my windows XP workstations from my windows server 2003 AD group policies. First I have got it to install but the Language is set for something like Chinese or something. I unfortunately need to be

  • DTP in background

    I'd like to know if in 7.X is possibile to schedule a DTP in background. We'd like to execute a specific DTP this evening at 9:00 pm, we know we can create a process chain and schedule it and thst's fine but can we schedule a single DTP in a specific