Run App Engine through command line but have it show up in Process Monitor

We are trying to run Application Engine through command line and have it show up in the Process Monitor.
We have successfully ran the Application Engine through command line. We also can successfully run the Application Engine through PIA.
Only when you run the AppEng through PIA it goes through the Process Scheduler and shows up in the Process Monitor.
We would like to be able to do this through command line as well. Has anyone done this before?

I'm not sure if it is (easily) doable.
=> Fire a process through the front end appl is nothing but insert few rows in process scheduler tables settings (PSPRCSRQST, PSPRCSQUE), then the process scheduler is taking information from there every x seconds and eventually run the command (on the process scheduler server) keeping an eye on the process result in the tables to post the result.
=> Fire psae through command line (or pssqr) bypass the process scheduler, you can run it from any client... so even without any clue about Process Scheduler server or even without Process Scheduler at all (cf. the very first AE running during an installation is VERSION without anything else than the client).
So finally, your AE program has no clue where it should run outside the client you are fired the command from (i.e. on the batch server as it is running when you are fired the same AE through the front end application), nothing more about the process scheduler configuration file, and where the output files should be posted.
Maybe not by running the AE from the command line, but by simulating the actions as it would be from the front end application, for instance by inserting in the tables whatever you want to run... but it sounds odd. Probably some developer might have done this before... but this should be reconsidered by Peopletools version/patch level (or through CI ?)
Nicolas.
added the last paragraph
Edited by: N Gasparotto on May 21, 2010 2:46 PM

Similar Messages

  • Query runs from command line, but not from scheduler

    We use Control-M to schedule shell scripts to be run on a Solaris server. Some of the scripts have to access an Oracle database and in that case our security team will include the DB user and password in the script, then encrypt it and the sys admin team schedules the encrypted shell script with Control-M. That works fine, but we've been trying to have the DB user and password on a separate encrypted file so that we don't have to ask for file encryption every time it's necessary to modify a script (this is a test environment).
    We have the script at ~/system_name/scripts, the query at ~/system_name/sql and the encrypted file and key at ~/system_name/keys. The SQLPlus call in the script is:
    ${ORACLE_HOME}/bin/sqlplus "`decrypt -a 3des -k ./../keys/key.3des.system -i ./../keys/login.system`"@instance_name <<EOF
    @${DIR_SQL}/TEST_QUERY.SQL
    quit
    EOF
    The security analyst has tested is successfully from command line, but when we schedule it with Control-M the job abends and we get the following in the sysout:
    + decrypt -a 3des -k ./../keys/key.3des.system -i ./../keys/login.system
    decrypt: cannot open ./../keys/key.3des.system
    decrypt: invalid key.
    + /u00/app/oracle/product/11.1.0/db_1/bin/sqlplus @instance_name
    + 0<<
    @/sistemas/hmp/system_name/sql/TEST_QUERY.SQL
    quit
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon May 3 09:41:55 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    SP2-0310: unable to open file "instance_name.sql"
    Enter user-name: SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER|SYSASM}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] [edition=valu\
    e] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER|SYSASM}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] [edition=valu\
    e] | /
    Enter password:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    0000000080
    Any ideas?

    Looks like the command is being split in some way - the connection to sqlplus is being made before it completes the whole string
    It appears to be seeing the @instance_name as a script to execute rather than a db to connect to.
    Is the database on the same server as the script?
    If so, try setting your environment to the correct databsae, so that you can omit the @instance_name part of the syntax and see if it helps
    Also just noticed the failure to open the decrypt script. It would appear uyou are not using a full path name. Have you checked which directroy the scheduled job starts in? You may need to look at running some environment specific scripts first.
    Edited by: LindaA on 05-May-2010 07:43

  • Running Perl prog on command line and through Con Program output varies.

    Hi,
    We have perl program which takes a text file and converts it into Excel sheet.
    We run this perl program through Host file.
    In the host file we have
    export PERL5LIB=
    $DGC_TOP/bin/Make_Excel_Detail.pl $5 > $6 2> $7
    When we run this through command line in linux it work properly.
    But the same host program through Concurrent request has total numbers mismatch.
    Any input.
    Thanks,

    Program accepts standard text file and converts it into excel sheet.
    When we run the program in linux command line it gets all the 3000 lines.
    But the same program through concurrent request, gets only 2900 lines.
    What we noticed is the missing lines have some special characters like £bacs, BACS €111.
    Thanks.

  • Jar file runs from the command line, but not when I double click it

    Hello, I'm running windows xp. I've created an executable jar file and it runs fine from the command line when I type;
    java -jar wizard.jar
    but, when I double click it . . . nothing.
    Any ideas?

    nothing ? that's weird, windows XP should prompt you to select the program you want to use in order to open Jar files (and give you this silly piece of advice to search the web for the appropriate program)
    you might want to check what program (if any) got associated with .jar extensions :
    in Windows Explorer : Tools => Folder Options => File Types
    hth

  • Help packaging an android apk through command line

    Hello everyone.  I've recently developed an app that is near the release deadline and I've ran into the problem of low resolutions icons.  All of the troubleshooting I've done has claimed I'll need to manually package the app through the command line to do this.  I have never done this before so I'm having some trouble. 
    I've downloaded all of the required files I believe and have reached the correct bin folder, I'm completely clueless as to what syntax I need to type in from this point though.  I've gotten as far as "adt -package" which then outputs that I'm missing additional information, but as I said, I haven't used command promt much and I have no idea how to format the rest of the information I need to put in or how to attach my current app.xml file to it.
    Any help would be appreciated.
    Edit: Nevermind everyone.  After a lot  more time spent researching I've managed to piece together how to do it and actually understand it as well.

    Hi,
    Here is the command to package android apk through command line;
    <adt-path> -package -target <target-option e.g. apk, apk-debug etc> -storetype pkcs12 -keystore <your certificate> -storepass <password> name.apk app.xml name.swf assets
    Please run adt -help on terminal or cmd if you need any help regarding targets or packaging command. adt is available at you sdk/bin/adt folder.
    Also, you can see the page http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html for more details.
    Hope this will help.
    Regards,
    Nimit

  • SCCM 2012 - Problems running vbscript or simple command line

    Hey everybody, I'm having a heck of a time trying to get SCCM 2012 to deploy some very simple Vbscripts or even a simple command line.  I need to deploy some registry fixes across the company as well as a Vbscript that uninstalls some old applications. 
    If I run these scripts/commands outside of SCCM everything works fine, inside of SCCM it always shows "succeeded" but it doesn't actually run correct on the client.
    What's confusing to me is the use of distribution points when you're running a command line that doesn't actually have any source files.  For instance this is what I'm trying to run "regedit /s \\servername\folder\registryfix.reg".  I've also tried
    a similar bat file as well with the same result.  I've tried it with a source folder specified, I've tried it using Run Program From Server or Download locally.  I've gone through everything I can think of but can't get it to work.
    Similarly with a vbscript I'm trying "cscript.exe /s \\servername\folder\uninstallapps.wsf" and various different settings in the package deployment.
    I'm really confused here guys so any help would be greatly appreciated.  Thanks

    What I have found is that if you try and run the REG.EXE command line directly, either as a program or via a CMD/BAT file, the 64-bit redirection will occur.  So, if you had something like this in a program or via a CMD/BAT file that ran against a 64-bit
    system:
    REG ADD HKLM\Software\Microsoft\Test /v Test /d Test
    You would end up with this registry entry existing under:
    HKLM\Software\Wow6432Node\Microsoft\Test
    That's because SCCM uses the 32-bit launcher to take care of this and redirection occurs - You can see this via the "CCM32BitLauncher.log" on the client.
    To work around this problem, I have done the following:
    On a reference machine, create/export the registry entry I want into a *.reg file - An example export of "Test.reg" for the above mentioned registry entry would look something like this:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Test]
    "Test"="Test"
      2.  Stick our "Test.reg" file in a source share, create a package with the share as the source content, and distribute it
      3.  Create a program for the package with a command line like this: 
    REG IMPORT Test.reg
    This is obviously not as clean as having a command line with a package to distribute, but I find it works fine for me and gets around the redirection for registry entries.

  • Scheduling Report  through  Command Line

    Post Author: gunjesh
    CA Forum: Administration
    Hi All,
              I would like to know how to schedule a  Webi (infoview) report of Bussiness Objects XI Release2    through Command line , Not through CMS.
    Command line options
    1. To schedule a report from CMS but using a command line. What all parameters are needed in order to do this ?
    2. To stop/reschedule a report being refreshed/running at this moment. What all parameters are needed in order to do this ?

    Post Author: sgolby
    CA Forum: Administration
    Did you have any luck finding out how to do this ?   We would like to trigger reports from the command line on demand. (or via an API is fine too)
    Thanks,
    Scott

  • How to run the JNLP from Command Line

    Hi All,
    how to run the JNLP file from the remote machine from our command line. I have requirement to run this JNLP file in java 1.4.2 version. Can any one tell me the procedure or the steps that are needed to run this file at command prompt.
    Regards,
    Prasanna.
    Edited by: VPrasanna on May 19, 2008 4:43 AM

    >
    I am getting "**java.security.AccessControlException: access denied (java.net.SocketPermission wwwgate0.mot.com:1080 connect,resolve)**" when I start the Web Start Client. >This seems like a largely separate problem to running the JNLP from the command line. It might have been better to end this thread (assign the dukes) and start a new one.
    >
    ..Can you help me in resolving this issue. >However, I suspect I can guess the problem.
    If this app. is normally hosted on wwwgate0.mot.com then it can 'phone home' to the server without further permission, but if you are running it from the command line, that might not be the codebase anymore.
    If you wish to do 'local testing' of such an app., I would recommend setting up a server like Tomcat on the local machine, and serving the test app. directly off that.
    >
    ..Its urgent...>Sun offers a number of options for urgent matters, such as support tickets. Perhaps you should look into one of those.

  • Execute DAC through Command Line

    Hi All,
    Can we run DAC execution plan through Command line? We have dependencies with other Scheduling Tool (ex: AAA). Once all job completes in tool AAA, our DAC execution plan should start.

    Hi Srini,
    Thank you for the help...
    I am trying to execute command, but it gives me below information. I tried to find out log file, but no help... Do u have more information...
    ./dacCmdLine.sh StartETL "Employee Load"
    DAC Command Line Utitility Invocation
    Apr 24, 2013 12:17:21 PM com.siebel.etl.net.DACCommandLine main
    INFO: Starting commandline invocation.
    Apr 24, 2013 12:17:21 PM com.siebel.etl.net.DACCommandLine main
    INFO:

  • Pass Diadem Parameters through command line

    Hi,
    I am trying to run DIAdem through command line. I have no problem with this but can I pass a variable through the same.
    I would like to pass T1 with some value through command line. Can anyone please help me how can I do this.
    Expecting your earliest reply.
    Thanks,
    Priya

    Hi Priya,
    I am not quite sure what you're trying to do. So are you running a DIAdem SCRIPT from the command line? Is your variable defined within your application? How is the variable initialized when you run the script from within DIAdem. Is it a user Input? Also how exactly are your running the script from the command line?
    I hope to hear from you soon and I will post as soon as I get some info from you side. Thank you for your patience.
    SijinK
    National Instruments

  • Run test case from command line

    Hi  All,
    Working environment : VS 2013 professional 
    Project type : Unit test project for (Windows 8.1 and Windows phone 8.1)
    I have a set of unit test cases and want to run it on command line.I tried MSTest.ext and vstest.console.exe for running test case but not succeed.  
    command :  MSTest.exe /testcontainer:path of project dll
    command :  vstest.console.exe path of project dll
    Type of Error
    Error : Unit test case for windows store and windows phone app can't be run outside appcontainer. 
    Error : No tests to execute
    command :  MSTest.exe /testcontainer:path of appx
    command :  vstest.console.exe path of appx
    Error : root certificate error 
    I just want to run windows 8.1 and windows phone 8.1 run test cases from command line.
    Thanks in advance.

    Hi vicky2468,
    Based on your issue, as far as I know that if we want to run unit test for windows store and windows phone app using mstest.exe or vstest.console.exe in command line, you will need to execute the .appx instead of the dll in command line.
    In addition, I tried to run the appx for unit test in command line,
    but I found that I also get the same issue as yours. I could not execute the appx for unit test in command line successfully.  But if we run it with VS IDE in Test
    Explorer windows, it seems that it works fine.
    So I suggest you can submit a feedback for this issue, to get the issue confirmed and diagnose by product team, would you please create connect report for it? You will get email notification for update.
    http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx
    When you submit the connect, I suggest you can provide your project for product team so that product team will
    be better help you solve this issue.
    If you submit it, please share me the link here, I will help you vote it. I think we could get the latest information
    from the product team experts. Of course, if I get any latest useful information, I will update it here.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to run an executable from command-line

    I'm learning how to use the Terminal and I got stuck in a silly thing (I suppose it is). How can I run an executable file from command-line in Terminal?
    For example: I have a file named "Hello" in the folder /sample. If I use the ls command (ls sample), I can see the file Hello. Then I move to the directory (cd /sample) and try to run the file Hello (typing "Hello") but I got "command not found" message.
    If I drag the Hello file from Finder to Terminal and hit Return, it runs perfectly. And if I type the full path to the file (even if I'm already inside its directory), it also runs.
    So, my doubt is if there is any command to run an executable from command-line.
    Thanks

    KJK555 wrote:
    Hi VK:
    Can you enlighten me on why it's neccessary to do the "./" thingy in OS X when in unix/linux
    I never had to resort to doing that?
    Kj
    I took the trouble of reading *man bash* and it explains the issue. to add the current directory to PATH you need to add an empty path to PATH like this
    PATH=$PATH::
    you can add it to ~/.bash_profile so that it's executed automatically when you start bash. I suspect the linux system you are talking about had this set up by default or had it added to PATH in /etc/profile which defines PATH globally.

  • Is it possible to run Acrobat3D from the command line?

    I'd like to know if it is possible to run Arobat3D from the command line in batch mode. I'm interested in knowing if this is possible in either a windows or unix environment.
    My objective is to convert CAD data e.g. CATIA V5 or DXF etc to PDF, in batch mode without using the Acrobat3D interface itself.
    I know that it's possible to run a batch process from within Acrobat3D itself, therefore one solution may be to invoke those batch processes from the command line.
    I've looked through the other listings on this forum and seen this question asked previously, but I've not seen any responses that suggest this is even a feasible concept.

    As of now, it's not possible in the cmd-mode to just remain connected and not stream.
    But the reason you want to do that is because of the long start-up time. That 20 sec time can be divided into:
    1. launch time
    2. time to start encoding (after pressing start button) -> cannot be reduced even if 'connected only' feature is available in cmd-line
    Below are tips you can use to reduce this 20 sec of time:
    1. Lesser the no. of devices connected to the system, shorter is the launch time. Disable the devices which are not to be used in the session.
    2. Try using device indexes (0, 1, 2, etc) instead of device names in the profile. Indexes might change after you disable some of the devices.
    3. Use the profile with correct settings, to avoid any validation errors.
    4. Higher the video size, higher is the overall time. Small sizes take lesser time to start.
    Let me know if you see any improvement in the startup time.

  • Any way to configure Oracle Vault .through command line

    I wanted to configure Oracle Vault in our enviornment
    I'm looking for some options to configuer through command line
    Is it possible if yes the steps / any reference.
    PS : New to this forum pl. excuse if its a repated one (tried to see relevant one but didn't find any) if any one can direct it would be greate.
    Edited by: 932549 on May 11, 2012 8:55 AM

    Hey man I would help with your question. But I also have some Q's. How can I email apple for my concerns? And how can I post my RSS OR in the forum is complicate. As you know for the iPhone apple hasn't changed the way the os looks like it's pretty simple. Last night I was in the T-Mobile store and I saw the new G2 I'm not a android fan just because of their lags. Apperantly the G2 was pretty responsive and I'm sick and tired of apples os for the iPhone its stuck in the past. Apple has to get more creative than android and get it going. Make the iOS 5.0 prettier than androids os. Please

  • Linux: Pipe to stdout displays on the command line, but does not redirect to file

    Hello all,
    Several years ago, I was given the task of making a LabVIEW application run from the Linux command line with arguments.
    Now I have the same task, and I naively thought, "Sure, no problem."  So, for my stdout output, I used something very similar to the following:
    It seems to work fine in a compiled application, as it always has, and the prescribed string appears on the command line window.  However, the person testing the functionality here remarked that he couldn't successfully redirect output to a file.
    For example:
    If my compiled binary is "LabVIEW_executable", let's say it is called in the following manner:
    /foo/bar> ./LabVIEW_executable >foo.txt
    Since the desired output appears on the command line, you'd intuitively think that it would also appear in foo.txt, but it does not.  After tinkering for a while and coming up with very little in the way of search results, I thought I'd ask here.
    Has anyone ever done this before?
    I am very grateful for any assistance.
    Regards,
    Jim

    Ahhh, thanks a lot!
    Whoops.  Looks like I made a novice mistake.
    Nice icon, by the way. 

Maybe you are looking for

  • Missing Movies Folder in Sidebar

    When opening a Finder window, one of my sidebar folders is missing. I have the Applications, Documents, Pictures, Music and User folders, but the Movies folder is nowhere to be seen. I tried searching for it in Spotlight and got nothing. Because of t

  • Extra expenses (dunning and bank costs ...) on Payments

    Hello, I ask you how to manage the extra expenses (for examples for dunning and banks costs) on incoming payments and outgoing payments. I tried to increase the amount of payment but it is not possible. It is possible only to make a manual journal en

  • How can I set up a ranking question on a survey?

    How can I set up a ranking question on a survey?  It allows you to rate something but I need to rank something.

  • JavaDb question

    All: Does a embedded database allow for the database to exist on a network and users connecting from the java application or is a client//server required.

  • Can't access ssl pages

    My friend got a PowerBook G4 from a family member.  It runs 10.4.11.  First thing off the bat: It wont connect using WPA2-Enterprise.  Browsing works, but not for any SSL pages.  (Safari and Firefox) I am told it worked just fine.  So I suspect someo