---+ APPX Background Processing on a Windows Server _This document will APPX background processing when APPX is installed on a Windows server._ %TOC% ---++ Overview JOB is the only APPX process type you can make available for back ground processing. At the end of this document you will have made all the demo (DMO) JOB output reports candidates for background processing. ---++ Required software components ---+++ APPX Desktop Client Java Web Start Bundle * You can get the APPX Desktop Client from [[http://www.appx.com/ftp/appx/products/appx/client/4.2.a/][here]]. ---+++ APPX Server * You need a functioning APPX installation. Follow instructions in [[APPX500InstallationInstructions][this document]] to install APPX on Windows if you don't already have APPX installed. * You should also have the variable APPX_BG_SCRIPT=appx_submit.cmd. You can place this variable setting inside your appx.env file. The appx.env file should go into your %APPXPATH directory (C:\Appx\data\appx.env) ---+++ DMO Demo APPX Application DMO is demonstration application that is included with APPX on default installations. ---++ Quick steps ---+++ APPX Designer * Modify the JOB's OUTPUT process type to have Separate Task (Sep. Task) checked. ---+++ APPX Server * Place the following inside your appx.env file, which should be in %APPXPATH or C:\Appx\data\appx.env <blockquote style="margin-right: 0px;" dir="ltr"> <pre> APPX_BG_SCRIPT=appx_submit.cmd </pre> </blockquote> * The appx_submit.cmd command should contain <blockquote style="margin-right: 0px;" dir="ltr"> <pre> ::APPX_SUBMIT.CMD :: A Typical Argument list will be 8 Arguments passed from APPX :: -image, -session, -mode, -notify, -date, -priority, -queue, and -user :: Windows will break on the equals sign giving us 16 arguments in total :: We will ignore all but the -image and -session pairs to submit :: an APPX session with syntax that will be similar to :: c:\APPX\Appx.exe -session=BY2Z7JDC :: If you were to view each argument passed to APPX_SUBMIT.CMD with the :: following loop: :: FOR %%A IN (%*) DO ( :: echo %%A >> c:\Appx\arglist.txt :: ) :: You would likekly see something like this in arglist.txt :: -image :: C:\Appx\Appx.exe :: -session :: BY2Z7JDC :: -mode :: SPOOL :: -notify :: Yes :: -date :: 2009031201020202 :: -priority :: 1 :: -queue :: A :: -user :: Administrator :: The following command should execute APPX with the session data as :: an argument :: %2 %3=%4 </pre> </blockquote> ---+++ APPX Run Time * On the JOB's output disposition screen select SUBMIT to BG ---++ Bugs: 1 <font color="#000000"><span style="color: lime;">Fixed</span> - Bug Description 1. </font> 1 <span style="color: red;">OPEN</span> - <font color="#ff0000"><span style="color: black;"> [[http://bugtracker.appx.com/view_bug.jsp?bugid=invalid][Bug test]] - Test bug. Not valid.</span> </font> ---++ Comments: _Read what other users have said about this page or add your own comments._ --- %COMMENT% -- JoeOrtagus - 10 Mar 2009
This topic: Main
>
APPXAdministrator
>
BackgroundProcessing
Topic revision: r2 - 2009-03-10 - JoeOrtagus
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback