Invocation API to launch an application

Hi!
Is it really possible to "start " a java VM from an application written in java?
The page: http://java.sun.com/j2se/1.4.2/docs/guide/jni/spec/invocation.html describes some c++ code that shall do the job I guess....?....but I can't say that I understand everything of it....
There isn't a simple step by step tutorial out there which describes how it shall be done?
And what is the "Java application launcher" which the writers of JRE Install Notes 1.4.2 (http://java.sun.com/j2se/1.4.2/jre/install-windows.html) refer to at the bottom of the text?
Final question: which jre shall I download and install - Windows Offline Installation, Multi-language?.....
the tutorial http://java.sun.com/j2se/1.4.2/docs/guide/jni/spec/invocation.html talks about different JVM - jdk 1.1, Netscape ......
Could someone please enlight me in this topic?
Thanks

First of all, I think the "launcher" mentioned in JRE doc is just a terminology and not a concrete entity. I suppose when you change the setting in Netscape or IE so that it can invokes the Java VM automatically each time there's Java code, that's the equivalent of a "launcher". That's why they say if you want to bypass this "launching" mechanism, you can use Invocation API to do it yourself (or invoke it from something other than Netscape or IE, say, your own self-written software).
Normally when you're running a Java program, you're inside a JVM, and there's no need to "start" another VM, right? But, just for discussion purpose, if you really want to start another JVM in another "working" space, then yes, I think you can use the Invocation API to do just that. It's a bit awkward, since you'll have to use JNI to call out from Java to C++, then inside the C++ code, invoke JNI_CreateJavaVM() to create a new JVM and work in there. Then call jvm->DestroyJavaVM when you're done. Note that all JVM run from jvm.dll, so they may decide to recycle the very JVM that you were starting from (thus defeating our purpose). But in my opinion it most likely will not (be recycled) and will be a brandnew JVM.
If you're not sure then try to use the JNI tutorial first. The invocation API is just a part of JNI. Once you're comfortable with calling Java -> C++, then things'll become much clearer.

Similar Messages

  • Application Error, Unable to launch the application Blackboard Collaborate

    I recently updated to Java 7 so I could use this service. I called up Blackboard support when it would not load and they told me to clear Cache, try downloading new deployment file, disable Windows firewall and nothing worked. They then told me to delete all versions of Java I had installed and reinstall Java 6. Here are the execeptions in the error message. Below I posted the
    JeNeLa report, can someone help me?
    Thanks
    JaNeLA Report - version 11.05.17
    Report for https://sas.elluminate.com/site/external/recording/playback/link/meeting.jnlp?suid=M.443BA574762A8747628C022B8E8DE2&sid=329
    Content type text/html;charset=utf-8 does not equal expected type of application/x-java-jnlp-file
    The entity "copy" was referenced, but not declared.
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://na-downloads.elluminate.com/web/download/12.0/video-client-windows-x86.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine._downloadCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.net.SocketException: Address family not supported by protocol family: connect
         at java.net.DualStackPlainSocketImpl.connect0(Native Method)
         at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
         at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
         at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine._downloadCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Hi, I've missed three weeks of classes because of the same error listed above.  Everything was fine and Blackboard Collaborate Elluminate worked almost effortlessly for 5 or 6 weeks.  Suddenly I tried to log in for a live lecture and this error occurred.  Other students were having trouble and still are.  Tech support at the school couldn't fix it, so they referred me to Blackboard Collaborate tech support (level 2).  They haven't been able to fix it either.  They recommended the same steps listed at the top of this email.  I executed all of them but still receive the same error.  Additionally, at one point, I was unable to install Java.  Funny things seem to happen when I get on the line with tech support to solve this problem, although funny things don't happen during the other work I do on this computer.  Technical language, I know.  :-)
    In an effort to pass the class, I am doing research on own to try to fix this and get into the lectures.
    I am getting the same error listed above but am not a developer and don't understand how to get to JNLP to enter the fix listed above (if someone has a hint, I'd love to try that fix).
    Any help would be very much appreciated. 
    System Info
    OS:  Windows 8
    Browsers:  IE (threw this one out), Chrome, Firefox, Safari (tested in all four)
    Sample of Recorded lectures I'm trying to access (missed live ones):
    1.  https://sas.elluminate.com/mr.jnlp?suid=M.60B248A725D4A32CA5B76ADD737480&sid=99
    2.  https://sas.elluminate.com/mr.jnlp?suid=M.439DBCFAF3A92D0CF4463E08F292FF&sid=99
    3.  https://sas.elluminate.com/mr.jnlp?suid=M.CEEE93FF5E74424C9522175933AEAB&sid=99
    4.  https://sas.elluminate.com/mr.jnlp?suid=M.5CBD227A9E691833B971171B71F3F5&sid=99
    5.  https://sas.elluminate.com/mr.jnlp?suid=M.A3B01958884535C4DA594910D08F3A&sid=99
    6.  https://sas.elluminate.com/mr.jnlp?suid=M.F7B438C6DDB82538CAFC2F4EF86FC4&sid=99
    7.  https://sas.elluminate.com/mr.jnlp?suid=M.B341AF2AE689D0DEFDCC7261ADA1DE&sid=99
    8.  https://sas.elluminate.com/mr.jnlp?suid=M.5EDE7727548758A71965665DE7B882&sid=99
    9.  https://sas.elluminate.com/mr.jnlp?suid=M.DF55C212D327654AE0969C0387E763&sid=99
    10.  https://sas.elluminate.com/mr.jnlp?suid=M.08C2668EDDCE02548EFB530E0A2370&sid=99
    Here are steps taken so far:
    1. Clear Java Installed Apps and Applets (Control Panel - Java 32-bit - SEttings - Delete files - Installed apps and applets - ok - ok - ok)
    2.  Delete all files in Downloads folder (from all browsers)
    3.  Allow Java in Windows firewall (Start screen - hold down Windows key and W - Search for "firewall" - Navigate to Java program name - click all boxes and save)
    4.  Ran CCleaner to remove all temporary internet files, cookies, etc. that could be interfering
    5.  When nothing else worked, uninstalled and reinstalled Java twice (on the second time, it took over a dozen tries to reinstall Java - suddenly it just worked) and both times I deleted the Sun folder (C:/Users/Me/appdata/LocalLow/Sun) at the direction of tech support
    6.  Removed old registry entries both times using CCleaner
    7.  Rebooted (something done all along the way to see if it helped)
    8.  Tried to access live classes and recordings from multiple lectures through Blackboard Collaborate Elluminate and received the same error (details included below)
    9.  Tried to access Blackboard Collaborate Elluminate with Windows firewall on, then Windows firewall off, then ZoneAlarm Extreme firewall on, then ZoneAlarm Extreme firewall off (and entire associated software package); when on, ZoneAlarm gives "super" trusted status to all parts of Java listed and gives green checkmarks for all parts of Java listed and all levels of security
    10.  End results so far:  receiving same error - nothing works
    Here's the error followed by a copy of all text from the details section.
    ERROR INFO BEGIN (my note on beginning of actual error language)
    Application Error
    Unable to launch the application.
    Name:  Blackboard Collaborate
    Publisher:  Blackboard Collaborate
    Location:  https://.../classroom-full.jar
    ERROR INFO END (my note on end of actual error language)
    ERROR More Information BEGIN
    Error:  Unable to load resource:  https://na-downloads.elluminate.com/web/download/12.5/video-client-windows-x86.jar
    ERROR More Information END
    DETAILS BEGIN
    Details - Launch File Tab
    <jnlp spec="1.5+" codebase="https://na-downloads.elluminate.com/web/download/12.5">
      <information>
        <title>Blackboard Collaborate</title>
        <vendor>Blackboard Collaborate</vendor>
        <description>Blackboard Collaborate Virtual Classroom</description>
        <icon href="gemini.png"/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="always" policy="always"/>
      <resources os="Mac\ OS\ X">
        <j2se version="1.6" java-vm-args="-Xincgc" initial-heap-size="512m" max-heap-size="512m"/>
        <j2se version="1.7+" initial-heap-size="512m" max-heap-size="512m"/>
      </resources>
      <resources os="Mac\ OS\ X" arch="ppc">
        <nativelib href="audio-client-macosx-ppc.jar"/>
        <nativelib href="video-client-macosx-ppc.jar"/>
        <nativelib href="classroom-browser-macosx-ppc.jar"/>
        <nativelib href="audio-client-ecelp-macosx-ppc.jar"/>
        <nativelib href="classroom-util-platform-macosx-ppc.jar"/>
        <nativelib href="classroom-gui-macosx-ppc.jar"/>
        <nativelib href="appshare-client-macosx-ppc.jar"/>
      </resources>
      <resources os="Mac\ OS\ X" arch="i386">
        <nativelib href="appshare-client-macosx-x86.jar"/>
        <nativelib href="audio-client-macosx-x86.jar"/>
        <nativelib href="audio-client-ecelp-macosx-x86.jar"/>
        <nativelib href="video-client-macosx-x86.jar"/>
        <nativelib href="classroom-browser-macosx-x86.jar"/>
        <nativelib href="audio-client-webrtc-macosx-x86.jar"/>
        <nativelib href="classroom-gui-macosx-x86.jar"/>
        <nativelib href="classroom-util-platform-macosx-x86.jar"/>
        <jar href="engine-webkit-3.3.jar"/>
      </resources>
      <resources os="Mac\ OS\ X" arch="x86_64">
        <nativelib href="audio-client-macosx-x86_64.jar"/>
        <nativelib href="classroom-browser-macosx-x86_64.jar"/>
        <nativelib href="classroom-util-platform-macosx-x86_64.jar"/>
        <nativelib href="audio-client-webrtc-macosx-x86_64.jar"/>
        <nativelib href="classroom-gui-macosx-x86_64.jar"/>
        <nativelib href="video-client-macosx-x86_64.jar"/>
        <nativelib href="audio-client-ecelp-macosx-x86_64.jar"/>
        <nativelib href="appshare-client-macosx-x86_64.jar"/>
        <jar href="engine-webkit-3.3.jar"/>
      </resources>
      <resources os="Windows">
        <j2se version="1.6+" java-vm-args="-Xincgc" initial-heap-size="512m" max-heap-size="512m"/>
      </resources>
      <resources os="Windows" arch="x86">
        <nativelib href="video-client-windows-x86.jar"/>
        <nativelib href="audio-client-windows-x86.jar"/>
        <nativelib href="audio-client-ecelp-windows-x86.jar"/>
        <nativelib href="classroom-util-platform-windows-x86.jar"/>
        <nativelib href="appshare-client-windows-x86.jar"/>
        <nativelib href="audio-client-webrtc-windows-x86.jar"/>
        <nativelib href="classroom-gui-windows-x86.jar"/>
      </resources>
      <resources os="Windows" arch="x86_64 amd64">
        <nativelib href="audio-client-webrtc-windows-x86_64.jar"/>
        <nativelib href="classroom-util-platform-windows-x86_64.jar"/>
        <nativelib href="audio-client-windows-x86_64.jar"/>
        <nativelib href="video-client-windows-x86_64.jar"/>
        <nativelib href="audio-client-ecelp-windows-x86_64.jar"/>
        <nativelib href="classroom-gui-windows-x86_64.jar"/>
        <nativelib href="appshare-client-windows-x86_64.jar"/>
      </resources>
      <resources os="SunOS" arch="sparc">
        <j2se version="1.6+" java-vm-args="-Xincgc" initial-heap-size="512m" max-heap-size="512m"/>
        <nativelib href="appshare-client-solaris-sparc.jar"/>
        <nativelib href="audio-client-ecelp-solaris-sparc.jar"/>
        <nativelib href="classroom-gui-solaris-sparc.jar"/>
      </resources>
      <resources os="Linux">
        <j2se version="1.6+" java-vm-args="-Xincgc" initial-heap-size="512m" max-heap-size="512m"/>
      </resources>
      <resources os="Linux" arch="i386 x86">
        <nativelib href="classroom-gui-linux-x86.jar"/>
        <nativelib href="audio-client-ecelp-linux-x86.jar"/>
        <nativelib href="appshare-client-linux-x86.jar"/>
        <nativelib href="video-client-linux-x86.jar"/>
      </resources>
      <resources os="Linux" arch="x86_64 amd64">
        <nativelib href="audio-client-ecelp-linux-x86_64.jar"/>
        <nativelib href="appshare-client-linux-x86_64.jar"/>
        <nativelib href="video-client-linux-x86_64.jar"/>
        <nativelib href="classroom-gui-linux-x86_64.jar"/>
      </resources>
      <resources locale="ar">
        <jar href="lang-ar.jar"/>
      </resources>
      <resources locale="bg">
        <jar href="lang-bg.jar"/>
      </resources>
      <resources locale="cy">
        <jar href="lang-cy.jar"/>
      </resources>
      <resources locale="da">
        <jar href="lang-da.jar"/>
      </resources>
      <resources locale="de">
        <jar href="lang-de.jar"/>
      </resources>
      <resources locale="en_GB">
        <jar href="lang-en_GB.jar"/>
      </resources>
      <resources locale="es">
        <jar href="lang-es.jar"/>
      </resources>
      <resources locale="fr">
        <jar href="lang-fr.jar"/>
      </resources>
      <resources locale="it">
        <jar href="lang-it.jar"/>
      </resources>
      <resources locale="iw">
        <jar href="lang-iw.jar"/>
      </resources>
      <resources locale="ja">
        <jar href="lang-ja.jar"/>
      </resources>
      <resources locale="ko">
        <jar href="lang-ko.jar"/>
      </resources>
      <resources locale="nl">
        <jar href="lang-nl.jar"/>
      </resources>
      <resources locale="pl">
        <jar href="lang-pl.jar"/>
      </resources>
      <resources locale="pt_BR">
        <jar href="lang-pt_BR.jar"/>
      </resources>
      <resources locale="ru">
        <jar href="lang-ru.jar"/>
      </resources>
      <resources locale="sv">
        <jar href="lang-sv.jar"/>
      </resources>
      <resources locale="th">
        <jar href="lang-th.jar"/>
      </resources>
      <resources locale="tr">
        <jar href="lang-tr.jar"/>
      </resources>
      <resources locale="vi">
        <jar href="lang-vi.jar"/>
      </resources>
      <resources locale="zh_CN">
        <jar href="lang-zh_CN.jar"/>
      </resources>
      <resources locale="zh_TW">
        <jar href="lang-zh_TW.jar"/>
      </resources>
      <resources>
        <j2se version="1.6+" initial-heap-size="512m" max-heap-size="512m"/>
        <property name="sun.jnu.encoding" value="UTF-8"/>
        <property name="apple.laf.useScreenMenuBar" value="true"/>
        <property name="apple.awt.window.position.forceSafeProgrammaticPositioning" value="false"/>
        <property name="jnlp.packEnabled" value="true"/>
        <jar href="classroom-full.jar" main="true"/>
        <jar href="guice-2.0-no_aop.jar"/>
        <jar href="classroom-mrf.jar"/>
        <jar href="classroom-version.jar"/>
        <jar href="classroom-util.jar"/>
        <jar href="classroom-capture.jar"/>
        <jar href="extra.jar"/>
        <jar href="classroom-gui.jar"/>
        <jar href="jinx-core.jar"/>
        <jar href="classroom-core.jar"/>
        <jar href="classroom-mlf.jar"/>
        <jar href="classroom-session.jar"/>
        <jar href="classroom-feature.jar"/>
        <jar href="classroom-imps.jar"/>
        <jar href="classroom-location.jar"/>
        <jar href="classroom-swing.jar"/>
        <jar href="wsfix.jar"/>
        <jar href="classroom-app.jar"/>
        <jar href="view-core.jar"/>
        <jar href="jinx-client.jar"/>
        <jar href="view-client.jar"/>
        <jar href="video-core.jar"/>
        <jar href="command-engine.jar"/>
        <jar href="video-client.jar"/>
        <jar href="online-client.jar"/>
        <jar href="recorder-core.jar"/>
        <jar href="recorder-client.jar"/>
        <jar href="chair-core.jar"/>
        <jar href="chair-client.jar"/>
        <jar href="chat-core.jar"/>
        <jar href="chat-client.jar"/>
        <jar href="polling-core.jar"/>
        <jar href="polling-client.jar"/>
        <jar href="starttime-core.jar"/>
        <jar href="starttime-client.jar"/>
        <jar href="jdom-1.0.jar"/>
        <jar href="profile-core.jar"/>
        <jar href="profile-client.jar"/>
        <jar href="player-client.jar"/>
        <jar href="hand-core.jar"/>
        <jar href="hand-client.jar"/>
        <jar href="notes-core.jar"/>
        <jar href="notes-client.jar"/>
        <jar href="participant-core.jar"/>
        <jar href="participant-client.jar"/>
        <jar href="calculator-core.jar"/>
        <jar href="calculator-client.jar"/>
        <jar href="transfer-core.jar"/>
        <jar href="transfer-client.jar"/>
        <jar href="timer-core.jar"/>
        <jar href="timer-client.jar"/>
        <jar href="whiteboard-core.jar"/>
        <jar href="whiteboard-palette.jar"/>
        <jar href="itext-0.40.jar"/>
        <jar href="whiteboard-client.jar"/>
        <jar href="breakout-core.jar"/>
        <jar href="breakout-client.jar"/>
        <jar href="activity-core.jar"/>
        <jar href="activity-client.jar"/>
        <jar href="hazelcast-2.3.1.jar"/>
        <jar href="clustering.jar"/>
        <jar href="lm-core.jar"/>
        <jar href="lm-client.jar"/>
        <jar href="telephony-core.jar"/>
        <jar href="telephony-client.jar"/>
        <jar href="audio-core.jar"/>
        <jar href="audio-client.jar"/>
        <jar href="appshare-core.jar"/>
        <jar href="appshare-client.jar"/>
        <jar href="caption-core.jar"/>
        <jar href="caption-client.jar"/>
        <jar href="jxbrowser-3.4.jar"/>
        <jar href="jniwrap-3.8.4.jar"/>
        <jar href="engine-webkit-3.4.jar"/>
        <jar href="slf4j-api-1.5.8.jar"/>
        <jar href="slf4j-log4j12-1.5.8.jar"/>
        <jar href="log4j-1.2.15.jar"/>
        <jar href="classroom-browser.jar"/>
        <jar href="web-core.jar"/>
        <jar href="web-client.jar"/>
        <jar href="multimedia-core.jar"/>
        <jar href="multimedia-client.jar"/>
        <jar href="agenda-core.jar"/>
        <jar href="agenda-client.jar"/>
        <jar href="invite-core.jar"/>
        <jar href="invite-client.jar"/>
        <jar href="quiz-core.jar"/>
        <jar href="quiz-client.jar"/>
      </resources>
      <application-desc main-class="com.elluminate.classroom.client.branding.full.Main">
        <argument>-session</argument>
        <argument>player</argument>
        <argument>-play</argument>
        <argument>https://sas.elluminate.com/site/external/download/recording?uid=C6C6F19E808D60024636948EB0BABADC</argument>
      </application-desc>
    </jnlp>
    DETAILS END
    DETAILS BEGIN
    Exception Tab
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: https://na-downloads.elluminate.com/web/download/12.5/video-client-windows-x86.jar
      at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
      at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
      at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
      at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    DETAILS END
    DETAILS BEGIN
    Wrapped Exception Tab
    java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
      at java.net.DualStackPlainSocketImpl.connect0(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
      at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
      at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
      at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
      at sun.net.NetworkClient.doConnect(Unknown Source)
      at sun.net.www.http.HttpClient.openServer(Unknown Source)
      at sun.net.www.http.HttpClient.openServer(Unknown Source)
      at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
      at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
      at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
      at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
      at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
      at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
      at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
      at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    DETAILS END
    Message was edited by: nondev
    Added links to recorded lectures I'm trying to access and a couple of additional details that describe the situation

  • "Application error:unable to launch the application"

    Hi Friends,
    Now i want to open ENDEAVOUR(bio conductor
    package) tool.that is runned by java web start .so that purpose i want to run the java(net beans).
    i can access the net beans and endeavour in my home,but my office i can´t
    In office,The last week i tried to run the net beans.it couldn't run.i faced the following error
    "the proxy configuration cannot connect to the internet"
    i thought the the problem of proxy.but i checked some of the forums ,they said "the problem because of the firewall"
    3 days after i got it.but,now i want to run the ENDEAVOUR.The Endeavour ,it opened,but i can access partially,whenever i opened the application, i faced the following error.
    error:
    "Application error:unable to launch the application"
    i click the error detail ,the following details will be displayed
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for ENDEAVOUR -->
    <jnlp
    spec="1.4+"
    codebase="http://www.esat.kuleuven.be/~bioiuser/endeavour/"
    href="endeavour.jnlp">
    <information>
    <title>ENDEAVOUR 2.44</title>
    <vendor>University of Leuven - Developed by Bert Coessens, Stein Aerts, Peter Van Loo and Leo Tranchevent</vendor>
    <homepage href="http://www.esat.kuleuven.be/endeavour/"/>
    <description>Endeavour for computational prioritization of candidate disease genes</description>
    <description kind="short">
    </description>
    <description kind="tooltip">ENDEAVOUR 2.44</description>
    <description kind="one-line">ENDEAVOUR - Prioritizing candidate disease genes</description>
    <icon href="http://www.esat.kuleuven.be/~bioiuser/endeavour/images/endeavour2.jpg"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4+" max-heap-size="400m" />
    <jar href="endeavour.jar" main="true"/>
    <jar href="distributions.jar"/>
    <jar href="jai_codec.jar"/>
    <jar href="mysql.jar"/>
    <jar href="rmiservices.jar"/>
    <jar href="axis.jar"/>
    <jar href="jaxrpc.jar"/>
    <jar href="jaxrpc-api.jar"/>
    <jar href="jaxrpc-ri.jar"/>
    <jar href="commons-logging.jar"/>
    <jar href="commons-discovery.jar"/>
    <jar href="saaj.jar"/>
    <jar href="wsdl4j.jar"/>
    <jar href="xerces.jar"/>
    </resources>
    <application-desc main-class="biovec.gui.MainFrame"/>
    </jnlp>
    I try to close the error,the application also closed.
    i want to access the full application.i don´t know how to clear the error. please help me,

    Hi,
    Application Error:unable to launch the application
    i installed java network launch analyser(janela).then,i load the JNLP file to (janela).the analyser (jaNeLa) displayed the following issues.
    Content type application/XML does not equal expected type of X-java -jnlp-file.
    XML encoding not known,but declared as utf-8
    *code base +href 'http://www.esat.kuleuvan.be/~biouser/endeavour.jnlp'is not equal to a actual location of "file :c:/documents....so on*
    *''tooltip´ description is longer than ´short´ description.*
    porblem fetching resource endeavour .jar  .connection timed out.:connect
    *porblem fetching resource jai codec.jar.connection timed out,like the same for rmiservice.jar,mysql.jar,axis.jar,jaxr.pc jar,,jaxrpc-api. jar,commenslogging-jar,common discovering- jar,saaj.jar,xerces.jar*
    *problem fetching resource 'http://www.esat.kuleuvan.be/~biouser/endeavour/.connection timed out:connect
    can you have any idea about these issues ,please reply me.
    thank you very much.

  • Invocation API or Java Client Libraries

    Hi All,
    I want to invoke my short/long lived processes through my java code.
    Now, There are two ways to achieve this as i know .
    1. Invocation API (which I am using currently now)
    2. java client libraries
    Now my question is whether one can use java client libraries to invoke workbench processes through java code?
    If yes, is it better than Invocation API ?
    Thanks
    Abhiram

    Abhiram,
    You can invoke any service defined to LC (there are several exceptions for good reasons) whether they are out-of-the-box services or applications you have built yourself.
    In my opinion, your preference for invocation should be based upon the best fit for your existing Java classes. That's the beauty of the LC APIs. They give you some flexibility. The invocation APIs are nice for dealing with documents (PDF and native file formats). However, if your Java class(es) use Web Services then use the SOAP endpoint to call the LC process, for example. If performance is an issue and the Java class(es) run on the same host as LC, then use EJB.
    Steve

  • Create an API to Launch an LabVIEW Built Executable and Pass it Input Parameters

    Hello,
    I'm looking for a way to create an API to Launch/Close an executable, created with LabVIEW, which in additional to Launching/Closing tht executable, will also allow me to pass input parameters.
    To give you some background, I'm working on a logging utility, basically a background dameon, which I currently have implemented as a LabVIEW packed library and my API is a few VIs to launch that daemon and pass it a filename and a logging rate.  Functionally it works just fine however is executes within LabVIEW not as an independent process.  So instead of using a packed library, I would like to compile my logging daemon down to an executable but I still need a way to launch it and pass it parameters from an external application (such as Teststand).
    I know you can launch executables and pass parameters using windows command lines, but I'm wondering if there is a more direct method such as a DLL that I could call in Teststand?  Thanks.
    Post CLD and when I'm a CLA when someone asks who I am, I can spin around in my chair and say "I am... the architect."

    When Teststand Launches the Logger, it does so by opening a reference to the logger daemon using the "Open VI Reference" primitive and then it launches an instance of the dameon using the "Start Asynchronous Call" node.
    This currently, launches the logger within labview not teststand.  If I were to directly call the logger daemon VI itself as a step in TestStand, then it could run in a new teststand thread.  At that point I would need a way to stop that logger which I should be able to do by storing a reference to its control queue within the teststand thread that it is running in.  Since teststand let's you specify VI execution in the runtime engine instead of LabVIEW that might do the job.
    The one catch is once the sequence completes, the logger does some cleanup, post processing, etc that depending on the amount of data captured can take some time so if a set of sequences needs to be executed, this could hang up teststand until that post processing is completed.  That is one reason why I wanted it to execute outside of testtand so that additonal sequences could continue to run while the daemon finishes up in the background.
    But, it's something I'll have to look into.
    Post CLD and when I'm a CLA when someone asks who I am, I can spin around in my chair and say "I am... the architect."

  • Launching external applications from web start

    Hi!
    I am currently working on a management system and I need to launch other management systems from my Java Web Start application. The other systems are either based on web applications (URLs), telnet - needs to set up a telnet session, or running shell scripts or batch files.
    URLs are ok. I am using Desktop.browse in Java 1.6 or I can use BasicService.showDocument in javax.jnlp API.
    My application may run on both windows and linux (ie its launched from the browser). It interacts with a java app on a linux server over RMI.
    How can I lauch a telnet session from my client app?
    Do I have to include apache commons.net and create a telnet module in my app or can i lauch c:\windows\system32\telnet.exe in windows (if my app is lauched on win) and /usr/kerberos/bin/telnet (if my app is lauched in Linux)?
    How can I launch an external .exe application in window and how can I launch any shell script or program in Linux?
    (same as how do i lauch telnet)
    As long as the user is prompted I can see no risk of denying these kind of things so I hope and think that this should be possible!
    PS. I have managed to do it by using Runtime.exec() when running as a non JWS application, but I cannot do it when running as JWS:
    java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)I dont want to sign the application either. The reason for choosing webstart was to not have to renew certificates at our customers.
    Please help.
    Thanks for taking interest and reading this.. and I hope that someone has some helpful answers for me :)
    Edited by: Tomas_Andersen on Feb 5, 2008 6:34 AM

    Do you know how to launch Java applications (not applets) from web pages ? Thank you.
    you can setoff a java servlet from a webpage.Is that what you are talking about ??? activeateing a server side app ????

  • VC8 clients and native invocation API

    Hi,
    Could someone from Sun tell me whether JNI invocation API for the 1.5.0_07 Windows JVM supports .NET clients compiled with Visual C++ 8?
    I have an ASP.NET application that calls into the JVM through the JNI invocation API. I know that there were problems with VC7 clients calling into the 1.3 and 1.4 JVM's (they only surfaced under high concurrency), but I was told that the 1.5 JVM would better support .NET clients.
    Thanks...

    See
    http://www.simtel.net/product.php[id]95126[SiteID]simtel.net

  • How to launch an application with elevated administrator account privilege from windows service even if the account has not yet logon

    Here is the case:
    OS environment: Windows 7
    There are two user accounts in my system, standard user "S" and administrator account "A", and there is a windows service running with "Local System" privilege.
    Now i logged-in with account "S", and i want to launch an application with elevated administrator account "A" from that service program, so here is the code snippet:
    int LaunchAppWithElevatedPrivilege (
    LPTSTR lpszUsername, // client to log on
    LPTSTR lpszDomain, // domain of client's account
    LPTSTR lpszPassword, // client's password
    LPTSTR lpCommandLine // command line to execute e.g. L"C:\\windows\\regedit.exe"
    DWORD dwExitCode = 0;
    HANDLE hToken = NULL;
    HANDLE hFullToken = NULL;
    HANDLE hPrimaryFullToken = NULL;
    HANDLE lsa = NULL;
    BOOL bResult = FALSE;
    LUID luid;
    MSV1_0_INTERACTIVE_PROFILE* profile = NULL;
    DWORD err;
    PTOKEN_GROUPS LocalGroups = NULL;
    DWORD dwLength = 0;
    DWORD dwSessionId = 0;
    LPVOID pEnv = NULL;
    DWORD dwCreationFlags = 0;
    PROCESS_INFORMATION pi = {0};
    STARTUPINFO si = {0};
    __try
    if (!LogonUser( lpszUsername,
    lpszDomain,
    lpszPassword,
    LOGON32_LOGON_INTERACTIVE,
    LOGON32_PROVIDER_DEFAULT,
    &hToken))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if( !GetTokenInformation(hToken, (TOKEN_INFORMATION_CLASS)19, (VOID*)&hFullToken,
    sizeof(HANDLE), &dwLength))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if(!DuplicateTokenEx(hFullToken, MAXIMUM_ALLOWED, NULL,
    SecurityIdentification, TokenPrimary, &hPrimaryFullToken))
    LOG_FAILED(L"DuplicateTokenEx failed!");
    __leave;
    DWORD dwSessionId = 0;
    WTS_SESSION_INFO* sessionInfo = NULL;
    DWORD ndSessionInfoCount;
    bResult = WTSEnumerateSessions(WTS_CURRENT_SERVER_HANDLE, 0, 1, &sessionInfo, &ndSessionInfoCount);
    if (!bResult)
    dwSessionId = WTSGetActiveConsoleSessionId();
    else
    for(unsigned int i=0; i<ndSessionInfoCount; i++)
    if( sessionInfo[i].State == WTSActive )
    dwSessionId = sessionInfo[i].SessionId;
    if(0 == dwSessionId)
    LOG_FAILED(L"Get active session id failed!");
    __leave;
    if(!SetTokenInformation(hPrimaryFullToken, TokenSessionId, &dwSessionId, sizeof(DWORD)))
    LOG_FAILED(L"SetTokenInformation failed!");
    __leave;
    if(CreateEnvironmentBlock(&pEnv, hPrimaryFullToken, FALSE))
    dwCreationFlags |= CREATE_UNICODE_ENVIRONMENT;
    else
    pEnv=NULL;
    if (! ImpersonateLoggedOnUser(hPrimaryFullToken) )
    LOG_FAILED(L"ImpersonateLoggedOnUser failed!");
    __leave;
    si.cb= sizeof(STARTUPINFO);
    si.lpDesktop = L"winsta0\\default";
    bResult = CreateProcessAsUser(
    hPrimaryFullToken, // client's access token
    NULL, // file to execute
    lpCommandLine, // command line
    NULL, // pointer to process SECURITY_ATTRIBUTES
    NULL, // pointer to thread SECURITY_ATTRIBUTES
    FALSE, // handles are not inheritable
    dwCreationFlags, // creation flags
    pEnv, // pointer to new environment block
    NULL, // name of current directory
    &si, // pointer to STARTUPINFO structure
    &pi // receives information about new process
    RevertToSelf();
    if (bResult && pi.hProcess != INVALID_HANDLE_VALUE)
    WaitForSingleObject(pi.hProcess, INFINITE);
    GetExitCodeProcess(pi.hProcess, &dwExitCode);
    else
    LOG_FAILED(L"CreateProcessAsUser failed!");
    __finally
    if (pi.hProcess != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hProcess);
    if (pi.hThread != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hThread);
    if(LocalGroups)
    LocalFree(LocalGroups);
    if(pEnv)
    DestroyEnvironmentBlock(pEnv);
    if(hToken)
    CloseHandle(hToken);
    if(hFullToken)
    CloseHandle(hFullToken);
    if(hPrimaryFullToken)
    CloseHandle(hPrimaryFullToken);
    return dwExitCode;
    I passed in username and password of account "A" to method "LaunchAppWithElevatedPrivilege", and also the application i want to launch, e.g. "C:\windows\regedit.exe", but when i run the service program, i found it do launch
    "regedit.exe" with elevated account "A", but the content of regedit.exe is pure back. screenshot as below:
    Can anyone help me on this?

    You code is not dealing with the DACL access to Winsta0\Default.  Only the LocalSystem account will have full access and the interactively logged on user which is why regedit is not displaying properly.  You'll need to grant access to your user. 
    You also need to deal with UAC since that code is going to give you a non-elevated token via LogonUser().  You need to get the full token via a call to GetTokenInformation() + TokenLinkedToken.
    thanks
    Frank K [MSFT]
    Follow us on Twitter, www.twitter.com/WindowsSDK.

  • Java Security Error while Launching the Application through JNLP

    Hi!,
    I have a problem in launching my Application through JNLP. It is giving the Error dialog as "Unable to lauch application" with the dialog title as "Java Security Error".
    I don't know why this problem is coming but when I have reset my profile on my system & then I tried to launch the same application & I got success.
    Can anyone suggest me what was the problem?
    Pradeep Gupta

    hi,
    usually it is the web dynpro launch system that is causing the issue, OR there is a misconfiguration in the backend like the tasks are set up with com.sap/esslea in the backend and the xml file is referencing sap.com <SWITCH>/esslea and the dynpro is showing this as not deployed.
    Regards
    Sharanya Rajagopal

  • Creative cloud applications keep asking me to login every time I launch an application

    Creative cloud applications keep asking me to login every time I launch an application on a same machine.
    How to solve this problem?
    Windows 7 Professional.

    Or it could be patially related to typical pains when a company makes an enormous transition like this. Ironcially, just as i said in my post, my issue resolved the next day.
    Listen, I undertstand the concern and certainly the frustration. I spend nothing short of 14 hours per day with Adobe apps open. primarily After Effects, Photoshop and Illustrator. I know the hassle and I know the frustration of constantly having to sign back in, which i did for a bit too. But it's just a little melodramatic when people make idle threats they aren't going to follow through with anyway, about using a product that does what this does, and is such an enormous productivity tool that people say silly things. that's what I'm referring to. If you're going to choose an entire platform different than Adobe becuase theyr'e having issues on a brand new method of service and delivery you're an idiot anyway. Wouldn't you agree that the statements of ' i don't have time to test something' are a litle ridiculous? name any product, or purchase in any part of your life that has never failed at anything? and then saying thigns like it's suddenly an unstable environment, when the problem they're complaining about (and the complaint of course it legitimate) has absolutely nothing to do with the stability of the product?
    it's the overblown, silly statements that make people look foolish, do nothing to help the issue, and offer nothing that crack me up. When I read someone saying things like that i pretty much ignore anything else they say because reason isn't something they are using at that point anyway.
    See what you said? that has nothing to do with anyone I'm talking about. You made a valid point, didn't make silly comments like what I'm referring to. you said something I don't agree with, but you dind't go overboard and get all dramatic about it. I don't agree that it's an ongoing degredation of their rep. there is nobody even remotely close a valid competitor out there for this in the first place (depending on what software yoiu're referring to, but since we're in the CC forum i assume that's what you mean). The fact is, their reputation is so strong, no other software company can even compete. But even so I still see progress and innovation. Intel had a cushion with no competitor at one point, then AMD came in, and if you notice, within a couple years of AMD getting very popular, Intel started releasing their upgraded technology in less than a third of the time. But I don't think I see that laziness from Adobe. I don't honestly know that the reason is they moved to a subscription based environment but I know that almost all big software companies are at leasdt considering it. heck Microsoft was talking about changing their licensing and doing it the same way. And it's not for greed I'd guess, it's to comabt theft. At least that's my guess, i have no idea, but i don't believethat it's done and they would change their entire business model for a reason lefss important.
    While we're on that topic I'd like to point out i bet this new process makes an enormous dent in the piracy, at least short term, so for me I applaud it. because when so many people steal the software, it means people like me, and i assume you, pay much higher prices for our legit licenses. So anything that can be done to thwart that has my full approval. But it also just happens to have some nice benefits, in that the pricing is pretty ridiculously low IMO for the entire suite of apps for 50 bucks per month. let' be honest, anyone using them for business which is primarily what this softwre is geared to, understands that while it might seem high, it's tiny compared to the montly cost of doing business, to keep an up to date, suite full of apps that would cost thousands were it not for the subscription. I'll admit, I bought the full suite on the montly just because it made sense. And it actually paid off. Recently I had a client that desperately needed ihs forms migrated to interactive. they were word docs, excel and plain pdfs, but because I happen to have a license for Acrobat, i was able to import those into pdf files and convert them to interactive forms. Then recommend he use the online service to manage them, and frankly it paid for 6 months of licensing for 10 hours work. were it not for the subscription based licensing i'd not have even been able to offer the service because I wouldn't have paid for acrobat.
    Complaining about a piece of software you buy that doesn't work in an area, regardless of where it is, makes perfect sense. But the statements I'm referring to equate to someone buying a house, finding out the key doesn't work, or the doorknob is broke, throwing their hands up and saying 'i'm finding anohter house'. it's silly, and everyone knows there's no merit to it. But i get frustrated seeing it over and over, frewquently by people that hven't even paid for the software. Sometimes I post thing I shouldn't but hey, don't we all?
    I like to browse these forums becuse I'd say i've learned as much of my knowledge by reading tricks, tips and resolutions posted in forums as I did through my classes and education. That's possibly an overstatement but not by much. I do get just as frustrated at the people constantly trying to belitte the company as they do with their issues.

  • Imac is making a lot of beeps every time I launch an application

    I recently bought iMac on 2011 with snow leopard installed, recently I decided to try lion, I made a fresh install but since then my Mac is just making these annoying noises, kind like alert beep every time I launch an application, surf on web ,... What should I do?

    Hi.
    Open System Preferences > Sound then select the Sound Effects tab.
    Deselect:  Play user interface sound effects

  • Hi, I have just loaded Lightroom 5 from the disc onto my Mac.  every time i try and launch the application, it goes to the registration/licence window.  i have input the data five times already.  When Lr5 launches the update window appears, when i try to

    Hi, I have just loaded Lightroom 5 from the disc onto my Mac.  every time i try and launch the application, it goes to the registration/licence window.  i have input the data five times already.  When Lr5 launches the update window appears, when i try to do anything the following message comes up: - An error occrred when attempting to change modules.  What do i need to do to fix this?

    Masher please use the uninstaller located in the Applications/Utilities/Adobe Installers folder.  Once Photoshop Lightroom is removed then please download Lightroom 5.5 from Adobe - Lightroom : For Macintosh : Adobe Photoshop Lightroom 5.5 and reinstall.

  • Launch KVM Console On CIMC : Unable to launch the application

    I have a UCS C220 M3S with CIMC 1.5(5). When I try to launch the KVM Console, I get a popup with "Unable to launch the application".
    Windows 7
    Firefox 34.0.5 , IE 8.0
    Now Java Version 7 Update 21
    I try install Version 7 Update 71 and Version 8  But Not Working
    Exception:
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Best Regards
    Som

    So, if that happens on a single PC I'd say this is a config conflict with that PC's Java settings.
    So Java 7 U21 is running on this PC and you still see the problem? have you confirmed you only have  one Java version installed on this machine to avoid a conflict?
    -Kenny

  • Using AppleScript to launch an application on a different machine

    Hi there,
    I'm trying to use AppleScript to enable a couple of my Macs to talk to each other.
    On one machine, I want to use this script:
    tell application "Finder" of machine "eppc://user:[email protected]"
    launch application "Rivet" of machine "eppc://user:[email protected]"
    end tell
    to have the other machine launch Rivet, a video server that I can access from the PS3/iPhone/iPad
    everything seems to work without issue (i.e. no errors), except it doesn't do anything.
    I see a line written to the console on "helium":
    9/23/10 18:48:30 com.apple.AEServer[3535] launchproxy[3535]: /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Versi ons/A/Support/AEServer: Connection from: xxx:xxx:xxx:xxx:xxx:xxx%en0 on port: 60571
    every time I run the script on the other machine, but, like I said, nothing else happens.

    After much searching and trial and error I finally discoverd Hiroto's suggestion from way back in 2001. It is the only solution I have found that actually works to launch/activate any application on a remote Mac using an applescript on a local Mac.
    I have one Mac Mini running household control applications Indigo and iRed. I wanted to use embedded AppleScripts in those applications to launch and control PandoraBoy on another MacMini that I use as a media center. I discovered that you cannot activate an application on a remote Mac unless it's already running. (Only God and Apple know why!) And, of course, if you want to launch and application--it's usually NOT running!
    But the following works:
    set remoteMachine to "eppc://RemoteMachineName:[email protected]"
    tell application "Finder" of machine remoteMachine
    open ("/Applications/PandoraBoy.app" as POSIX file as alias)
    end tell
    THANK YOU HIROTO!!!
    Once the remote app is actually launched/activated you can then send AppleScript commands to it as follows:
    set remoteMachine to "eppc://RemoteMachineName:[email protected]"
    using terms from application "PandoraBoy"
    tell application "pandoraboy" of machine remoteMachine
    playpause
    end tell
    end using terms from
    I have also learned that the application to be controlled on the remote machine must also be present on the local machine and "using terms from" must also be used in the control script for this to work.

  • Problem in launching webstart application when using version atribute

    Hello Experts,
    I am trying out my first example of JNLP. This is my JNLP file.
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8092/webApplForWebStart" href="launch.jnlp">
        <information>
            <title>ForWebStart2</title>
            <vendor>NAgrawal</vendor>
            <description>ForWebStart2</description>
            <description kind="short">ForWebStart2</description>
            <homepage href=""/>
            <offline-allowed/>
            <shortcut online="true">
              <!-- create desktop shortcut -->
              <desktop/>
              <menu submenu="WebStart Trial"/>
         </shortcut>
        </information>
        <security>
            <all-permissions/>
        </security>
        <resources>
            <j2se version="1.5+"/>
            <jar href="JNLPTime.jar" version="1.0" main="true" download="eager"/>
        </resources>
        <application-desc main-class="TheTime">
        </application-desc>
    </jnlp>My Problem is if I remove version="1.0" from <jar > tag application is launching properly. But if I am using version attribute , it is giving me this error while launching the application.
    "Unable to load resource :( http://localhost:8092/webApplForWebStart/JNLPTime.jar , 1.0)
    java.io.IOException : missing version response from server."
    I can't afford to remove the version attribute as it is required for auto-update. Has anyone ever tried faced such problem.? Please help me. Any help is highly appreciated.Thanks in advance.

    It's just as told.
    If you're using explicit versions, the server response MUST provide an header to tell which version is returned (you could be using 'wildcards' like 1+).
    How are you serving requests? Are you using JnlpDownloadServlet? If so, check docs: extra work is required in order to use version features.
    If using your own service google for header (and parameter) name, use exact versions and copy to the response the value you're retrieving from the request.
    Bye.

Maybe you are looking for

  • Adding automatic stops afer each slide in a recorded project

    I have a project recorded as demonstration, but I want to make it stop after each slide and advance only on user action. I don't want to be adding any buttons or anything - I am content with the playback control provided by captivate. I don't see any

  • Westell c90-610015-06 modem & airport exteme: not working--ideas?

    My Westell modem works fine, including when I hooked up a hard-wired router(Asante). I replaced the router and bought an Airport Extreme to handle wireless. Airport's status light is flashing yellow because it's confused. Is my dsl modem (provided by

  • Adobe Illustrator CC - Smoothing does not work

    Hello, about this issue for a long time I know (from earlier versions of Illustrator), but until now I have decided to tell her. Perhaps someone from Adobe sees a future service. It is a fact that when I'm trying to figure rasterized low resolution t

  • In hotmail & yahoo, I am unable to print copies by clicking on the icon.

    If I want to print out an email in either hotmail or yahoo I click on the print icon or the word print and nothing prints. If I go to the "file" and "print" on the tool bar it prints the entire screen as opposed to the email itself. I am trying to si

  • App store for iTouch and OS?

    If I download something on my iTouch from the app store can I also get it on the OS app store? I downloaded a dictionary that is awesome on my iTouch, which doesn't work anymore and I would like to get it for my computer.