Execute an AIR exe on server

I have an AIR exe file installed on a Linux based server. Is it possible I can execute that application from a PHP script?

A properly installed AIR application can be invoked in the same way as any other valid executable.

Similar Messages

  • How to execute CGI Programs in Tomcat Server

    Hi,
    I am working on executing Perl Scrtipts(or CGI programs) in Tomcat Server.
    I have downloaded ActivePerl 5.8.0 6.0.3 build.I have modified some .jar files in tomcat\server\lib.
    I have changed conf\web.xml to access the CGIServlet.class that is in servlets-cgi.jar.
    My example.cgi is
    #!c:\Perl\bin\perl.exe
    print
    "Content-type: text/plain\n\n";
    foreach $var (
    sort keys %ENV) {
    print
    "$var=\"$ENV{$var}\"\n";
    @values = split(
    /&/,$ENV{'QUERY_STRING'});
    foreach $i (@values) {
    ($varname, $mydata) = split(
    /=/,$i);
    print "$varname = $mydata\n";
    and my test.html is
    <HTML>
         <HEAD>
              <TITLE>Environment Variables using GET</TITLE>
         </HEAD>
         <BODY>
              <FORM ACTION="cgi-bin/example.cgi" METHOD="POST">
                   Press submit for a list of environment variables. <BR>
                   First Name: <input type="text" name="fname" size=30><p>
                   Last Name: <input type="text" name="lname" size=30><p>
                   <input type="submit">
              </FORM>
         </BODY>
    </HTML>
    here I have changed url mapping in web.xml to cgi-bin.
    The test.html produces two text fields first and last name on submit:
    it accesses:http://localhost:8080/smalltownpapers/cgi-bin/example.cgi?fname=Tim&lname=Eden
    this should print some environmental variables but it is producing an empty page.
    Tomcat is not showing any errors or Tomcat is not at all listening.
    Can any one help me to solve this and how to execute Perl scripts in Tomcat server
    Thanks,
    Regards
    Murthy

    Sorry, I've never done this. I went to the Tomcat site and pulled down the CGI docs, which you might have seen:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html
    No other help available from me. Sorry.

  • Executing SSIS packages through SQL Server Jobs.

    Hi,
    I have an SSIS package which generates xml and text files and ftps it to an ftp site. When i run the package from BIDS it works successfully but when i run it from a job it fails. My SSIS package connects to DB server A and though i'm creating a job on DB
    server A but my folder structure and the package resides in server B from where i'm connecting to DB server A through Management Studio. I'm using File system in SQL server Agent Job to call the package. When i execute the job i get following error:
    Executed as user: I\A. ...er Execute Package Utility  Version 9.00.3042.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  5:08:05 PM  Error: 2011-06-21 17:08:05.11         
    Description: Unable to load the package as XML because of package does not have a valid XML format. A specific XML parser error will be posted.  End Error  Error: 2011-06-21 17:08:05.11         Description:
    Failed to open package file "E:\P\H\R\Tools\R\R\R.dtsx" due to error 0x80070003 "The system cannot find the path specified.".  This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the
    result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has .  The step failed.
    Could you please tell me where am i going wrong?
    Thanks,
    Deepti
    Deepti

    Hi Christa Kurschat,
    I'm running the job under proxy account. And that account has sysadmin permissions.
    I used following script to create proxy account and run my package under that account:
    I. Create job executor account
    Highlight Security->New Login, say to make login as devlogin, type your password, default database can be your target database.
    Server roles: check �sysadmin�
    User mapping: your target database
    Msdb database: you make sure to include
    SQLAgentUserRole, SQLAgentReaderRole,  SQLAgentOperatorRole
    Then click OK
    II. Create SQL proxy account and associate proxy account with job executor account
    Here is the code and run it the query window.
    Use master
    CREATE CREDENTIAL [MyCredential] WITH IDENTITY = 'yourdomain\myWindowAccount', secret = 'WindowLoginPassword'
    Use msdb
    Sp_add_proxy @proxy_name='MyProxy', @credential_name='MyCredential'
    Sp_grant_login_to_proxy @login_name=' devlogin', @proxy_name='MyProxy'
    Sp_grant_proxy_to_subsystem @proxy_name='MyProxy', @subsystem_name='SSIS'
    III. Create SSIS package
    In MS SQL Server Business Intelligence Development Studio, you use job executor account devlogin to create the SSIS package (DTS) and make sure you can execute this package
    in SQL Server Business Intelligence Development Studio. Compile/build this package.
    IV. Create the job, schedule the job and run the job
    In SQL Server Management Studio, highlight SQL Server Agent -> Start. Highlight Job ->New Job�, name it , myJob.
    Under Steps, New Step, name it, Step1,
    Type: SQL Server Integration Service Package
    Run as: myProxy
    Package source: File System
    Browse to select your package file xxx.dtsx
    Click Ok
    Schedule your job and enable it
    I followed these steps.
    Thanks,
    Deepti
    Deepti

  • How do I install Adobe Air on a server?

    I am using RH8 and Windows 7.
    I am trying to make Browser Based Air files work on a server.
    I was told that I need to install Adobe Air on the server. How do I do that.
    IT made my pc into a server. I went to the Adobe Air download site and tried to install it on the server but it only let me install it on my pc. How do I install it on the server? Also, where on the server do I install it?
    My pc is configured so the server is lovejoyp/WebTest. Do I install Adobe Air in a certain folder?
    Any help is gratefully appreciated.
    Pat

    You are mixing the types of AIR help.
    Locally installed AIR help requires the AIR runtime to be installed on the users PC.
    Browser based AIR help does not require that and the runtime is not intended to be installed on a server.
    This is all described in the AIR pages on my site. I think you need to read those again and maybe with your IT people.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • When I stream videos from my laptop onto my Apple TV via my iPad 2 using the Air Video app/server the video plays great however when I pause the video the Apple TV reverts back to the home screen within a few seconds and then when I want to restart watchi

    When I stream videos from my laptop onto my Apple TV via my iPad 2 using the Air Video app/server the video plays great however when I pause the video the Apple TV reverts back to the home screen within a few seconds and then when I want to restart watching the video I have to re-buffer the video. Is there any way I can stop the Apple TV from reverting back to the home screen when I pause the video I’m watching?

    Welcome to the Apple Community.
    Contact the developer of the Air Video app.

  • How do you modify the default Execute thread count in Weblogic Server 9.2?

    How do you modify the default Execute thread count in Weblogic Server 9.2?
    How can you tune the starting number of weblogic.ExecuteThread on server startup and/or set minimum number?
    Is there an option from the console?
    Please let me know.
    Thanks

    Self tuning will automatically manage the threads but however you can still control the min and max by adding the min and max values for each instance either directly adding in config.xml or through JVM settings
    1) Modifying the config.xml
    Just add the following line(s) to each server definition :
    <server>
    <name>AdminServer</name>
    <self-tuning-thread-pool-size-min>100</self-tuning-thread-pool-size-min>
    <self-tuning-thread-pool-size-max>200</self-tuning-thread-pool-size-max>
    </server>
    2) Adding some JVM parameters
    It's safer the following way :
    add the following option in your command line : -Dweblogic.threadpool.MinPoolSize=100
    Regards
    RR

  • ARGENT:error in java.exe operating server (after updating remote dbase)

    Hello,
    I am getting big trouble in java.exe which is running server program.
    interface : swings
    windows: NT 4.0
    database: MS access97
    jdk 1.3 (jsdk2)
    Dr. watson of NT reporting the error in java.exe(of server) that application error has occured and this is happening every time after i update or write something into the database. Currently i am doing it on localhost m/c.Error: "the instruction at "0x77b3cd19"
    referenced memory at 0x77b3cd19".The memory could be read/"
    //server code
    import java.rmi.*;
    import java.rmi.server.*;
    public class LoginServer {
    public LoginServer() {
    try {
    Login c = new LoginImpl();
    Naming.rebind("login", c);
    } catch (Exception e) {
    System.out.println("Trouble: " + e);
    public static void main(String args[]) {
    new LoginServer();
    //Remote functions implementation
    import java.rmi.*;
    import java.rmi.server.*;
    import java.sql.*;
    public class LoginImpl extends UnicastRemoteObject implements Login
    public LoginImpl() throws RemoteException
    super();
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    } catch(Exception e) { System.err.print("Exception: ");
    System.err.println(e.getMessage());}
    //register new user take name and password as arguement and creates
    // new user and set status OFF (ie user not logged in)
    public int NewUser(String n,String p) throws RemoteException
    String url = "jdbc:odbc:Authentic";
    int i=2;
    Connection con;
    Statement stmt;
    ResultSet rs;
    try {
    con = DriverManager.getConnection(url, "anything", "anything");
    stmt=con.createStatement();
    rs = stmt.executeQuery("SELECT NAME FROM TAUTHENTIC");
    while (rs.next()) {
    String nam = rs.getString("NAME");
    if((n.equalsIgnoreCase(nam)))
    i=1;
    rs.close();
    stmt.close();
    con.close();
    break;
    f (i==2) {
    stmt.executeUpdate("INSERT INTO TAUTHENTIC "+"VALUES'"+n+"','"+p+"','OFF')");
    i=3;
    rs.close();
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    return i;
    //verifying usre and password and then checking status if off turns on else cant verify.
    public int VerifyUser(String s,String p) throws RemoteException
    { int i=0;
    String url="jdbc:odbc:Authentic";
    String status="OFF";
    Connection con;
    Statement stmt;
    ResultSet rs;
    try {
    con = DriverManager.getConnection(url, "anything", "anything");
    stmt=con.createStatement();
    rs = stmt.executeQuery("SELECT NAME, PASSWORD, STATUS FROM AUTHENTIC");
    while (rs.next()) {
    String nam = rs.getString("NAME");
    String pas = rs.getString("PASSWORD");
    String sta=rs.getString("STATUS");
    if((s.equalsIgnoreCase(nam))&&(p.compareTo(pas)==0))
    if(status.compareTo(sta)!=0)
    {i=5; break;}
    if((s.equalsIgnoreCase(nam))&&(p.compareTo(pas)==0)&&(status.compareTo(sta)==0))
    System.out.println("Hi " +nam + " you are in our stock program now");
    i=1;
    break;
    if(i==0)
    System.out.println("Sorry either user dont exist or invalid user name or password");
    rs.close();
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    return i;
    //changes status each time user logged in or logged off
    public void cstatus(String name,String status) throws RemoteException
    String url="jdbc:odbc:Authentic";
    Connection con;
    Statement stmt;
    try {
    con = DriverManager.getConnection(url, "anything", "anything");
    stmt=con.createStatement();
    stmt.executeUpdate("UPDATE TAUTHENTIC SET STATUS ='" + status + "' WHERE NAME LIKE '" + name + "'");
    stmt.close();
    con.close();
    catch(Exception ex){ System.out.println("Exception: "+ex.getMessage());}
    i have used swings to call these functions. Updation is happwning but also bringing runtime server application halt.
    //if u need i can mail u my GUI client file from where i am making my RMI connections. my email is [email protected]. Please reply back as soon as possible as i am working on a java project of software agents and have to complete it by this month.
    thanx and bye for now

    Format this mess.
    http://forum.java.sun.com/faq.jsp#format

  • Servlet not executing the a file at server?

    i am trying to execute a java file at server
    using the following servlet. I am using
    Process proc=runtime.exec("C:\\j2sdk1.4.1_01\\bin\\javac HelloServlet.java"); I am compiling the code succesfully
    and when i call the servlet at browser it displays HELLO
    but not executing the command. I am using Tomcat and winows NT.
    here the servlet code ....please help.........
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Hello extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String docType =
    "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
    "Transitional//EN\">\n";
    out.println(docType +
    "<HTML>\n" +
    "<HEAD><TITLE>Hello</TITLE></HEAD>\n" +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1>Hello</H1>\n" +
    "</BODY></HTML>");
    try
    Runtime runtime=Runtime.getRuntime();
    Process proc=runtime.exec("C:\\j2sdk1.4.1_01 \\bin\\javac HelloServlet.java");
    BufferedReader br=new BufferedReader(new InputStreamReader(proc.getInputStream()));
    PrintWriter com_out=response.getWriter();
    com_out.println("<pre>");
    String line=null;
    while((line=br.readLine())!=null)
    { com_out.println(line);
    catch (Exception e)
    out.println("Listener *not* started!");

    thanku for the cooperation. i kept as below but still it is not working.......
    String path = getServletContext().getRealPath("C:\\Tomcat 4.1\\webapps\\examples\\WEB-INF\\classes\\Hello.class");
    Runtime runtime=Runtime.getRuntime();
    Process proc=runtime.exec("C:\\j2sdk1.4.1_01\\bin\\javac HelloServlet.java" +path );                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Could not able to execute FTP commands in windows server machines 2012/ windows server 2008.

    Could not able to execute FTP commands in windows server machines 2012/ windows server 2008.
    From windows server 2012 and windows server 2008, Opened port 20,21,22 in firewall bidirectionally. After Establishing connection by passing credentials  230 log in  successful.
    ftp commands executing getting as " 425 Use Port or PASV first" , "500 Illegal PORT command".
    But I could able to do windows client machines like windows 7 and windows 8 with same environment
    Note : Firewall ports are opened.  have tested by making firewall down to avoid filters. 
    Pandiyan Muthuraman

    Hi Pandiyan Muthuraman,
    Did you mean even you disable or open the related port the FTP issue still exist? I found this errors most time occur when we use the ISA firewall and the FTP configured passive
    mode, if you have ISA firewall please refer the following KB to fix this issue.
    How to enable passive CERN FTP connections through ISA Server 2000, 2004, or 2006
    http://support.microsoft.com/kb/300641
    The have a specific form for the IIS question, if you have the further IIS related question you can ask in IIS forum.
    IIS support forum
    http://forums.iis.net/
    Thanks for your understanding and support
    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.

  • Unable to execute nqcmd command in RHLinux server

    Hi All,
    When we try to execute nqcmd on RH Linux server we are getting error below.
    Bin$ pwd
    /home/oracle/obiee/OracleBI/server/Bin
    Bin$ ./nqcmd
    ./nqcmd: error while loading shared libraries: libodbcinst.so: cannot open shared object file: No such file or directory
    Regards,
    Somu

    hi
    maxim
    i have install obiee 10.1.3.4 in my server Aix 6.1 (unix server). i i have one problem when we try excute nqcmd in unix (Aix 6.1 server )ts show error
    cd /u02/dwbi_apps/obiee/oraclebi/server/Bin
    $ ./nqcmd
    exec(): 0509-036 Cannot load program ./nqcmd because of the following errors:
    0509-022 Cannot load module /u02/dwbi_apps/obiee/oraclebi/server/Bin/libnqsgenericodbcinterface.so.
    0509-150 Dependent module libodbc.a(odbc.so) could not be loaded.
    0509-022 Cannot load module libodbc.a(odbc.so).
    0509-026 System error: A file or directory in the path name does not exist.
    0509-022 Cannot load module nqcmd.
    0509-150 Dependent module /u02/dwbi_apps/obiee/oraclebi/server/Bin/libnqsgenericodbcinterface.so could not be loaded.
    0509-022 Cannot load module
    2. Then i try to do this one
    $ cd /u02/dwbi_apps/obiee/oraclebi/setup
    $ ./common.sh
    $ ./sysenvinit.sh
    ./sysenvinit.sh[68]: =::/u02/dwbi_apps/obiee/oraclebi/odbc/lib:/usr/lib:/lib:$: not found.
    where i will struck i don't no could please tell me maxim
    Advance thanks

  • How to execute adobe air app & pass argument from Flex ?

    Helo everyone,
    May i ask a question, How to execute adobe air app & pass argument from Flex ?
    Thanks in advanced.
    Jacky Ho.

    Hello Jacky,
    You can find an example here
    http://spreadingfunkyness.com/passing-parameters-to-adobe-air-at-startup/

  • Debugging installed AIR .exe

    When running my AIR app in Flex Builder with ADL, my error
    messages come through fine and I get an error dialog when something
    fatal has happened (that wasn't caught by a try/catch).
    However, when I package up and install my AIR app on another
    machine, the error messages are now silent, and
    flash.system.Capabilities.isDebugger is false.
    Is there a simple way to have the installed AIR .exe run with
    debugger capabilities, so that error messages are shown in dialog
    windows?
    Thanks in advance for any help.
    Daniel McQuillen

    For anybody using the CommandProxy pattern, you can get the
    proxy to launch your program through ADL by changing a couple lines
    in the CommandProxy.cs file in the LaunchAndRun() method. (There
    are cleaner ways to do this but for a quick fix...)
    1) change the processPath argument to ADL :
    processPath = "adl.exe";
    2) change the process startInfo args to the following string
    p.StartInfo.Arguments = "myApp-app.xml -- " + authToken + "
    " + port;
    This worked for me.
    Daniel

  • USB flash drive air exe delivery

    I need to develop an air exe and app and deliver it on a USB flash drive.  But I need to run the air environment from the usb flash drive incase a user does not have adobe air installed on their machine.
    Is this possible?

    Yes, you want to create a captive runtime, it is the AIR app packaged with the runtime for your platform of choice.
    http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html

  • Execute commands on a remote server

    hello,
    1. how can i execute commands on a remote server using java (how to connect and how to execute) without having java on the remote server
    (i cannot connect with Socket object)
    2. how can i execute commands on the local computer
    please help me

    Well, for #1, if you can possibly know what commands you'd have to call you could set a perl script up on the remote machine to perform that command and return to you the results. problem is, you'll have to have a web server of some sort to do this (as far as i know).
    I know it's not a very good solution, but it's helped me plenty of times where i couldnt install Jakarta or the likes on a server and couldnt connect to it using sockets.
    Justin

  • Execute Javascript on EXE

    Hello,
    I've  published a SCORM compliant project from Captivate 4 as Flash(swf) now using the same project I am trying to publish it as a stand alone(exe) project but having problems with Captivate's "Execute Javascript". I am trying to call a function which is basically located within the output HTML file but since my intended output is a exe file, I am bound not to use the said action from Captivate prompted error was: "Internet Explorer cannod download. Unspecified error".Is there any way to avoid this?
    Is there any similar procedure I can work with for projects intended to be publish as stand alone?Or am I just missing something.
    Thanks
    -Miguel

    Hi Miguel,
    At a very basic level, AIR is a local web browser... meaning it can render and display LOCAL .htm pages and execute JavaScript... just like IE, FF, or Chrome will do for content fed from a server.  This means that you publish your Cp project as a web project, then tell AIR where the local .htm file exists on your hard drive.  AIR will then display your Captivate .htm file as if it was in a browser... allowing your JavaScript functions to execute.  I have developed a Captivate AIR player for other clients of mine and there are a few things to keep in mind.
    1.  Adobe AIR requires the AIR runtime to be installed on the end users machine
    2.  If you have any .f4v or .flv video files targeted for "progressive download" in your project, you'll have to adjust your Flash Security settings in order to get these to play properly.  If you don't have any of these video files... you're good to go!
    3.  If you don't have Adobe FlashBuilder, you can use the free FlashDevelop program to build your AIR project.  It takes a bit to set up your development environment, but it's free.
    If you're interested in the Captivate AIR player, please PM me.
    Jim Leichliter

Maybe you are looking for

  • Creative mediasource organizer not recognizing zen microph

    I jusr recently had to restore my laptop to factory settings so I had reinstall creative. But now when I open the mediasource to try to get songs off of my microphoto on onto my laptop, it doesn't show my zen in the little dropdown where it shoes pc

  • Adobe Acrobat 8 Form Duplicate text error

    Hello World! I work for a school with 200+ computers installed with **. The problem I'm having is when a user downloads a PDF form from our web page and goes to start inserting data in the fields the text just duplicates in all the boxes. If you try

  • Cannot select language in Powerpoint

    I would like to change all text on all slides on a powerpoint 2011 presentation to English. So, I found this Applescript (see below) that basically does what I would have to do manually in an automated way. It almost works, except after it finished r

  • Playing FLV from CD-ROM

    When running long a FLV from CD-ROM the seek times are terrible. Sometimes taking a full 3-4 minutes to seek near the end of a 160x120 - 30 minute movie for example. And that is on a 3ghz machine. How can this be reduced to approx. 3-5 seconds? This

  • Initial values of dates on Infotype 41 screen

    Hi, I am running same action (Rehire) in two different systems (quality and development )  - but the initial values of the dates that appear on the infotype 41 screen are different. can someone suggest me the reason behind it ? From where are the ini