Application Engine and Markets

Does anyone know how Application Engine chooses which market to execute?
On each section in an Application Engine program, the developer can choose to limit a section to a specific database platform or a specific market. PeopleBooks documents how it chooses which section to execute when multiple sections exist. Most of the time, I just leave the platform as default and the market as GBL, and I never have had to worry about it.
Understanding how the Application Engine chooses based on the database platform is easy: one of the options on the command-line tells it which platform to connect. But, what about the market? PeopleBooks does not document a command-line option that passes the market to psae.exe. I originally thought it would use the market from the run control component, but I don't understand how psae.exe knows. Does the market only apply to Application Engine programs run online and not through process scheduler?

the log is :
PSAESRV.496 (84) [12/28/11 ](0) Exception Code=c0000005; access violation (the memory at 0x0209d000 could not be read)
PSAESRV.496 (84) [12/28/11 ](0) Fault address=77bd8fa7 0001:00037fa7 C:\WINDOWS\system32\MSVCRT.dll
PSAESRV.496 (84) [12/28/11 ](0)
PSAESRV.496 (84) [12/28/11 ](0) Windows Operating Environment:
PSAESRV.496 (84) [12/28/11 ](0) OS Version: Windows Server 2003 Standard Edition v5.2 (Build 3790: Service Pack 2)
PSAESRV.496 (84) [12/28/11 ](0) User Account: NT AUTHORITY\SYSTEM
PSAESRV.496 (84) [12/28/11 ](0) Desktop: WinSta0\Default
PSAESRV.496 (84) [12/28/11 ](0) OS Parms: %SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16
PSAESRV.496 (84) [12/28/11 ](0) Memory status (MB available/MB total): Physical 2489/3711; PageFile 4690/5603; Virtual 1933/2047
PSAESRV.496 (84) [12/28/11 ](0) Current Service=RunAeAsync1; Return code=0; Ok=True
PSAESRV.496 (84) [12/28/11 ](0) ==================================================================================
PSAESRV.496 (84) [12/28/11 ](0) Assertion (!nSqlRecurse) Failed at e:\pt84504b-retail\peopletools\SRC\pssys\samlib.cpp, line 2012.
Thanks,
Balu

Similar Messages

  • Sqr vs application engine

    hi all,
    I have a question. i knew that application engine and sqr has it's own advantages.
    i want to know which is faster. let us say we have to write a program which will have large number of database trips.
    please suggest me which one i choose to get the faster results.
    Thank you.

    @user629988, generally speaking, PL/SQL runs faster than SQR or AE. If you have to create an output file, however, then you are probably better off using an SQR or AppEngine over PL/SQL. Yes, you can create output files with PL/SQL, but it will be easier if you use SQR or AE.
    Row by row processing doesn't optimize well. Set based processing has potential to be much more efficient. Perhaps you can collect some of the data for the 20 different SQL's into stage tables, and then run the SQL statements against sets rather than per row?
    As far as PL/SQL constructs, etc, it could be as simple as straight SQL that selects from your run control record. I would put the PL/SQL in a package. From AE, you launch PL/SQL using
    %Execute(/)
    begin;
    --call PL/SQL routine
    end;
    In SQR, you just end statements with two semi-colons ;;
    begin;;
    --call PL/SQL routine
    end;;

  • Can the runtine engine and an application be run directly from a CD?

    Can an application be run directly from a CD without installing the runtime engine and application onto the computer?

    It depends on what library functions the application is using and what version of LabVIEW it was built in. In LV 7 and earlier you could just put the run-time files (the ones in Program Files\National Instruments\Shared\LabVIEW Run-Time...(lvrt.dll is the most crucial of the files, a full list can be found here on the developer zone)) in the same folder as the application and it would run without any problems in most cases.  
    In 7.1/7.1.1 math functions had to be installed as well if you had used any of those and could be a problem, otherwise it still worked (we do this still with apps that use serpdrv instead of VISA).
    With LV8 it is still possible, but the chance of the application depending on some function that you do not get included this way is much higher, I would just test it and see how it goes.
    MTO

  • XML Publisher and Application Engine in Peoplesoft

    How do i write a simple application engine program for an XML Publisher report in Peoplesoft?
    Thanks in advance.
    Message was edited by:
    user611481

    Create sample output data in xml format and create a data source type rowset.
    create the report defination with above data source.
    Create a AE and create the rowset by using peoplecode, run the xmlp report by using PeopleCode and publish it in PeopleCode.

  • Labview 8 Application Builder and VISA Runtime Engine

    Hi,
    I am using Labview 8 Application Builder and everything is working fine except for 1 small thing. My program makes use of some of the VISA functions and when I build the application I'm having to include the VISA Runtime Engine Installer as a separate item on the CD to make the .exe file work.
    What I would ideally like is for people who want to use the application to run the installer and that all necessary components (including the VISA Runtime Engine) are also installed in the one installation. At the moment they're having to do 2 installations and I would like to streamline this.
    Is this possible?
    Ken

    Hi,
      this How-To explains about making those selections and including the different drivers :
    http://zone.ni.com/reference/en-XX/help/371361A-01/lvhowto/add_installers_to_build/
    and this tutorial covers the screenshots a little more step by step.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/5ADBC06AC32E508A8625706E0062EBD1
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer

  • Hi everyone!  I turned on my computer the other day and the icon for Safari was missing from my dock.  I looked in the applications folder and it is no longer there.  Does anyone know how I can get safari if I have no internet search engine?

    Hi everyone!  I turned on my computer the other day and the icon for Safari was missing from my dock.  I looked in the applications folder and it is no longer there.  Does anyone know how I can get safari if I have no internet search engine?  I

    Safari 5.0.6 for Leopard can be downloaded from here:
    http://support.apple.com/kb/DL1422
    Does anyone know how I can get safari if I have no internet search engine?
    How did you post here?

  • Disable restart and state record in Application Engine

    Hi All,
    can any one explain me elaborately about disable restart check box in advanced properties of an ae program ? What s the relation for this check box with state record of types i.e sql table or derived work record

    When you set the application engine to enable restart your state record needs to be a database record, so that the application eninge can continue where it left off with all values in the state record on that state.
    When you set the application engine to disable restart your state record can be a work record, because the application engine will always restart from the beginning, not using any variables from the staterecord.

  • SUPPORT APPLICATION ENGINEERING POSITION based in Atlanta

    Averna at a glance:
    Averna delivers industry-leading test solutions and services for communications and electronics device makers worldwide, accelerating product development, quality and innovation.
    Be global@work: Serve international customers and collaborate with colleagues in Canada, the U.S., Mexico, Japan and Hungary.
    Drive innovation@work: Participate in the development of market-leading high-tech products in the telecom, transportation, electronics and multimedia sectors.
    Develop your talent@work: Contribute to thrilling projects that will stretch your skills and talent to the maximum.
    Enjoy success@work: Be part of a fast-growing company with award-winning products and team.
    Share your passion@work: Meet passionate people, enjoy our modern environment and dynamic atmosphere.
    The challenge of the Support Application Engineering position:
    The Support Application Engineering position is responsible for customer technical support and some development activities. The chosen candidate will:
    Develop a deep and broad understanding of Averna tools and products;
    Use the in-house tools to track customer requests;
    Take ownership of problems and see them through to successful resolution;
    Be called to travel about 30% to 50 % of the time.
    Duties and responsibilities:
    Provide primarily first and second tier remote customer support, troubleshooting and solutions for existing customers;
    Diagnose, De-Bug and fix less complicated bugs using but not limited to LabVIEW, TestStand, C, C++,  and/or VHDL;
    Work with senior developers to identify and resolve complicated technical software problems, and some hardware problems;
    Become an Expert User for the Jupiter and Mercury Platform;
    Involved in developing new features and tools;
    Document frequent issues into scripted processes; create FAQ;
    Document required bug fixes, end-user feature improvements, and operations feature improvements;
    Troubleshoot problems and solve the incidents through a methodical and process based approach;
    Reproduce errors reported by clients and escalate to R&D by providing a narrowed down list of possible causes;
    Analyze recurring problems and suggest improvements to Peers in the R&D and Services teams
    Provide thorough root cause analysis to Customers;
    Document troubleshooting flowcharts based on real life scenarios;
    Commit and contribute to a high level customer satisfaction by providing best in class Support and Service;
    Occasional week night or weekend work is required to support customer from different time zones and with urgent requests (approx. 15% of the time).
    Qualifications:
    Bachelor degree in computer science, electrical engineering or computer engineering;
    2-5 years experience solving deployment and support issues is an asset;
    Experience with RF is required; DOCSIS experience is a strong asset;
    Good general computer knowledge (e.g. Windows, TCP/IP networking, FTP) with a strong aptitude for problem solving;
    Experience in software engineering for test platforms or real-time software engineering;
    Able to read engineering design documentation (mechanical, electrical or software);
    Knowledge of broadband and telecommunication industries is an asset;
    Practical experience with LabVIEW, TestStand, TCL programming is an asset;
    Practical experience with MS SQL and MySQL is an asset.
    Comportments/ Behavior
    Ability to quickly learn systems and trouble shoot with the customer live and remotely;
    Pro-activity, autonomy, self motivated individual;
    Likes to interact directly with customers to achieve customer satisfaction with a "can do" attitude, ability to easily establish good relationships with customers;
    Diplomacy, open-mindedness, and patience, great listening;
    Good verbal skills for telephonic work and ability to develop well written documentation;
    Excellent oral and written English communication skills. Chinese Mandarin skills are an asset.
    Please send your resume to [email protected] and mention the title of the position: Support Application Engineering position
    We thank you for your interest towards Averna. Please note that only those candidates being considered for the position will be contacted.

    update : this position is based only in Atlanta

  • How to install LV runtime engine and run .vi's in linux

    I am attemtpting to load run time engine and run a .vi on Linux system.
    Here is what I have done so far.
    1. I don't have rpm on my system (gentoo) so I used the app on the install cd called INSTALL.norpm to install
    labview70-rte-7.0.1.i386.rpm. It looks like it worked, there are a lot of files copied to /usr/local. A couple of .so files and a directory called Labview-7.0 (12M of files). 
    2. Made a test vi on other linux box that has full development system installed (also gentoo but i have rpm on this system).
        Do I need this application builder i keep hearing about to make an .exe or can I run vi's with this run time engine?
        What is the syntax to run a vi in linux?  ./test.vi   ????
        Is application builder a seperate program that I must purchase?
    When I attemp to run a vi I get garbage printing to the console, not unlike when you cat a binary file.
    Any help would be appreciated. Is there instructions somewhare??? A manual perhaps that explains rte install and operation.
    D.A.M.

    You need the application builder to create an exe. The rte by itself will not run a VI. The exe does require the rte. It is possible to create a "loader" program that you can use to run separate VIs but the loader program must be created with the app builder. The app builder is a separate add-on or if you buy the professional version of LabVIEW, it comes included with that.

  • LabVIEW Run Time Engine and ActiveX Automation Server

    Hi,
    I have a question related to LabVIEW Run Time Engine and ActiveX Automation Server:
    We have a tool developed in LabVIEW and TestStand. End user interface is a LabVIEW GUI (it's an executable) which executes TestStand sequences. Some TestStand sequences call lower level LabVIEW VIs.
    Everything works fine with LabVIEW installed, but I was wondering if I could run this tool on deployment machine with only LabVIEW run time engine installed. We are using LabVIEW 6.1 and with only the run time engine installed, I get the error message: "Unable to launch the 'LabVIEW.Application' ActiveX automation server ". 
    BTW, we are planning to upgrade the versions soon.
    Is it possible to make things work only with the run time engine?
    Thank you.

    Thanks for the response, Brian.
    I did upgrade to LabVIEW 8.0 and TestStand 3.5. Everything works fine on the development computer where LabVIEW and TestStand is installed. On the target computer in the lab, I installed LV RTE 8.0 and TestStand 3.5, and now when a VI is called in a sequence file, I get the following:
    RunState.PreviousStep.Result.Error.Code  -18002 
    RunState.PreviousStep.Result.Error.Msg  "LabVIEW: The VI is not executable"
    So, the executable opens and works fine (which means that the LV RTE is installed properly), but when a sequence calls a low level VI, it does not make it through.
    comments/suggestions are appreciated. Thanks.

  • Help needed creating export file from a file layout with Application Engine

    The following is what I would like to do:
    - Read a record from a PS view
    - Manipulate the data as needed
    - Write the fields out to a file as defined by a File Layout
    - Repeat until no more records are found
    I have created the PeopleSoft Application Engine action listed below. It receives an error "BCUNIT is not a property of class File".
    Local Record &rec1;
    Local File &myFile;
    Local SQL &sQL1;
    /* Create instance of Record */
    &rec1 = CreateRecord(Record.W9M_MBSCRSE_VW);
    /* Instantiate the Output File */
    &myFile = GetFile("c:\temp\help_me.txt";, "A", %FilePath_Absolute);
    If &myFile.IsOpen Then
    If &myFile.SetFileLayout(FileLayout.TACOURIN) Then
    /* Create SQL object to populate rowset */
    &sQL1 = CreateSQL("%Selectall(:1) Where INSTITUTION = :2", &rec1, W9M_MBSCRSE_AET.INSTITUTION);
    /* Cycle through the records */
    While &sQL1.Fetch(&rec1)
    /* I know this section is not coded correctly but I'm not sure how to fix it */
    &myFile.BCUNIT = "1";
    &myFile.BCTCD = &rec.W9M_MBS_TERM_CODE;
    &myFile.BCTYR = &rec.W9M_MBS_TERM_YEAR;
    &myFile.BCDPTN = &rec.ACAD_GROUP;
    &myFile.BCCOUR = substring(&rec.CATALOG_NBR,2,5);
    &myFile.BCSEC = &rec.CLASS_SECTION;
    &myFile.WriteRecord();
    End-While;
    Else
    /* Process FileLayout Error here */
    End-If;
    Else
    /* Process File Open Error here */
    End-If;
    &myFile.Close();
    There are probably a lot of things wrong with this approach and if you could provide some guidance and/or  corrections to the above logic I would greatly appreciate it.
    Another approach?
    After doing a bunch of reading on Application Engine maybe my approach is incorrect. Perhaps I should be doing something like the following:
    - Read a record from a PS view
    - Populate a temporary table manipulating data as it is inserted (Temp table is named according to the file layout fields?)
    - Fetch the records from the temp table and write the record to the file layout.
    - Repeat until no more records are found
    Is this approach better and designed correctly? If not, could you recommend how it should be done? Would the population and reading of the Temp table be done in separate actions or within the same action? Do you know of an Application Engine program that can be used as an example with "like" processing?
    As you can probably tell I haven't used Application Engine before and my goal is to start out on the right path. Thank you for any direction and input that you can provide.
    Steve

    I did and my initial logic was based upon them. I don't see where it shows how to manipulate the data before writing it to the file layout fields. Maybe you can send me a link to that section?
    I was hoping that I would be able to reference the file layout fields directly to allow for manipulating the field values. Re-reading the file layout section and the application engine PeopleBooks I believe I need to create a temporary record which matches the file layout fields; i.e., the second alternative that I listed. Then, make my updates to the temp record fields as I load them. Then, load them to the file layout as a row.
    I'm not sure how this would break down in Application Engine; would the insert into the temp table and the writerecord be different steps/actions, etc.

  • J2SE adapter engine and SSL testing

    Hi there,
    We are currently doing a B2B scenario whereby SAP XI sends a message to the J2SE adapter engine in the DMZ and then that sends the message via HTTPS / SSL to the receiving service....
    In order to test that the HTTPS / certificate etc worked I wrote a small Java application and dialled out of the network. I inserted the DER file into my CACERTS file on my local machine using the keytool as a "trusted certificate". The Java application worked 100% and did the SSL handshake fine and POSTED the data fine as well......
    Now I am no expert in the J2SE adapter engine but decided to try testing the same SSL connection using the J2SE adapter engine from my LOCAL machine with me dialled out onto the Internet.
    I logged into the J2SE adapter engine and imported the same DER file into the engine  (actually inserted into the "truststore.jks" file). I them went into the "Test Environment" of the J2SE adapter and have been trying to test.....
    I have a few questions:
    1. Do I have to use a P12 or PFX file for this sort of communication? Reason I ask is that with the Java application all I needed was the DER file?
    2. In the full blown scenario do I have to have SSL configured between XI and the J2SE adapter engine as well? Or can that stay as HTTP?
    My basic config for the test is roughly:
    WS.targetURL=https://someserver:4433/soap/someInbox
    WS.SOAPAction=CustomSoapAction
    SSLauthentication=true
    Do I really need the following two?
    SSLcertificate=somecert.p12
    SSLcertificatePassword=somepassword
    From my logic all I should need if the DER file loaded into the J2SE adapter which I have done......
    Has anyone done successfull SSL / HTTPS testing from the J2SE adapter engine using the "Test Environment"?
    Any advise would be greatly appreciated
    Kind regards
    Lynton

    Hi
    Not a answer to your question but why use the J2SE adapter engine in the DMZ and why not the J2EE Decentral Adapter Engine?
    Regards
    Bhavesh

  • Error starting the Application Server and Deployment Tool

    After installing the iPlanet Aplication Server with sp3 I get the following
    errors starting the Application Server and Deployment Tool.
    iAS Application Server
    ================
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:46:49:8] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    error: could not get context
    *** Errors in initialization from registry ***
    Errors in initialization, exiting ...
    iAS Deployment Tool
    ===============
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:23:40:7] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    Exception in thread "main" java.lang.NullPointerException
    at com.kivasoft.util.Util.loadComponent(Unknown Source)
    at
    com.iplanet.ias.tools.buzz.ui.application.StartBuzz.initGDS(Unknown Source)
    at com.iplanet.ias.tools.buzz.ui.application.StartBuzz.main(Unknown
    Source)
    Can anyone help me please!

    Hi,
    Would be more helpful if you can mention, the O/S. Also, pls mention where
    you are getting this error, at kjs or kxs, or, are you able to start the server
    and at which specific instance do you encounter this.
    Regards
    Raj
    "Antonio Casqueiro" wrote:
    After installing the iPlanet Aplication Server with sp3 I get the following
    errors starting the Application Server and Deployment Tool.
    iAS Application Server
    ================
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:46:49:8] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    error: could not get context
    *** Errors in initialization from registry ***
    Errors in initialization, exiting ...
    iAS Deployment Tool
    ===============
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:23:40:7] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    Exception in thread "main" java.lang.NullPointerException
    at com.kivasoft.util.Util.loadComponent(Unknown Source)
    at
    com.iplanet.ias.tools.buzz.ui.application.StartBuzz.initGDS(Unknown Source)
    at com.iplanet.ias.tools.buzz.ui.application.StartBuzz.main(Unknown
    Source)
    Can anyone help me please!

  • Error starting the Application Server and Deployment Tool in Windows 2000

    After installing the iPlanet Aplication Server with sp3 in Windows 2000 I
    get the following
    errors starting the Application Server and Deployment Tool.
    iAS Application Server
    ================
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:46:49:8] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    error: could not get context
    *** Errors in initialization from registry ***
    Errors in initialization, exiting ...
    iAS Deployment Tool
    ===============
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:23:40:7] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    Exception in thread "main" java.lang.NullPointerException
    at com.kivasoft.util.Util.loadComponent(Unknown Source)
    at
    com.iplanet.ias.tools.buzz.ui.application.StartBuzz.initGDS(Unknown Source)
    at com.iplanet.ias.tools.buzz.ui.application.StartBuzz.main(Unknown
    Source)
    Can anyone help me please!

    Okay, pls check that you are logged in as administrator and installed and now you are logged in as administrator and registering the iAS server. Did you get any installation failures while installing and are you able to register the server using iASAT ?

  • Advice on constructi​ng a test engine and formatting a spreadshee​t test file to perform command line interface testing on a product through telnet or serial interface

    Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.

    Hello j. smith,
    TestStand gives you the ability to create "sequence files" which are lists of tests to be run sequentially or in parallel. These tests can be written in any language: LabVIEW VIs, C/C++ DLLs, EXEs, ActiveX objects, .NET Assemblies, etc.
    You can run your TestStand sequence files from a command-line prompt using the following syntax:
    \bin\SeqEdit.exe" /quit -run
    This will launch the TestStand Sequence Editor (and optionally prompt you for TestStand login information if you have this configured), run your sequence file, then exit.
    If you're using the TestStand process model, it can output your results to a report file or database if you configure this. To use a TestStand process mo
    del to execute your sequence file, use the following syntax:
    \bin\SeqEdit.exe" /quit -runEntryPoint
    Here's an example:
    C:\>"C:\Program Files\National Instruments\TestStand 3.0\bin\SeqEdit.exe" /quit -runEntryPoint "Single Pass" "C:\Program Files\National Instruments\TestStand 3.0\Examples\Demo\C\computer.seq"
    Note that multiple sequences and sequence files can be specified on the command line.
    TestStand supports remote sequence execution using DCOM (Distributed COM), which is an east way to remotely execute tests. But as for running tests or commands through a telnet or serial interface, you would have need to check Windows documentation on how to execute command-line remotely like this.
    David Mc.
    NI Applications Engineer

Maybe you are looking for

  • Certification authority issues

    Hi All, i have a CA setup on a windows 2008R2 box and now when i log into the  it asks for my creds and doesnt let me in.  i tried my regular and domain admin account.  when i log in locally i see the cert page come up but have issues when trying to

  • B2B Adapters

    What are all the Adapters that will come with B2B (ARIBA) Adapter? Whether they are also similar like the XI adapter kit(HTTP, JDBC, FILE, SOAP, RFC etc. etc). Thanks.

  • Getting more battery life with Mighty Mouse

    Hi, is there a way to make the Mighty Mouse read accurately the level of energy left in its batteries?? I have over 20 AA batteries of any kind (rechargeable or not, lithium or not, 1.2v or 1.5v, 2300 mah or else, etc.) and they all read "good-70%" w

  • Smartview retrive issue

    Hi all, We are currently running the following Hyperion Smartview Connect Client "9.3.1.5 Client" We are having some issues when trying to substitute the #Missing data with a 0 in the Hyperion Options. It does not allow us to put this numerical value

  • Issue in installing Workbench

    Hi friends.. I need help in installing Adobe Livecycle workbench 8.2. I tried to install it many times but dint work. I have checked all the pre requisites for installing the software. All are ok. Its always showing "Intinializing Wizard" on my machi