Deploying Air Application with Zend AMF Dataservices to remote server?

I cannot find anything to guide me through getting this set up.. it's frustrating because I feel this is probably the whole point of Air!
I have an Air project in Flash Builder which is set up with the Data/Services panel, using a custom php model file.
It's working fine on localhost, but I do not know what is necessary to have it work while the app is running locally but connecting to a remote server (can get it working as a flex app in browser hosted remotely, though)
I uploaded the Zend framework and my custom php files to the net
I changed the amf_config.ini file .. the webroot and the zend_path, I assume, should be different depending whether it's localhost or on a server, so I changed the one online to be match where the files are.
I found in the _super_Database.as it was referencing the Zend gateway.php locally, so I changed that to be an absolute link to where I put gateway.php on the server.
But I'm not sure what to do next... I assume I only need the Zend framework and the php files I'm using online, but then there is no link to my Database.php anywhere other than as a symbolic link from services/Database.php to the bin-debug folder.. but I don't know how exactly to put that on the server and then compile my app... and I can't find any explanations anywhere.
Anyone know how to go about this?

Hello everyone,
Exact the same problem here. I've build an Air app with PHP in the backend. On my localhost it works fine...  but, when i am tranfer it to the remote server it just won't work.
I have changed settings in amf_config.ini and in gateway.php, and I have changed the settings in super class of my flash file, so it knows where to find the new gateway.php.
Can someone please help a hand... (mmm it is almost Christmas .... )
Thanks., Erik

Similar Messages

  • Building Flex application with Flex Builder in a Remote Server - Cloud Computing

    Hey Guys
    I have a query or its confusion probably
    I was just thinking if this kind of solution is existing or possible with say cloud computing or anything else?
    This is what we all probably do for building our flex application?
    1. There is Remote Server hosting our source code
    2. Developer check out the code in their system locally by some Configuration tool like Perforce, CVS etc
    3. Developer Install Flex  Builder IDE locally and open the IDE and then create.build locally and then on testing check in the code in repository
    All this is fine but we have some problem here
    a. We have to get all the source code checked out/downloaded in some local machine
    b. We have to install Flex Builder in each every developer machine with license.
    A possible modification in the above can be as follows
    1. Don't download/check out the source code locally in each machine
    2. Create a mapped network drive of the Remote Repository and then work directly with the mapped network drive
    3. Install Flex Builder  locally
    4. Start Flex Builder create a Flex Project with source code in the mapped network drive
    But this has some potential problem as now the building of the flex application directly work with the mapped network drive. This is very slow especially when we Keep the "Build Automatically" Check box to true
    My question is that can we have a solution like this ?
    1. There is Remote Server hosting our source code
    2. There is another 2nd Remote Server which support workspace for each user
    3. Flex Builder installed in the 2nd Remote Server
    4. Each Developer connects to the 2nd Remote Server log in to their workspace
    5. Each developer check out code by connecting to 1st Remote Server. This code which is checked out now goes in their workspace in the 2nd Remote Server
    6. Start Flex Builder instance which is running in the 2nd Remote Server
    5. Each developer open source code modifies, build application in their workspace and check
    I think this is something that I heard cloud computing can do ? Do anyone have any idea whether this kind of environment is possible in Flex or can anyone suggest something which is almost close to this ?
    Regards
    Biswamit

    Hi
    The concept of cloud computing is not even very clear to me
    I think this is what I understood about it ...........from this link http://communication.howstuffworks.com/cloud-computing.htm
    It says
    "Instead of installing a suite of software for each computer, you'd only have to load one application. That application would allow workers to log into a Web-based service which hosts all the programs the user would need for his or her job. Remote machines owned by another company would run everything from e-mail to word processing to complex data analysis programs. It's called cloud computing, and it could change the entire computer industry"
    "There's a good chance you've already used some form of cloud computing. If you have an e-mail account with a Web-based e-mail service like Hotmail, Yahoo! Mail or Gmail, then you've had some experience with cloud computing. Instead of running an e-mail program on your computer, you log in to a Web e-mail account remotely"
    My issue is not with the license. The solution that I am looking for is
    1. Don't want the developer to download the source code in any fashion either checked out or anything else in the local machine
    2. Want the developer to work directly on the server
    3. Looking for a solution where each developer is not required to install Flex Builder locally and the developer can use Flex Builder that is installed on the server and in his workspace and create/modify build on the server itself
    Hope I could make you understand this time ................
    Regards
    Biswamit

  • Deploying AIR applications with flex & BlazeDS

    I have a Flex app which needs to run on the server in the
    background. I was thinking of turning into an AIR app since it
    really doesn't need to run on the browser. But how could I deploy
    this.
    I am sending my entire flex project as a .war file to deploy
    on the server and am using BlazeDS to work with some java backend
    code. But all of the tutorials for AIR seem to assume some sort of
    manual install method and I just want to bundle it with my current
    project. Is this possible? And if so, how is this done?

    I actually do send the PNG as a byteArray to Java from Flex
    via a remote object method. The reason I need Flex is because I
    specifically want to use the charting software package from Flex
    charting. The Flex look and feel out of the box for the interface
    and the chart is far superior to what I could create in Java.
    Here is a quick over view of what happens in the application:
    1. launch java app
    2. Java then launches a Flex instance for each report defined
    in the database
    3. java pushes live data to each Flex instance from database
    4. after Flex plots data, it sends ByteArray of the png to
    remote java method
    5. java saves png to file locally on the server
    How would you simplify this process? I'd really appreciate
    your take on this.

  • Testing adobe air application with qtp

    Hi,
    We want to test our adobe air applications with quicktest. Where can I find addin for QTP and how do the AIR applcation have to be developed? What have to be done? There is no much info in google about this.
    Thank you in advanced!

    QTP does not currently work with AIR applications.  It will work with Web deployed FLEX applications.
    I have been told by Adobe that whilst they're not sure of an exact date, they do believe that QTP will be supported in AIR with Flex 4.
    You might want to look at some alternatives:
    http://code.google.com/p/fluint/
    http://code.google.com/p/flexmonkey/
    http://www.borland.com/us/products/silk/silktest/index.html

  • AIR application with Flex 4.5 will not render content. What gives?

    OK,
    So I've upgraded to Flash Builder 4.5 Premium and I am unable to develop desktop AIR applications with the 4.5 Flex SDK. I start by simply creating a brand new AIR application using the default SDK (Flex 4.5). I set the title property on WindowedApplication and include a simple Label component. The project compiles fine but when I run the application all I see is the adl window in the dock but that's it. If I modify the Main-app.xml file to set the visible attribute to true, I will get a small window but there is no content although the output window shows the application swf being loaded. Checking the release version of the Main-app.xml file shows the correct path location to the swf.
    Here is what I've tried so far:
    Install/reinstall Flash Builder, 4+ times
    Downloaded the trial installation twice
    Downloaded the SDK's for 3.6, 4.1 and 4.5.0. I then copied each SDK folder and merged the AIR 2.6 SDK with each copy. So now I have 6 SDK versions; one pristine and the other with the AIR 2.6 SDK merged. I then added each SDK individually and created an AIR desktop application for each. Each and every one works fine with the exception of the two 4.5 SDK's. They will not render content.
    I created a simple creation complete handler for the application that declares a simple variable and assigns a value to it. I then put a break point on the assignment and it never gets caught. More evidence that the swf isn't getting loaded.
    The computer I'm running on is a Mac Book Pro with Snow Leopard 10.6.7. If I create a web project in each of the 6 SDK's, those will work just fine. What the heck is it with Flex 4.5 and the AIR 2.6 SDK on this machine? I have the AIR 2.6 runtime installed as well as a number of AIR applications that work just fine. I also tried my 4.5 test on my windows machine and that worked like a champ.
    I am completely out of ideas. Finding information has been difficult because everyone is all about mobile so searching for desktop issues is a losing battle. I realize this is a long email but I'm desperate for help. There must be someone out there that knows more about the low level interaction between Flex 4.5/AIR 2.6 and the OS.

    Well, I finally found the issue, a corrupted mm.cfg file in /Library/Application Support/Macromedia. I deleted the file and then adl ran just fine.

  • Software Center Application Uninstallation Button Greyed Out and Deploying an Application with Uninstall switch Fails

    Hi,
    I tried everything I could find on the internet but no luck so far. I can successfully deploy MS Visio 2013 to the clients. I also want to be able to uninstall it from the clients. On the client machine Uninstall button is greyed out. This deployment is
    installed as "Available" and there is only one deployment type within that MS Visio 2013 Application.
    I tried the following uninstall commands in my deployment:
    setup.exe /uninstall
    setup.exe /uninstall
    VisPro
    /config .\vispro.ww\uninstallvisio.xml
    “\\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\setup.exe” /uninstall VisPro /config "\\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\vispro.ww\uninstallvisio.xml"
    \\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\setup.exe /uninstall VisPro /config \\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\vispro.ww\uninstallvisio.xml
    I checked Product ID from Setup.xml and I know it is correct. My uninstallvisio.xml' content is below:
    <Configuration Product="VisPro">
    <Display Level="basic" CompletionNotice="yes" SuppressModal="yes" AcceptEula="yes" />
    <Setting Id="SETUP_REBOOT" Value="Never" />
    </Configuration>
    Last night, I downloaded and installed Cumulative Update 1 for SCCM 2012 R2 and I haven't tried the deployment after the update,yet. I will try it today but please let me know what else to check.
    Yavuz Selim Atmaca

    After I updated SCCM Server and test client pc with CU1 , I tried to deploy visio as Required. It installed successfully. Then I uninstalled visio by deploying the application with Uninstall Action.
    After that I tried to deploy visio as "Available" to see if Software Center Uninstall button works. However visio deployment does not come to Software Center's Available Applications List. I check the status of the deployment under the Deployments monitoring
    node and it says Success "Already Compliant". I dont know what it means. Does config manager thinks that visio already installed?
    Yavuz Selim Atmaca
    2 or 3 hours later that -Succes "Already Compliant"- status of the deployment under the Deployments monitoring node is vanished automatically and Software Center application list showed the new deployment. I installed it and  uninstalled it succesfully.
    So, you are right Solution is the CU1 but I am still wondering why my available deployment took so time to be visible in Software Center althought I didn't enter any schedule to be available.
    Yavuz Selim Atmaca

  • How to Deploy J2ME applications with data in RMS?

    Hello everyone,
    I am designing a J2ME application, a simple "Who wants to be a millionaire game". It stores questions and answers from a rms datastore. I want to to how can I deploy this application with questions and answers in the recordstore. Each time I run the emulator, the data stored previously gets deleted. Is it possible to attach the rms recordstore along with the .jar or .jad files? If so how can I do it. Please help.
    Thank you all in advance.

    Thank you Sypress.. When I install it the code works fine. But I wanted to include data with the application. I think I found a way way. I added the data in a text file and while starting the application I inserted data from the file into the recordstore.

  • The error when I deploy ess application with SDM

    SOS!!!when I deploy ess application with SDM(ESS05P_1-10002965.sca), It failed.please help me.
    The trace file:
    #1.5#00145ED221BE00F7000000B90011A07C0004421B32EEBBA8#1198584492898#com.sap.engine.services.webdynpro.WebDynproContainer##com.sap.engine.services.webdynpro.WebDynproContainer#J2EE_ADMIN#15220####0f7fa990b2e211dca62200145ed221be#SAPEngine_Application_Thread[impl:3]_173##0#0#Error#1#/System/UserInterface#Java###Failed to deploy application '''' for deployment state listener ''''.
    [EXCEPTION]
    #3#sap.com/essauaddr#com.sap.tc.webdynpro.serverimpl.wdc.repository.RepositoryContainerHook#com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Failed to deploy the file '/usr/sap/EP1/DVEBMGS02/j2ee/cluster/server0/./temp/webdynpro/public/sap.com/essauaddr/webdynpro/Applications/com.sap.xss.hr.per.au.address.Per_Address_AU/Per_Address_AU.xml' into the database. Reason: Development Object 'sap.com/ess~au' contains already same repository content. Hint: fully qualified name of the repository VMO must be globally unique.
         at com.sap.tc.webdynpro.repository.deploy.RepositoryUpdateManager.checkVMOsExistInOtherDC(RepositoryUpdateManager.java:504)
         at com.sap.tc.webdynpro.repository.deploy.RepositoryUpdateManager.deployRepositoryContent(RepositoryUpdateManager.java:98)
         at com.sap.tc.webdynpro.serverimpl.wdc.repository.RepositoryContainerHook.onDeploy(RepositoryContainerHook.java:232)
         at com.sap.engine.services.webdynpro.WebDynproContainer.deploy(WebDynproContainer.java:1007)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    #1.5#00145ED221BE00F7000000BB0011A07C0004421B32EF7CEE#1198584492948#com.sap.engine.services.deploy##com.sap.engine.services.deploy#J2EE_ADMIN#15220####0f7fa990b2e211dca62200145ed221be#SAPEngine_Application_Thread[impl:3]_173##0#0#Error#1#/System/Server#Java#deploy_5029##Exception in operation deploy with application sap.com/essauaddr.#2#deploy#sap.com/essauaddr#
    #1.5#00145ED221BE00F7000000BC0011A07C0004421B32EF7F24#1198584492949#com.sap.engine.services.deploy##com.sap.engine.services.deploy#J2EE_ADMIN#15220####0f7fa990b2e211dca62200145ed221be#SAPEngine_Application_Thread[impl:3]_173##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception in operation deploy with application sap.com/essauaddr.
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.rollbackPart(ApplicationTransaction.java:394)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:294)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Cannot deploy application sap.com/essauaddr.
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:330)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         ... 13 more
    Caused by: com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application sap.com/essauaddr. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
         at com.sap.engine.services.webdynpro.WebDynproContainer.deploy(WebDynproContainer.java:1016)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
         ... 15 more

    Check these below links
    https://forums.sdn.sap.com/click.jspa?searchID=7622331&messageID=4611860
    https://forums.sdn.sap.com/click.jspa?searchID=7622331&messageID=4562067
    https://forums.sdn.sap.com/click.jspa?searchID=7622331&messageID=4258751
    https://forums.sdn.sap.com/click.jspa?searchID=7622331&messageID=4474525
    https://forums.sdn.sap.com/click.jspa?searchID=7622331&messageID=4543091
    https://forums.sdn.sap.com/click.jspa?searchID=7622331&messageID=4368694
    reward points if helpful

  • How to deploy cairngorm application with FTP support?

    Hi,
    I have a cairngorm application, it works fine in my local
    computer.
    But I need to upload it to a website in my web hosting
    company with FTP,
    but it doesn't work in the hosting server because I can not
    add the cairngorm.swc file to the application.
    Please give me a idea how to deploy the application with ftp
    software.
    Thanks a lot
    Mark

    Any opinions are welcome

  • Compile AIR application with Ant (WindowedApplication could not be found)

    I'm trying to compile my AIR application with Ant, using the mxmlc Ant Task. It seems to compile fine, and I get a .swf, but when I try to run it with ADL, I get the message "Class mx.core::WindowedApplication could not be found." It looks like the AIR libraries aren't being included properly.
    Here's my mxmlc task:
    Class mx.core::WindowedApplication could not be found.
    <mxmlc
         file="${MAIN_MXML}"
         output="${DEPLOY_DIR}/MyApp.swf"
         compatibility-version="3"
         locale="en_US"
         static-rsls="true"
         debug="${DEBUG_FLAG}"
         optimize="true"
         link-report="${DEPLOY_DIR}/report.xml"
         configname="air">
         <load-config filename="${FLEX_HOME}/frameworks/air-config.xml" />
         <library-path dir="${FLEX_HOME}/frameworks/libs" append="true">
              <include name="*.swc" />
         </library-path>
         <library-path dir="${FLEX_HOME}/frameworks/libs/air" append="true">
              <include name="*.swc" />
         </library-path>
         <library-path dir="${FLEX_HOME}/frameworks/locale" append="true">
              <include name="{locale}" />
         </library-path>
         <source-path path-element="${SRC_DIR}" />
    </mxmlc>
    Any idea why this is happening? I've tried not including the load-config section and not including the library paths, but it's always the same result - it can't find WindowedApplication.
    Thanks!

    Hi, Guys!
    I ran into the same problem when i tried to write an ant-script to compile the asDocs for my project.
    After reading shades post i added the air-config (This resolved the WindowApplication couldn't be found error, because it adds all the air libs i guess)
    but lead to the problem that the flex vector-class wasn't found. As Vector is flashplayer 10.0.0 i also
    used the target-player parameter (This fixed that nicely).
    But now i got the problem that i get lots of this error msgs: DepartmentItemRendererClass.as(11):
    Error: The private attribute may be used only on class property definitions.
    I guess the problem now is that ant doesn't understand that the AS-Classes producing that errors are not used as
    standalone-classes. To divide my mxml and AS-Code i import external AS-Classes to my MXML
    like that <mx:Script source="ascodeClass.as" />
    Is there a solution allowing me to use this pattern and still compile my asDoc with ant?
    It confuses me a little, because Ant-Scripts worked to compile the project.
    Thanks in advance!
    Florian
    My Ant-Script producing that error:
    <project name="Red bull BPT 2.0: Generate ASDoc" basedir=".">
        <description>
           Creates the ASDoc for Red Bull BPT 2.0
        </description>
        <property file="FlexbuilderASDocAntTask.properties" />
        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
        <target name="cleanAndCreateASDoc"
                depends="cleanASDoc, compileASDoc"
                description="Cleans and creates Actionscript-Documentation"
                />
            <!-- Delete the existing output folder and files and then regenerate the output folder -->
                <target name="cleanASDoc">
                    <echo>Deleting ASDoc Directory...</echo>
                        <!--Delete the folder specified for the Asdoc.dir variable-->
                        <delete dir="${Asdoc.dir}" failOnError="false" includeEmptyDirs="true" />
                        <echo>Deleted ASDoc Directory</echo>
                        <echo>Creating ASDoc Directory...</echo>
                        <!--Creates the folder specified for the Asdoc.dir variable-->
                        <mkdir dir="${Asdoc.dir}" />
                    <echo>Created ASDoc Directory</echo>
                </target>
            <!-- Run the ASDoc executable and generate the ASDocs to the new output folder -->
                <target name="compileASDoc">
                    <echo>ASDoc Compiling...</echo>
                        <exec executable="${AsDocs.executable}" failonerror="true">
                        <!--THIS SEEMS TO SOLVE THE WINDOWEDAPPLICATION AND FOLLOWING VECTOR ERROR -->   
                            <arg line="-load-config ${FLEX_HOME}/frameworks/air-config.xml" />
                            <arg line="-target-player 10.0.0" />
                        <!--THIS SEEMS TO SOLVE THE WINDOWEDAPPLICATION AND FOLLOWING VECTOR ERROR -->
                        <!--Main title for the top of all ASDoc pages-->
                            <arg line="-main-title '${Main.title}'" />
                        <!--Prefix Title of the window-->
                            <arg line="-window-title '${Window.title}'" />
                        <!--Defines the output directory for the ASDoc-Files-->
                            <arg line="-output '${Asdoc.dir}'" />
                        <!--Footer added to each ASDoc page-->
                            <arg line="-footer '${Footer.text}'" />
                        <!--Adding the source folders the ASDoc should be created from (Start)-->
                            <arg line="-doc-sources '${ModuleBaseDir}/source'" />
                        <!--Adding the source folders the ASDoc should be created from (End)-->
                        <!--Adding the folders for external Libraries needed to compile the application(Start)-->
                            <arg line="-external-library-path '${ModuleBaseDir}/libs'" />
                        <!--Adding the folders for external Libraries needed to compile the application(End)-->
                        </exec>
                    <echo>ASDoc Compile Complete!</echo>
        </target>
    </project>

  • Deploying APEX application with web host

    Hi guys,
    Whats the process of deploying APEX application with a webHost?
    We got a good deal from a web host with dedicated database, it still being processed.
    Currently we have a domain name hosted elsewhere (non APEX host) . What I am planning to do is, create a subdomain with our existing web host and point it to the IP address of the DB machine the apex host will give us.
    So I am guessing the process will involve:
    1) getting the IP address of the database machine
    2) configure the my existing web hosting setup to create a sub-domain and make it point to the IP address (for example 174.184.223.441)
    Would I need Port number of the machine running Oracle DB with APEX and the local IP address (the one starts with 10.0.0.xxx) etc?
    Would be grateful if someone can share what you did given you already have a domain hosted and need to create a subdomain to make it point to another APEX host.

    Hi Jim,
    Try to replace,
    <jnlp spec="1.0+" codebase="http://localhost:8080/fileviewer" href="index.jnlp">
    with
    <jnlp spec="1.0+" codebase="$$codebase" href="index.jnlp">
    But i was using JNlpdownload servlet to do the task
    Regards
    Leo

  • Building AIR Applications with the NetBeans IDE

    Hello Everyone,
    Here's a link to screencast showing you how to Build AIR
    Applications with the NetBeans IDE.
    http://xwisdomhtml.com/netbeans-and-air.html

    Neat!

  • Any script or tool to deploy small applications like Antivirus or Management agents remotely

    Any script or tool to deploy small applications like Antivirus or Management agents remotely..? user will not have admin rights and they will be connected remotely mostly on VPN.
    Unable to achieve mush results with SCCM as its depended on agent communication.
    Please let me know if any other options to achieve this..
    Thank you
    Kris

    Hi,
    Prewritten scripts can be found in the repository:
    http://gallery.technet.microsoft.com/scriptcenter
    I recommend using ConfigMgr. It works just fine over a VPN or public internet.
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • How can you run a command with elevated rights on a remote server with invoke-command ?

    I am trying to run a script on a remote server with invoke-command.  The script is starting and is running fine, but the problem is that it should be running with elevated rights on the remote server.  On the server where I start the invoke-command, my account has the necessary rights.
    The server were I launch the invoke-command is a W2K8 R2.  The remote box is a W2K3 with powershell v2.0 installed.
    When I launch the script on the remote-box from the command line, I don't get the access denied's.
    Is there a way to do this ?
    Thanks in advance

    The script that I want to run is to install the windows updates.  I get an access denied on the download of the updates.
    When I execute the script on an W2K8 box, (not remotely) and I run it with non-elevated rights, I get the same error.
    The script is running fine when it is launched on W2K3 box locally with a domain account that has local admin rights, or on a W2K8 R2 server with a domain account that has local admin rights, but with elevated rights.
    Thanks in advance for your help.
    #=== start script ====
    param($installOption="TESTINSTALL",$rebootOption="NOREBOOT")
    Function Show-Help
    Write-Host ""
    Write-Host "SCRIPT: $scriptName <installOption> <RebootOption>"
    Write-Host ""
    Write-Host "DESCRIPTION: Installatie van WSUS updates op de lokale server"
    Write-Host ""
    Write-Host "PARAMETERS"
    Write-Host " -installOption <[INSTALL|TESTINSTALL]>"
    Write-Host " -rebootOption <[REBOOT|NOREBOOT|REBOOT_IF_UPDATED]>"
    Write-Host ""
    Write-Host "EXAMPLE:"
    Write-Host "$ScriptName -installOption INSTALL -rebootOption REBOOT_IF_UPDATED"
    Write-Host "$ScriptNAme INSTALL NOREBOOT"
    Write-Host ""
    Write-Host "Indien beide parameter weggelaten worden zijn de defaultwaarden :"
    Write-Host " installOption=TESTINSTALL "
    Write-Host " RebootOption=NOREBOOT"
    Write-Host ""
    Exit
    #Include alle globale variablen
    $CEIF_WIN_PATH = (get-content env:CEIF_WIN_PATH)
    $includeFile=$CEIF_WIN_PATH + "\Scripts\include_win.ps1"
    . $includeFile
    #initialiseer error count
    $errcnt=0
    $scriptName=$MyInvocation.MyCommand.Name
    #argumenten controleren
    $arrInstallOption= "TESTINSTALL", "INSTALL" # Mandatory variable with predefined values
    If (!($arrInstallOption –contains $installOption)){ Show-Help }
    $arrRebootOption = "REBOOT", "NOREBOOT","REBOOT_IF_UPDATED" # Mandatory variable with predefined values
    If (!($arrRebootOption –contains $rebootOption)){ Show-Help }
    #Logfile opbouwen
    $logfile = get-logfileName($MyInvocation.MyCommand.Name)
    Log-scriptStart $MyInvocation.MyCommand.Name $logfile
    function Get-WIAStatusValue($value)
    switch -exact ($value)
    0 {"NotStarted"}
    1 {"InProgress"}
    2 {"Succeeded"}
    3 {"SucceededWithErrors"}
    4 {"Failed"}
    5 {"Aborted"}
    function boot-server()
    if ($installOption -eq "TESTINSTALL")
    logger "TESTINSTALL : - Reboot local Server" $logfile
    else
    logger " - Reboot local Server" $logfile
    $thisServer = gwmi win32_operatingsystem
    $thisServer.psbase.Scope.Options.EnablePrivileges = $true
    $thisServer.Reboot()
    $logmsg="Install option = " + $installOption + ", RebootOption = $rebootOption"
    logger "$logmsg" $logfile
    logger "" $logfile
    logger " - Creating WU COM object" $logfile
    $UpdateSession = New-Object -ComObject Microsoft.Update.Session
    $UpdateSearcher = $UpdateSession.CreateUpdateSearcher()
    logger " - Searching for Updates" $logfile
    $SearchResult = $UpdateSearcher.Search("IsAssigned=1 and IsHidden=0 and IsInstalled=0")
    logger " - Found [$($SearchResult.Updates.count)] Updates to Download and install" $logfile
    $Updates=$($SearchResult.Updates.count)
    logger "" $logfile
    foreach($Update in $SearchResult.Updates)
    if ($Update.EulaAccepted -eq 0)
    $Update.AcceptEula()
    # Add Update to Collection
    $UpdatesCollection = New-Object -ComObject Microsoft.Update.UpdateColl
    $UpdatesCollection.Add($Update) | out-null
    if ($installOption -eq "TESTINSTALL")
    else
    # Download
    logger " + Downloading Update $($Update.Title)" $logfile
    $UpdatesDownloader = $UpdateSession.CreateUpdateDownloader()
    $UpdatesDownloader.Updates = $UpdatesCollection
    $DownloadResult = $UpdatesDownloader.Download()
    $Message = " - Download {0}" -f (Get-WIAStatusValue $DownloadResult.ResultCode)
    if ($DownloadResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    # Install
    logger " - Installing Update" $logfile
    $UpdatesInstaller = $UpdateSession.CreateUpdateInstaller()
    $UpdatesInstaller.Updates = $UpdatesCollection
    $InstallResult = $UpdatesInstaller.Install()
    $Message = " - Install {0}" -f (Get-WIAStatusValue $InstallResult.ResultCode)
    if ($InstallResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    logger "" $logfile
    #Indien er een fout gebeurde tijdens download/installatie -> stuur mail naar windowsteam
    if ( $errcnt -gt 0 )
    logger " - Fout tijdens de uitvoering van script -> send mail" $logfile
    $mailSubject=$MyInvocation.MyCommand.Name
    $msg = new-object Net.Mail.MailMessage
    $att = new-object Net.Mail.Attachment($logfile)
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $msg.From = $mailFrom
    $msg.To.Add($mailTo)
    $msg.Subject = $mailSubject
    $msg.Body = “Meer details in attachement”
    $msg.Attachments.Add($att)
    $smtp.Send($msg)
    #Moet de server herstart worden ?
    if ($rebootOption -eq "REBOOT_IF_UPDATED" )
    if ($Updates -gt 0)
    #Reboot the server when updates are installed
    boot-server
    elseif ($rebootOption -eq "REBOOT")
    #reboot the server always
    boot-server
    else
    #Do not reboot the server
    logger "Do not reboot the server" $logfile
    Log-scriptEnd $MyInvocation.MyCommand.Name $logfile
    exit 0

  • Deploy air application

    Hi there,
    I built an air application. Now I have to deploy it to my
    client who might not have AIR runtime installed and not access
    internet. I need some help about how to deploy in this situation.
    Thanks in advance.

    Looks like you will need to distribute the AIR Runtime with
    your app.
    You can find out the information about redistribute AIR
    Runtime here:
    http://www.mikechambers.com/blog/2008/04/07/redistributing-the-adobe-air-runtime-installer /
    -ted

Maybe you are looking for

  • How can I generate a list of enumerations of possible cases?

    Hi there, I appologize if this question is answered in the boards but I did look and was not able to find anything that helped me.   I have a case structure that runs a specific test when that test is called in a text file.  The case structure is bur

  • Use as external monitor?

    Hello, i don't have much room in my livingroom and want to use my iMac 27-inch, (Mid 2011) as a external monitor for my ps3, is this possible?, as i remember it was in earlier models 2009 something with Target Display Mode but im unabel to find a sol

  • Bug in 4.1?

    I created a master detail form in APEX 3.2, but it stopped working once we upgraded to 4.1 (4.1.0.00.32). It's throwing a not found error on a sequence. After looking through the debug, I noticed the problem.. The query it is trying to run is: select

  • [ASK] how to edit URLattachment link in worklist FM SAP_WAPI_ATTACHMENT_ADD

    hi, i have problem when i click URL attachment in my worklist in web-ui i used fm SAP_WAPI_ATTACHMENT_ADD when i create that URL attachment in BOR ZUS2010020. i used this code in my method :    URL1 = 'zcrm_mkt_001/cmpgn_approval.htm?work_item_id='.

  • How do I set up 64GB SSD, and a 750GB WD Black on my K9a2 Plat ? Plz help

    Hi I am going nuts here !!! I have now installed windows 7 64-bit several times with different settings and for some reason I'm still moving slow. I went out and bought a 64 GB crucial ssd and a 750 GB wd Black because the windows system rating was h