security tag in JNLP file

Hi,
I have a signed javaws app. I set a couple of PROPERTYs in the JNLP file, leave the <security> tag empty, grant all-permissions in my client machines' javaws.policy file.
After I started the app via javaws, I can access system properties (such user.home, etc) and read/write/delete local files, I am happy only that I cannot get the PROPERTYs I set in the JNLP file !
According to the document, reading PROPERTYs set in the JNLP file should be simple and straight forward, System.getProperty() should do the trick, but it does not.
I add <j2ee-application-client-permissions /> to the <security> tag in the JNLP file, here it goes, I can read the PROPERTYs from the app if it is started by javaws 1.4.2 (coming with JDK1.4.2). But sad again, if the app is started by javaws 1.2, the PROPERTYs still hide from me.
Eventually, <all-permissions /> in the <security> tag will do the magic, but I am lost here. What is the point of security here that I cannot read the PROPERTYs I set in the JNLP file while I can even delete files from local disk? This <all-permissions /> magic allows the app jumping out of the sandbox?

This looks like an example of bug:
5062655: Permissions granted by policy files don't apply to jnlp properties.
which is marked as fixed in mustang (1.6.0)

Similar Messages

  • Icon tag in jnlp file

    Hello all.
    I've been trying to include a custom icon with my web start application by using the <icon href="/images/camera.gif"> tag in the jnlp file. The image is included in the .jar file properly and then in the .war file, but the default web start icon always shows up instead (ie: on the desktop, start menu, and in the Java Web Start launcher).
    Does anyone have any hints on what might be going on?
    Any help will be greatly appreciated!
    Thanks.
    Chris
    [email protected]

    I'm having a similar problem ... but I think the .jnlp is structured right...
    gfpr.jnlp file...
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for gfpr applet -->
    <jnlp
    spec="1.0+"
    codebase="$$codebase">
    <information>
    <title>Financial Planning & Reporting Accelerator</title>
    <vendor>Unilever Cosmetics International</vendor>
    <description>GFPR Applet</description>
    <description kind="short">The client applet for GFPR.</description>
    <icon href="minesweeper32.gif" width="32" height="32" />
    <icon href="minesweeper64.gif" width="64" height="64" />
    </information>
    <resources>
    <j2se version="1.3"/>
    <jar href="gfprclientapplet.jar"/>
    <jar href="xerces.jar"/>
    <jar href="xalan.jar"/>
    <jar href="log4j.jar"/>
    <jar href="jdom.jar"/>
    <jar href="uciutilities.jar"/>
    <jar href="f1j9swing.jar"/>
    <jar href="crimson.jar"/>
    <jar href="jaxp.jar"/>
    </resources>
    <applet-desc documentBase="$$codebase"
    name="GFPR applet"
    main-class="com.unilever.uci.gfpr.presentation.fprAccelerator"
    width="760"
    height="400">
    </applet-desc>
    </jnlp>
    WAR structure....
    /app/gfpr.jnlp
    /app/minesweeper32.gif
    /app/minesweeper64.gif
    /app/****.jar (all the referenced jars)
    /META-INF/MANIFEST.MF
    /WEB-INF/web.xml
    /WEB-INF/lib/jnlp-servlet.jar
    anyone have any ideas ??
    thanks
    dave

  • Netbeans module for JAWS doesn't know security section in JNLP file

    Hello guys,
    i'm making a program that is launched by Java Web Start.
    I'm using the Netbeans IDE.
    And I'm using the Java Web Start module for Netbeans (0.8.2.4.2.4), which provides me some handy menu shortcuts for starting Tomcat etcetra. The module also provides a GUI form for making the JNLP file, and if you make changes by hand, these changes are reflected in that form.
    Now, when I add this to the JNLP:<security>
      <all-permissions/>
    </security>the module warns: "Could not parse the document" and it regenerates the JNLP file from the data in the form. So the "security" section disappears. In the form, there is no place to let the module include the "security" section.
    Anyone encountered the same problem? Some workarounds?
    Anyone having success using the Netbeans module for Java Web Start and a "security" section?
    Of course I can build and then change the JNLP afterwards but that's not handy.

    Andrew thank you for your time...
    I think that page only shows a design that is not yet implemented, at least not in Netbeans 5.5 which currently is the latest release.
    Currently the JAWS options are not in the "Project Properties" dialog. They're in some visual JNLP editor, and there is a menu for enabling, running, debugging and deploying the project with JAWS.
    It seems like the only thing to do is wait for Netbeans having better JAWS support. In the meantime, work around the shortcomings of the module or don't use the module.

  • Pass XML in argument tag in JNLP file

    Is there a way to pass an xml string in the <argument> tag. I tried to do it but I get xml parsing error. It seems that the xml becomes the child node when I pass that to the arguments tag. the CDATA also does not work. Has anyone done this successfully. thanks
    I am trying to pass somthing like
    <argument><Settings><URL>http://xxx.com</URL></Settings></argument>
    this is just an example I have also tried
    <argument>"<Settings><URL>http://xxx.com</URL></Settings>"</argument>
    this also errors out.
    <argument><![CDATA[<Settings><URL>http://xxx.com</URL></Settings>]]</argument>
    that does not work too.
    Please let me know if there is anything else I can try

    I've successfully used CDATA to embed HTML in an argument, on JDK 1.5 at least (not tried on others yet).
    Your CDATA closing section should be: ]]> Yours is missing the end bracket - if that's not an error in your post it's probably the cause of the XML parsing error.

  • Query regarding j2se tag in JNLP file for JRE 1.4.2_07

    Hi,
    Can the j2se tag take different servlet link other than "http://java.sun.com/products/autodl/j2se" in the href field.
    eg: <j2se initial-heap-size="64m" max-heap-size="512m" version="1.5+" href="http://localhost:8080/j2se"/>
    Since i am planning to download latest JRE from the sun site and place it my local server so that download time can be reduced for other users.
    Thanks in advance
    Bharath

    There is no utility that I'm aware of. The installer is InstallAnywhere from Zerog, and it uses the MS installer to actually do the install. So you can look at either Zerog or MS for one.
    Sun's Java 5 version has deployment information, including silent install options, at:
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/index.html
    I don't know if that exists for your version.

  • How to embed jnlp file into html page using object tag

    hi everyone,
    i have written one jnlp file like this.
    <?xml version="1.0" encoding="utf-8" ?>
    <!-- JNLP file for Demo applicaion -->
    <jnlp spec="1.0+" codebase="http://localhost:9080/base/" href="SampleExample.jnlp">
         <information>
              <title>Demo Application</title>
              <vendor> </vendor>
              <description>Sample Demo Application</description>
              <offline-allowed/>
         </information>
         <security/>
         <resources>
              <j2se version="1.3+" />
              <jar href="common.jar" main="true" download="eager" />
              <jar href="classes12.jar" download="eager" />
              <jar href="toplink.jar" download="eager"/>
              <package name="com.applet.*" part="applet" recursive="true"/>
         </resources>
         <applet-desc name="grid" main-class="com.applet.PriceGrid" width="1000" height="300"/>
    </jnlp>
    i am trying embed that jnlp file using object tag like
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">     
    <PARAM NAME="jnlp" VALUE="http://localhost:9080/base/SampleExample.jnlp">
    </OBJECT>
    but i am not able to load the applet using Web Start.
    Can anyone please help me. This is very Urgent for me.
    Thanks & Regards,
    Shiva.

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • Launch JNLP file which required full-qualified domain name

    Hi all,
    My suitation is like this:
    I need to launch an JNLP file which I need a domain name in order to access it: (using JDK 1.5.0_11)
    e.g. http://hostname.domain.domain/xxx/yyy/zzz.jnlp
    But when it try to access one of the jar file, it will refer to http://hostname/aaa.jar that lead to UnknownHostException.
    Note: (I already use the full domain name to launch the JNLP file..)
    Any one have idea on what to do? And I have no option to change the network setting to support solely "hostname" without domain.
    Here's the "little modified" Launch file in the error dialog (as some details can't be disclosed)
    [Launch path]:
    http://hostname.domain.com:12718/CMTE-3rdParty/tibco/7.5.2/tibco.jnlp
    [Error message]:
    Unable to load resource: http://hostname:12718/CMTE-3rdParty/tibco/7.1.2/tibco.jnlp
    [Launch File shown in error dialog]:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://hostname:12718/CMTE-3rdParty" href="tibco/7.1.2/tibco.jnlp">
    <information>
    <title>Tibco</title>
    <vendor>Multicast messaging library</vendor>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <jar href="tibco.jar" version="7.5.2"/>
    </resources>
    <resources os="Windows" arch="x86">
    <nativelib href="tibco-libs.jar" version="7.5.2"/>
    </resources>
    <component-desc/>
    </jnlp>
    Thank you very much.

    You should change the codebase (declared in the jnlp tag) to http://hostname.domain.com:12718/CMTE-3rdParty
    That's how jnlp works, URL are made up as codebase+href.
    You'd better use absolute URL for the jnlp href (not for resources).
    And, last but not least, as Andrew would say: use JaNeLa (look for a link almost anywhere in the forum).
    Bye.

  • Update JNLP File

    Hi, in the sap note 716604 recommend me that i make the update of the version of Sun J2SE version(1.4.2_20 b04) and i have to download an archive with extension JNLP but i dont know hoy i can update this version with this file
    Any ides for this issue??
    Thanks and regards!!

    Hi Aaron,
         The JNLP you have downloaded contains follwoing details
    1. Location of the resources on the server (see jnlp-tag)
    2. A describtion of the application (see information-tag)
    3. The needed security permissions (see security-tag)
    4. The needed resources on the client (see resources-tag)
    a. J2SE version needed
    b. Jar-files needed
    c. Properties for getting JNDI context
    5. The main class for starting the application (see application-desc-tag)
    You can change the values of some in that xml formated file.
    you need to deploy this file (.jar and .jnlp etc) in your application server directory.
    Refer the below document for details.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/35a46378-0801-0010-a3b7-91595122de3d
    Regards,
    Prasanna

  • JNLP file and replication

    Hello,
    I have an application that I launch with JNLP that I am trying to replicate to some other servers.
    The "resources" tag in my JNLP file has some property settings and then all the signed jars. There is also an "extension" tag with a JNLP file that includes some unsigned jar files.
    I am going to use some sort of replication software to copy all of the jnlp, jar, and html files from our main server to our remote servers.
    The goal is to be able to upgrade the application on the main server and have the remote servers automatically be upgraded by replicating the changed files from the main to the remote servers.
    The problem that I am having is that some of the properties in the jnlp file are server specific. Therefore, I would like to pull these properties out of the main jnlp file and put them in another jnlp file that would not be replicated. This file would be included by the main jnlp file. This file would contain the settings that are different between each of the servers.
    I have tried putting these properties in a jnlp file and including that jnlp file as an extension to the main jnlp file, but then my application cannot see these properties.
    Does anybody know how I can do this or why what I am doing doesn't work? Is there another way that I am not thinking of?
    Thanks in advance for any help.
    Tom

    properties set in an extension jnlp file are only loaded (set as system properties) the first time code in that extension is loaded.
    For this reason you may need to put a dummy method in a jar in the extension, and call it before testing the properties.
    Also note, if you want to put properties in an unsigned extension, they will not be set unless they begin with "javaws." or "jnlp." (or are on the release specific list of secure properties).
    /Andy

  • ".. access denied: ... jnlp read" error in applet with NO .jnlp file!

    I'm trying to embed a Java program called ImageJA [http://pacific.mpi-cbg.de/wiki/index.php/ImageJA] into a webpage. I'm using ASP.NET with XHTML 1.0. Since I'm embedding it as an object in the html code, it should not cause any issues from that end. Unforunately, when I try I get an error saying "java.security.AccessControlException: access denied (java.util.PropertyPermission jnlp read)". The weird thing is, there is no jnlp file anywhere (including the .jar and codebase).
    I'm able to run it successfully if I change the permissions in my java.policy file, but that solution only works for my local machine.
    The .jar file (the only one) has been signed (I believe). I followed the steps as suggested [http://download.oracle.com/docs/cd/E17476_01/javase/1.4.2/docs/guide/plugin/developer_guide/rsa_signing.html], with the exception of contacting VeriSign/Thawte (I wish to have this be self signed).
    This seems like a very odd issue to me, and I'm running out of hair. Can anyone help?
    Here's my html code:
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
    <title>Untitled Page</title>
    </head>
    <body>
    <form id="form1" runat="server">
    <div>
    <object
    classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase = "[http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab]"
    width="500" height="500">
    <param name = "code" value = "ij.ImageJApplet.class" />
    <param name = "codebase" value = "ImageJA" />
    <param name = "archive" value = "ij-1.44a.jar" />
    <param name="type" value="application/x-java-applet;jpi-version=1.4.2" />
    <param name="scriptable" value="true" />
    </object>
    </div>
    </form>
    </body>
    </html>
    Edited by: Sythion on Jul 13, 2010 2:19 PM

    Sythion wrote:
    I'm trying to embed a Java program called ImageJA [http://pacific.mpi-cbg.de/wiki/index.php/ImageJA] ..
    I suggest you take up the problem through the [channels suggested by the API developers|http://pacific.mpi-cbg.de/wiki/index.php/Help:Contents].

  • Could not load file/URL (file not found) error for JNLP file

    I am completely baffled in trying to figure out why I am getting the following error for some JNLP files but not others:
    Error: could not load file/URL specified: C:\Users\tom\AppData\Local\Temp\javaws2
    java.io.FileNotFoundException: C:\Users\tom\AppData\Local\Temp\javaws2 (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)I have Googled around this forum and elsewhere, and have seen reports that this error is IE-specific, and seems to have something to do with no-cache headers being sent, or with the client browser's cache being full or turned off (which is not my case). I saw the information in the JavaWS FAQ, which recommended turning off security constraints for the JNLP's URI. I tried that, and it didn't help. One of the very baffling things is that I have created several variations of the JNLP file, with varying combinations of jars and property resources, and some combinations always work while other combinations never work. Here's an example:
    <jnlp spec="1.0+" codebase="$$codebase">
       <information>
          <title>demo app</title>
          <description>illustrates weird bug</description>
       </information>
       <resources>
          <j2se version="1.5+"/>
          <jar href="randomFile.jar"/>
          <property name="xxx" value="xxxx"/>
          <property name="swing.metalTheme" value="steel"/>
       </resources>
    </jnlp>The above file always fails with the error shown at the top of this message. However, if I remove either of the two properties, it works fine. And I have created other variations with lots of properties, some of which work. All of these variations are in the same directory in the war file, served by the exact same servlet (a slightly modified version of the jnlp.sample.servlet.JnlpDownloadServlet provided with JDK 1.6.0_3). Assuming that a no-cache header is the problem, what on earth could be causing some JNLP files to always be served with a no-cache header, while others are never served with a no-cache header?
    On a related note, any recommended debugging techniques for seeing what headers are being transmitted? I tried adding a simple check for a "debug=true" parameter in the servlet that causes it to set the content type to "text/plain" instead of JNLP, and that allows me to see (rather than execute) the JNLP XML that's being returned, but it doesn't show me the HTTP headers that are being sent back. If any caching headers are being set, I think it must be being set by the servlet container itself, as it's nothing being set in the servlet code that I can see. So I don't see any way on the server side Java code to output or log the actual HTTP response (or is there?). Any tips in that regard much appreciated.
    Edited by: TomC125468 on Aug 19, 2009 1:35 PM

    Hi Luca-Sanna,
    Thanks for the response. Re browsers, yes, it fails in IE but it succeeds in Firefox. The info on the JavaWS FAQ and other places all seem to indicate that it's an IE issue concerning handling of the cache-control headers.
    I should check in my webserver forum (Sun WebServer 7) to see about logging options. Sniffing on the client side is not possible, as my app is required to use HTTPS exclusively, and unfortunately that also precludes a telnet GET request.

  • Getting error while running jnlp file

    Hello, I have generated jnlp file succesffully, but when I run the jnlp file I got this error:
    WARNING: com.sun.javafx.css.StyleHelper lookup caught:
    java.lang.IllegalArgumentException: No enum constant javafx.geometry.Pos.center_right
                    at java.lang.Enum.valueOf(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)
                    at javafx.scene.Node.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Node.processCSS(Unknown Source)
                    at javafx.scene.Scene.doCSSPass(Unknown Source)
                    at javafx.scene.Scene.preferredSize(Unknown Source)
                    at javafx.scene.Scene.impl_initPeer(Unknown Source)
                    at javafx.stage.Window$13.invalidated(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
                    at javafx.stage.Window.setShowing(Unknown Source)
                    at javafx.stage.Window.show(Unknown Source)
                    at javafx.stage.Stage.show(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXConsole.setVisibleImpl(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXConsole.access$2700(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXConsole$5.run(Unknown Source)
                    at com.sun.javafx.application.PlatformImpl$3.run(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
                    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)
    WARNING: com.sun.javafx.css.StyleHelper lookup caught:
    java.lang.IllegalArgumentException: No enum constant javafx.geometry.Pos.center_right
                    at java.lang.Enum.valueOf(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)
                    at javafx.scene.Node.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Node.processCSS(Unknown Source)
                    at javafx.scene.Scene.doCSSPass(Unknown Source)
                    at javafx.scene.Scene.preferredSize(Unknown Source)
                    at javafx.scene.Scene.impl_initPeer(Unknown Source)
                    at javafx.stage.Window$13.invalidated(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
                    at javafx.stage.Window.setShowing(Unknown Source)
                    at javafx.stage.Window.show(Unknown Source)
                    at javafx.stage.Stage.show(Unknown Source)
                    at javafx.stage.Stage.impl_showAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate$8.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate.setVisible(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit$Caller.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit.callAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showErrorDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showMessageDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
                    at javafx.event.Event.fireEvent(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.postProcess(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.access$6100(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
                    at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
                    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
                    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.notifyMouse(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
                    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)
    WARNING: com.sun.javafx.css.StyleHelper lookup caught:
    java.lang.IllegalArgumentException: Invalid cursor specification
                    at javafx.scene.Cursor.cursor(Unknown Source)
                    at com.sun.javafx.css.converters.CursorConverter.convert(Unknown Source)
                    at com.sun.javafx.css.converters.CursorConverter.convert(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)
                    at javafx.scene.Node.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Node.processCSS(Unknown Source)
                    at javafx.scene.Scene.doCSSPass(Unknown Source)
                    at javafx.scene.Scene.preferredSize(Unknown Source)
                    at javafx.scene.Scene.impl_initPeer(Unknown Source)
                    at javafx.stage.Window$13.invalidated(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
                    at javafx.stage.Window.setShowing(Unknown Source)
                    at javafx.stage.Window.show(Unknown Source)
                    at javafx.stage.Stage.show(Unknown Source)
                    at javafx.stage.Stage.impl_showAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate$8.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate.setVisible(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit$Caller.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit.callAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showErrorDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showMessageDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
                    at javafx.event.Event.fireEvent(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.postProcess(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.access$6100(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
                    at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
                    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
                    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.notifyMouse(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
                    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)
    WARNING: com.sun.javafx.css.StyleHelper lookup caught:
    java.lang.IllegalArgumentException: No enum constant javafx.geometry.Pos.center_right
                    at java.lang.Enum.valueOf(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)
                    at javafx.scene.Node.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Node.processCSS(Unknown Source)
                    at javafx.scene.Scene.doCSSPass(Unknown Source)
                    at javafx.scene.Scene.access$2900(Unknown Source)
                    at javafx.scene.Scene$ScenePulseListener.pulse(Unknown Source)
                    at com.sun.javafx.tk.Toolkit.firePulse(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(Native Method)
                    at com.sun.glass.ui.Application.enterNestedEventLoop(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(Unknown Source)
                    at javafx.stage.Stage.impl_showAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate$8.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate.setVisible(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit$Caller.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit.callAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showErrorDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showMessageDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
                    at javafx.event.Event.fireEvent(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.postProcess(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.access$6100(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
                    at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
                    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
                    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.notifyMouse(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
                    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)
    WARNING: com.sun.javafx.css.StyleHelper lookup caught:
    java.lang.IllegalArgumentException: Invalid cursor specification
                    at javafx.scene.Cursor.cursor(Unknown Source)
                    at com.sun.javafx.css.converters.CursorConverter.convert(Unknown Source)
                    at com.sun.javafx.css.converters.CursorConverter.convert(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)
                    at javafx.scene.Node.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Node.processCSS(Unknown Source)
                    at javafx.scene.Scene.doCSSPass(Unknown Source)
                    at javafx.scene.Scene.access$2900(Unknown Source)
                    at javafx.scene.Scene$ScenePulseListener.pulse(Unknown Source)
                    at com.sun.javafx.tk.Toolkit.firePulse(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(Native Method)
                    at com.sun.glass.ui.Application.enterNestedEventLoop(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(Unknown Source)
                    at javafx.stage.Stage.impl_showAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate$8.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate.setVisible(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit$Caller.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit.callAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showErrorDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showMessageDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
                    at javafx.event.Event.fireEvent(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.postProcess(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.access$6100(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
                    at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
                    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
                    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.notifyMouse(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
                    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)thanks in advance.

    First of all thank you for helping me to find out the problem. I did not expect you to solve my problem. I just would like to post a thread to finding out the solution or defining whether it is a bug. Anyway when I create jnlp file with Netbeans using the wizard that problem was solved. Then it gave me another problem:
    Problem
    java.lang.RuntimeException: Application launch error
                    at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:104)
                    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ExceptionInInitializerError
                    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:140)
                    at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:27)
                    at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:97)
                    ... 1 more
    Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "javafx.debug" "read")
                    at java.security.AccessControlContext.checkPermission(Unknown Source)
                    at java.security.AccessController.checkPermission(Unknown Source)
                    at java.lang.SecurityManager.checkPermission(Unknown Source)
                    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
                    at java.lang.System.getProperty(Unknown Source)
                    at com.sun.javafx.runtime.SystemProperties.getProperty(SystemProperties.java:178)
                    at com.sun.javafx.runtime.SystemProperties$1.run(SystemProperties.java:67)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.sun.javafx.runtime.SystemProperties.<clinit>(SystemProperties.java:62)
                    ... 4 moreAnd unfortunately it was a bug : FXML form can't be loaded in applet mode (JavaFX 2.1 b13)

  • Always prompted to save JNLP file

    Hello! We have a simple servlet that basically just queries a few things off of the HttpServletRequest and spits back a dynamically generated JNLP file. For some reason, when we were running with Tomcat 4.0.6 this worked fine, but with the upgrade to Tomcat 4.1.29 it does not. IE always prompts to open or save the file - it never just launches JWS automatically anymore.
    Any suggestions on what we can fix? I'll put the interesting parts of the servlet below.
    Thanks in advance!
    -Angelina
    Servlet:
    public class JNLPServlet extends HttpServlet{
        public void doGet(HttpServletRequest request, HttpServletResponse response)
           throws IOException, ServletException {
            try {          
                response.setHeader("Cache-Control", "public");
                response.setContentType("application/x-java-jnlp-file");
                String sessionId = getSessionId(request);
                ServletOutputStream out = response.getOutputStream();
                java.net.InetAddress[] hostNetAddrs =
                              java.net.InetAddress.getAllByName(request.getServerName());
                String hostIpAddr = hostNetAddrs[0].getHostAddress();
                out.println(generateJNLP(sessionId, request.getServerName(),
                                         hostIpAddr, request.getRemoteUser()));
                out.flush();          
            catch (IOException ex) {
                response.sendError(javax.servlet.http.HttpServletResponse.
                                   SC_SERVICE_UNAVAILABLE, ex.getMessage());
            catch (Exception ex) {
                response.sendError(javax.servlet.http.HttpServletResponse.
                                   SC_INTERNAL_SERVER_ERROR, ex.getMessage());
        protected String generateJNLP(String sessionId, String host, String ip, String userName){
            StringBuffer buf = new StringBuffer();
            buf.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
            buf.append("<jnlp spec=\"1.0+\" codebase=\"http://" + ip + ":80/cmv2/\">\n");
            buf.append("<information>\n");
            buf.append("<title>App V2.3 on " + host + "</title>\n");
            buf.append("<vendor>EMC Corporation</vendor>\n");
            buf.append("<homepage href=\"http://www.emc.com\" />\n");
            buf.append("<description>Program for monitoring performance.");
            buf.append("</description>\n");
            buf.append("<icon href=\"cm.gif\" width=\"32\" height=\"32\" depth=\"3\" size=\"1k\" />\n");
            buf.append("<offline-allowed />\n");
            buf.append("</information>\n");
            buf.append("<security>\n");
            buf.append("<all-permissions />\n");
            buf.append("</security>\n");
            buf.append("<resources>\n");
            buf.append("<j2se version=\"1.4+\" href=\"http://java.sun.com/products/autodl/j2se\"");
            buf.append("initial-heap-size=\"64m\" max-heap-size=\"194m\" />\n");
            buf.append("<property name=\"host_name\" value=\"" + host + "\"/>\n");
            buf.append("<property name=\"host_port\" value=\"80\"/>\n");
            buf.append("<property name=\"host_IP\" value=\"" + ip + "\"/>\n");
            buf.append("<property name=\"secure_host_port\" value=\"443\"/>\n");
            buf.append("<property name=\"session_id\" value=\"" + sessionId + "\"/>\n");
            buf.append("<property name=\"user_name\" value=\"" + userName + "\"/>\n");
            buf.append("<jar href=\"cmv2.jar\" />\n");
            buf.append("<jar href=\"ohj-jewt-4_1_9.jar\" />\n");
            buf.append("<jar href=\"help-4_1_9.jar\" />\n");
            buf.append("<jar href=\"oracle_ice-5_06_3.jar\" />\n");
            buf.append("<jar href=\"emcshared.jar\" />\n");
            buf.append("<jar href=\"xerces.jar\" />\n");
            buf.append("</resources>\n");
            buf.append("<application-desc main-class=\"com.emc.wclient.Login\">\n");
            buf.append("</application-desc>\n");
            buf.append("</jnlp>\n");
            return buf.toString();
    }

    The underlying problem is a combination of tomcat 4/5 being more standard and IE being less standard. Tomcat changed to automatically add ";charset=ISO-8859-1" to the end of the Content-Type header while IE appears to not correctly process the Content-Type header.
    IE maintains a list of known MIME types in the registry under [HKCR]\MIME\Database\Content Type. There you will find an entry for 'application/x-java-jnlp-file' which indicates that this MIME type is treated as a file with the suffix '.jnlp'.
    Unfortunately, IE treats EVERYTHING after the Content-Type: as the MIME type NOT just the stuff between the ':' and the ';'. Thus instead of looking for a registry entry for 'application/x-java-jnlp-file' it winds up looking for 'application/x-java-jnlp-file;charset=ISO-8859-1" and doesn't find it.
    If you duplicate the 'application/x-java-jnlp-file' entry with the name 'application/x-java-jnlp-file;charset=ISO-8859-1' everything works. Alternatively, if you make sure the 'file name' portion of the URL which requests the jnlp spec has the suffix '.jnlp' IE will work correctly. If you are generating the jnlp spec via your own servlet you can control the behavior of Tomcat by calling 'setCharacterEncoding(null)' on the response object (note this is not a method of the HttpServletResponse interface, you have to cast to the underlying concrete type).
    So, I think IE's use of the 'suffix' is non-standard and IE's handling of the Content-Type header field is just broken. If you can make the requesting URL have the .jnlp suffix you are ok; otherwise, there does not appear to be a good solution.

  • Console does not launch OVM 3.1.1, Win7x32 Firefox15/IE8 - Empty .jnlp file

    I have installed Oracle VM Manager 3.1.1, and two Oracle VMS servers; all seems to have gone pretty well after some learning curve. After success here, I created Clone of the most recent PeopleTools 8.5.2 and PeopleSoft HCM templates, and was able to start those machines. (Or at least, the Virtual Machine status shows "Running..." - read on.)
    However, when I try to launch the console, I get no success. First, when accessing the VMM server over HTTPS (port 7002), Java doesn't even try to start. Instead, basically, I get a screen blink and nothing else when I try to Launch Console from HTTPS. But when using HTTP:myVMM:7001, I get further. The Java logo appears briefly, and then I get "Application Error - Unable to launch the application" dialog. When I click on Details, I see the following under the Exception tab:
    JNLParseException[ Could not parse launch file. Error at line 0.]
         at com.sun.javaws.jnl.XMLFormat.decode(Unknown Source)
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Looking further into this, the .jnlp that's presented to JAVA by Launch Console is zero bytes in length. What might cause the .jnlp file to be empty?

    Thank you very much for your rapid reply, SPA2! It's encouraging!
    You named the file correctly, and there is only one ovm_rasproxy-ws.jnlp on the system. It is at /u01/app/oracle/ovm-manager-3/machine1/base_adf_domain/servers/AdminServer/tmp/_WL_user/ovm_core/tgzc2b/war/ovm_rasproxy-ws.jnlp. It is not empty - has a size of 1028 bytes, and the contents are listed at the bottom of this message.
    I don't know how to start the vncviewer directly from the OVM Manager machine. I did install the package (twice, in fact... and the second time stated "package tightvnc-java-1.3.9-3.noarch is already installed" There are no executables in the tightvnc-java-1.3.9-3.noarch.rpm package, and I have not found indication of what the URL would be. Can you help with that?
    Trying to find the version of Java from http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CCwQFjAB&url=http%3A%2F%2Fwww.java.com%2Fen%2Fdownload%2Finstalled.jsp&ei=cFyOUL6OHpHo8QSrn4GIBg&usg=AFQjCNH6zuZGOL1prgUuefMNfg4eSpEOjQ I see "Something is wrong. Java is not working." So I uninstalled and reinstalled Java. Now it is Java 7 Update 9.
    Also - to further check this out, I did Save instead of Open from Firefox (IE does not give that option). Firefox saved a 0 byte file. I really appreciate the help.
    Contents of ovm_rasproxy-ws.jnlp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="${Scheme}://${Server}:${ServerPort}/ovm/rasproxy/"
    href="ovm_rasproxy-ws.jnlp?${RequestUri}">
    <information>
    <title>Oracle VM Remote Access Service</title>
    <vendor>Oracle</vendor>
    <homepage>http://support.oracle.com/</homepage>
    </information>
    <resources>
    <!-- Application Resources -->
    <j2se version="1.5+"
    href="http://java.sun.com/products/autodl/j2se" />
    <jar href="ovm_rasproxy-signed.jar" main="true" />
    <jar href="commons-logging-1.1.1.jar" />
    </resources>
    <application-desc main-class="com.oracle.ovm.ras.proxy.RasProxyApplet">
    <argument>-server</argument>
    <argument>${Server}</argument>
    <argument>-service</argument>
    <argument>${Serviceid}</argument> <!--dynamic-->
    ${Credentials}
    </application-desc>
    <security>
    <all-permissions/>
    </security>
    <update check="always"/>
    </jnlp>
    Edited by: Dennis Lovelady on Oct 29, 2012 3:32 AM
    Edited by: Dennis Lovelady on Oct 29, 2012 3:36 AM to answer about installation of tightvnc and about Java version
    Edited by: Dennis Lovelady on Oct 29, 2012 4:10 AM

  • Icon size in JNLP file.

    Hi! I change the attributes 'width' and 'height' in the tag 'icon href', but the size of icon not change, why? Anybody can hel me?? Thanks.

    The width and height attributes for icons in the jnlp
    file are hints to the implementation (java web start)
    to aid it in only downloading the icons it needs.
    They are not directives to the implementation to tell
    it how large to display it. The current version of
    Java Web Start dosn't use these hints at all.What version of WebStart were you referring to? I am running 1.0.1_02 (build b03) and I am wondering if these hints will be used.

Maybe you are looking for

  • I'm having trouble sharing my i pod list with my other computer. I authorized both computer's, but list is not showing up in my laptop. (2nd generation Ipod nano)

    I'm having trouble sharing my Ipod list with my other computer. ( lap top) I authorized both computer's for home sharing but the list is not showing up on my laptop. My I pod is a second generation nano. So how do I get it to show up on my laptop?. 

  • Connecting to exchange server via web interface?

    Employer's exchange server has IMAP disabled and IT will not consider adding activesync for iPhone 2.0. Using the web interface via Safari is way too hard on an iPhone to be practical except in emergencies. Question: The new version of Entourage allo

  • DBLINK in 8.1.7

    Hi, I create my link like this : SQL> create database link "REMOTEDB" connect to REMOTEUSER identified by "PASSWORD" using 'REMOTEDB'; Database link created. But : SQL> desc TABLE@REMOTEDB ERROR: ORA-02085: database link REMOTEDB connects to NMM.WORL

  • Tomcat 5.0.28 root web app

    One of my webapps is deployed under ROOT on linux. I've deployed another webapp under a different context, but for some reason, when I try to access it, tomcat still looks for it under ROOT. The other standard webapps like jsp-examples don't work eit

  • Looping and Grouping at segment level

    Hi Friends, Scenario: JDBC to IDOC PRODID     ORDERNUM                          TRUCKNO     DISTANCE               BANS         ABANS     BBANS         CRMSID 100001     230001          4578     540          10     00     10     IC1201 100001     230