JNLP file error

Hello
I got some strange behavior in my program and I don't understand why. Here is the situation.
I have 2 jnlp files with the exact same content except one character.(the name of the file in the href below codebase). The first one is running perfectly fine and the second return me an error. Here are the 2 files (HelloFrame(running fine) and HelloFrame2(returning error))
The error message is : Il manque le champ obligatoire suivant dans le fichier de lancement : <jnlp>
which mean : There is missing an obligatory field in the launching file : <jnlp>
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for Notepad -->
<jnlp spec="1.0+"
      codebase="http://www.gudradain.byethost12.com/"
      href="HelloFrame.jnlp">
   <information>
      <title>HelloWorld Essai</title>
      <vendor>Marc-Andre</vendor>
      <description>HelloWorld Essai</description>
      <homepage href="http://www.gudradain.byethost12.com/"/>
      <description kind="short">Small App pour me pratiquer avec java web start</description>
      <offline-allowed/>
   </information>
   <resources>    
        <jar href="HelloFrame.jar"/>  
     <j2se version="1.6+"
           href="http://java.sun.com/products/autodl/j2se"/>
   </resources>
   <application-desc main-class="Test2.HelloFrame"/>
</jnlp>
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for Notepad -->
<jnlp spec="1.0+"
      codebase="http://www.gudradain.byethost12.com/"
      href="HelloFrame2.jnlp">
   <information>
      <title>HelloWorld Essai</title>
      <vendor>Marc-Andre</vendor>
      <description>HelloWorld Essai</description>
      <homepage href="http://www.gudradain.byethost12.com/"/>
      <description kind="short">Small App pour me pratiquer avec java web
start</description>
      <offline-allowed/>
   </information>
   <resources>    
        <jar href="HelloFrame.jar"/>  
     <j2se version="1.6+"
           href="http://java.sun.com/products/autodl/j2se"/>
   </resources>
   <application-desc main-class="Test2.HelloFrame"/>
</jnlp>Here is the complete error message :
MissingFieldException[ Il manque le champ obligatoire suivant dans le fichier de lancement : <jnlp>]
     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.Launcher.updateFinalLaunchDesc(Unknown Source)
     at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
     at com.sun.javaws.Launcher.launch(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)

Ok I found a way to fix this problem but I don't like it. It's really stupid and I don't know why it would in anyway matter but it does. So if anyone could understand something of my following explication and tell me why it do it, I would be really gratefull.
Here is what cause the problem and what I did to solve it.
If I create a JNLP file and I don't upload it yet on my server (http://www.gudradain.byethost12.com/) and I try to run it from the folder in which I create it I will get an error message (which seems normal)
If I upload my JNLP file that I got an error message sometime before on my server and I then try to run it I still get an error message (which I don't understand why because the file is on the server now so it should be able to access it)
But if I create an exact copy of this file and I put it on the server and then test it (so I didn't get any error message before I test it) now it will work
What I realize is that if I ever get an error message with a JNLP file that mean my JNLP file is screw and will always return an error message even if I correct this error. WHY!!!???

Similar Messages

  • ".. 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)

  • I am getting a "java.lang.RuntimeException: Error loading file:....NULL content-length." message when attempting to load a jnlp file

    I am the applications administrator for an instance of Galaxy server. In Galaxy there is an option / plugin to opne a BAM file via the Integrative Genomics Viewer (IGV) created at the Broad Institute. When invoked it downloads a jnlp file and launches IGV and then is supposed to open the BAM file in the viewer. However, when it attempts to open the BAM file I get the following error:
    "An Error occurred while loading: http://galaxy/display_application/52cef830ad5766ca/igv_bam/web/29212308ff643a94/data/galaxy_52cef830ad5766ca.bam
    java.lang.RuntimeException: Error loading file: http://galaxy/display_application/52cef830ad5766ca/igv_bam/web/29212308ff643a94/data/galaxy_52cef830ad5766ca.bam NULL content-length."

    UPDATE
    Compiling from command line I found out that the class definition for oracle.oats.scripting.modules.basic.api.IteratingVUserScript is missing. Do you know what .jar file contains this class?
    Thanks.
    Fede.

  • Error: JAR-Ressources in JNLP-File are not signed from the same Certificate

    I have two handfull jars, all signed in batch with the same
    Certificate. When i start my App with Webstart it tells me:
    Your JAR-Ressources in JNLP-File are not signed from the same Certificate.
    "JAR-Ressourcen in JNLP-Datei sind nicht von demselben Zertifikat signiert"
    Well im shure that i signed all my jars with the same Certificate.
    What can i do to solve this problem ???

    I get the same error.
    Strangely exactly every second time it works and every second time I execute the JNLP I get the following error:
    network: Cache-Eintrag nicht gefunden [url: http://localhost:8080/fibo/lib/js_15R41.jar, Version: null]
    network: Verbindung von socket://127.0.0.1:3621 mit Proxy=DIRECT wird hergestellt
    #### Java Web Start Error:
    #### JAR-Ressourcen in JNLP-Datei sind nicht von demselben Zertifikat signiertCan this have something to do with browser caching? So that every 2nd time it tries to access the cache, fails. And than ignores the cache and works?
    Any ideas?
    Cheers,
    Rio

  • JNLP : Launch File Error

    Hi All,
    am unable find the file.. (Could not find main-class)
    am using J2se 1.4 and Jboss 4.0
    i have created all my class file and make it as JMSconsumer.jar
    then i create JMSClient.war ==>MANIFEST.MF web.xml , all .Jar files and JmsClient.JNLP
    while am creating .war(JMSClient.war) file I have mention my Main method class in side Manifest.mf file as Main-class: MYMainMethod.Class and Class-Path: ./JMSconsumer.jar (There is no Package for my Class)
    MANIFEST.MF
    Manifest-Version: 1.0
    Created-By: 1.4.2_04 (Sun Microsystems Inc.)
    Mani-Class: TafConsumer.class
    Class-Path: ./JMSconsumer.jar
    General Tab
    An error occurred while launching/running the application.
    Title: My JMS Consumer
    Vendor: PSI Data System
    Category: Launch File Error
    Could not find main-class TafConsumer in http://172.25.18.54:8080/JMSClient/JMSconsumer.jar
    Lanch File Tab
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://172.25.18.54:8080/JMSClient" href="JmsClient.jnlp">
    <information>
    <title>My JMS Consumer</title>
              <vendor>PSI Data System</vendor>
              <icon href="icon.png"/>
              <icon href="splash.png" kind="splash"/>
    </information>
    <security>
    <j2ee-application-client-permissions/>
    </security>
    <resources>
    <j2se version="1.4+"/>
    <jar href="JMSconsumer.jar" main="true" download="eager"/>
    </resources>
    <application-desc main-class="TafConsumer"/>
    </jnlp>
    Exception Tab
    JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
    <jnlp spec="1.0+" codebase="http://172.25.18.54:8080/JMSClient/" href="http://172.25.18.54:8080/JMSClient/JmsClient.jnlp">
      <information>
        <title>My JMS Consumer</title>
        <vendor>PSI Data System</vendor>
        <homepage href="null"/>
        <description></description>
        <description kind="short"></description>
        <description kind="one-line"></description>
        <description kind="tooltip"></description>
        <icon href="http://172.25.18.54:8080/JMSClient/icon.png" kind="default"/>
        <icon href="http://172.25.18.54:8080/JMSClient/splash.png" kind="splash"/>
      </information>
      <security>
        <j2ee-application-client-permissions/>
      </security>
      <resources>
        <j2se initial-heap-size="-1" max-heap-size="-1" version="1.4+"/>
        <jar href="http://172.25.18.54:8080/JMSClient/JMSconsumer.jar" download="eager" main="true"/>
      </resources>
      <application-desc main-class="TafConsumer"/>
    </jnlp> ]
    at com.sun.javaws.LaunchDownload.getMainClassName(Unknown Source)at com.sun.javaws.Launcher.continueLaunch(Unknown Source)at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    Which class of your contains the
    public static void main (String[] a) method .
    Is it the MYMainMethod.class or TafConsumer.class ?

  • Launch File Error: Missing jnlp

    Here is my XML. I don't see what I'm doing wrong. This is my first jnlp file so I know I probably done something wrong.
    <?xml version=�1.0� encoding=�UTF-8�?>
    <!-- JNLP File for invoiceExport -->
    <jnlp
         spec="1.4+"
         codebase="http://www.x.x.x.x.com/lq/java"
         href=�QBInvoiceExpApp.jnlp�>
         <information>
              <title>QuickBooks Invoice Export Application/>
              <vendor>xxx/>
              <description>QuickBooks Invoice Export/>
              <description kind="short">Application to Export Invoices from QuickBooks/>
         </information>
         <resources>
              <j2se version="1.4+"/>
              <resources os=�Windows�/>
              <jar href="QBInvExp.jar"/>
         </resources>
         <resources os="Windows">
              <nativelib href="jintegra-native.jar"/>
         </resources>
              <application-desc main-class=�com.metro.quickbooks.invoiceExport�/>
         </resources>
    </jnlp>

    What is the error message ?
    General Tab:
    An error occurred while launching/running the application.
    Category: Launch File Error
    The following required field is missing from the launch file: <jnlp>
    Launch File:
    &#65279;<?xml version="1.0" encoding="UTF-8"?>
    <!-- JNLP File for invoiceExport -->
    <jnlp
         spec="1.0+"
         codebase="file:///C:/test/jnlp"
         href="QBInvoiceExpApp.jnlp">
         <information>
              <title>QuickBooks Invoice Export Application</title>
              <vendor>Metro Financial</vendor>
              <description>QuickBooks Invoice Export</description>
              <description kind="short">Application to Export Invoices from QuickBooks</description>
         </information>
         <resources>
              <j2se version="1.4+"/>
              <jar href="QBInvExp.jar"/>
         </resources>
         <resources os="Windows">
              <nativelib href="native/jintegra-native.jar"/>
         </resources>
         <application-desc main-class="com.metro.quickbooks.invoiceExport"
              <argument>"Metro Financial Inc. "</arguement>
              <argument>"metromural.jpg"</argument>
         </application-desc>
    </jnlp>
    Exception
    MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
         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.main(Unknown Source)

  • Java web start - Launch File error

    This is my first attempt to use web start
    I get following error - under "general" tab I get
    Could not find main-class RCApp2 in http://manishdesai/rcapp/RCApp2.jar
    my .jnlp file looks like -
    <jnlp spec="1.0+" codebase="http://manishdesai/rcapp/" href="http://manishdesai/rcapp/RCApp2.jnlp">
      <information>
        <title>Application</title>
        <vendor>H</vendor>
        <homepage href="http://manishdesai/rcapp/help.html"/>
        <description>RC Application</description>
        <description kind="short">RC</description>
      </information>
      <security>
        <all-permissions/>
      </security>
      <resources>
        <j2se version="1.5"/>
        <jar href="http://manishdesai/rcapp/RCApp2.jar" download="eager" main="false"/>
      </resources>
      <application-desc main-class="RCApp2"/>
    </jnlp> ]Need some help here
    thanks

    I am having similar problems. This is the first time i am using webstart. I learning as i go along. I am using tomcat. When i use the jar file on its own, it works perfectly fine. It loads properly and functions as its supposed to. But when i try to launch it using webstart it gives me these error messages.
    =========
    launch tab
    =========
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- JNLP File for Relay Traffic Generator -->
    <jnlp
    codebase="http://localhost:8001/ali/"
    href="relaynew.jnlp">
    <information>
    <title>relay traffic generator</title>
    <vendor>RIM</vendor>
    <homepage href="http://localhost:8001/ali/"/>
    <offline-allowed/>
    </information>
    <resources>
    <j2se version="1.4"/>
    <jar href="relay.jar" main="true" download="eager"/>
    </resources>
    <application-desc main-class="RelayTrafficGenerator"/>
    </jnlp>
    ============
    exception tab
    ============
    JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
    <jnlp spec="1.0+" codebase="http://localhost:8001/ali/" href="http://localhost:8001/ali/relaynew.jnlp">
      <information>
        <title>relay traffic generator</title>
        <vendor>RIM</vendor>
        <homepage href="http://localhost:8001/ali/"/>
        <offline-allowed/>
      </information>
      <update check="timeout" policy="always"/>
      <resources>
        <java version="1.4"/>
        <jar href="http://localhost:8001/ali/relay.jar" download="eager" main="true"/>
      </resources>
      <application-desc main-class="RelayTrafficGenerator"/>
    </jnlp> ]
         at com.sun.javaws.LaunchDownload.getMainClassName(Unknown Source)
         at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    If some one has any idea how this can be fixed. Please advise.

  • Can't get that damned WebStart jnlp file to work!!!

    hi i have a problem, i can't get webstart to work. lool at my homepage http://www.deutronium.de.vu/games.html. the WebStart files of the first two games of the page do not work. i tried all things but i can't get them to work for me. it always give me an error message that it cannot find a resource.
    this is my jnlp file, the jars are in the same directory:
    <?xml version="1.0" encoding="utf-8"?>
      <jnlp spec="1.0+" codebase="http://www.deutronium.de.vu/games/Dedris/" href="Dedris.jnlp">
      <resources>
        <jar href="http://www.deutronium.de.vu/games/Dedris/Dedris.jar" />
        <j2se version="1.2 1.3 1.4 1.4.1" />
      </resources>
      <application-desc main-class="Dedris" />
    </jnlp>

    I think it's has something to do with your webserver. I took everything as is and just changed the urls and it worked. It has to be, because the same thing happens with NumberGame and I didn't change anything but that. If you want, I could host them until you fix it or get a working one.

  • Deploying FX as a Desktop App - jnlp file codebase should be...what?

    Howdy,
    If I try and run my deployed JavaFX app on another PC I get an error pointing back to the codebase that NB created in the <appname>.jnlp file:
    codebase="[http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/E%3A/JavaFX/Projects/Concentration/Concentration11/dist/]"My main question is, for a standalone desktop FX app you want to distribute, what should the codebase be?
    I assume you don't point to your developer machine's URL because of course that won't exist on someone else's machine. And unlike most web examples, this won't be running from a server.
    Many other examples refer to running the jar file from the command prompt - not acceptable if you are selling an applet, or even just distributing to the general public.
    So how does this work - how do you set up the jnlp file for desktop deployment? And, do you have to manually do this, or is there something I am missing in NB (6.8) ?
    Many thanks in advance.

    Hi Phil and thank you. I admit have been avoiding learning to compile from the command prompt or with other tools due to the ease that NB affords - but it seems that NB is introducing some issues lately.
    I haven't tried the other tools yet, but I thought maybe I could just edit the NB created jnlp file:
    [http://forums.sun.com/about:blank]<jnlp spec="1.0+" codebase="file:/" href="Concentration11.jnlp"> [http://forums.sun.com/about:blank]<information>  <title>*Concentration11*</title>  <vendor>*Gary*</vendor>  <homepage href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/E%3A/JavaFX/Projects/Concentration/Concentration11/dist/"/>  <description>*Concentration11*</description>  <offline-allowed/>  </information> [http://forums.sun.com/about:blank]<resources>  <j2se version="1.5+"/>  <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>  <jar href="Concentration11.jar" main="true"/>  <jar href="lib/derby.jar"/>  <jar href="lib/derbyclient.jar"/>  <jar href="lib/derbytools.jar"/>  <jar href="lib/.netbeans-derby_JapaneseWords.jar"/>  </resources> [http://forums.sun.com/about:blank]<application-desc main-class="com.sun.javafx.runtime.main.Main">  <argument>*MainJavaFXScript=dbPackage.Main*</argument>  </application-desc>  <update check="background"/>  </jnlp>Replacing the code base with your file idea, if I try to run from the jnlp file it complains it can't find the resource:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: file:/Concentration11.jnlp
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    <...more...>Sorry to be so dense. Any ideas what I am flubbing up this time?
    Thank you Phil.

  • 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

  • How to pass java.library.path as a VM argument in JNLP file

    I jave a jar file containing reference to sqljdbc4.jar as I am using JDBC to talk with SQL Server. It works fine through eclipse IDE when I give the fillowing VM Argument
    -Djava.library.path=C:\Users\reddys2\Downloads\sqljdbc_4.0\enu\auth\x86. Without this I get the "error message" saying that "failed to load sqljdbc_auth.dll
    Now I would like to bundle working jar file in .jnlp and invoke through browser. I tried to add vm argunment (<property name="java.library.path" value="C:\Users\reddys2\Downloads\sqljdbc_4.0\enu\auth\x86"/> ) in the .jnlp file. But still i am getting "WARNING:Failed to load the sqljdbc_auth.dll cause:no sqljdbc_auth in java.library.path"
    Any help is greatly appreciated. Here are the contents of JNLP file
    =======================================================================================
    ?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+" codebase="http://xxx.16.19.56:8080/ifsdTools/" href="PF_UserList.jnlp">
    <information>
    <title>Login into PF</title>
    <vendor>XXX XXXX</vendor>
    <description>Provides ability to mirror PF Data base locally</description>
    </information>
    <resources>
         <j2se version="1.4+"/>
         <jar href="PopulateIFSDProjectForgeData.jar" />
         <jar href="Psqljdbc4.jar" main/>
         <property name="java.library.path" value="."/>
         <property name="javax.net.ssl.keyStore" value="NONE"/>
         <property name="javax.net.ssl.keyStoreType" value="PKCS11"/>
         <property name="http.proxyHost" value="proxy1.lmco.com"/>
         <property name="http.proxyPort" value="80"/>
         <property name="java.library.path" value="C:\Users\xxxx\Downloads\sqljdbc_4.0\enu\auth\x86"/>
         <property name="pfProjectId" value="proj1073" />
    </resources>
    <security>
         <all-permissions/>
    </security>
    <application-desc main-class="ifsdTools.PopulateIFSDProjectForgeData" />
    </jnlp>
    =========================================================================================================
    Edited by: 878645 on Apr 26, 2012 3:43 PM

    Thanks for the pointer. Question that I have is I am referencing sqljdbc4.jar in my application, which in turn using sqljdbc_auth.dll.
    Which one should i refernce through <nativelib>. Is it sqljdbc4.jar or sqljdbc_auth.dll.
    have added the following line to the .jnlp.
    <nativelib href="sqljdbc4.jar"/>
    But still it is complaining on sqljdbc_audth.dll. If it is sqljdbc_auth.dll, can I use <nativelib> to pass it.
    In that case does it need to be signed?. If so,
    Is it possible to sign .dll using 'jarsigner'?.
    Edited by: 878645 on Apr 26, 2012 3:43 PM

  • JNLP file failed to run using javaws - NumberFormatException

    Hi all,
    I am clueless about this one. A fresh pair of eyes would be helpful.
    I am trying to run two JNLP files on for running remote consoles on
    2 separate Linux blades.
    Here is one of them:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="https://icn1-bmc:443/">
         <information>
            <title>JavaRConsole</title>
            <vendor>Sun Microsystems</vendor>
            <description kind="one-line">JavaRConsole Console Redirection Application</description>
            <description kind="tooltip">JavaRConsole Console Redirection Application</description>
            <description kind="short">
                JavaRConsole enables a user to view the video display of an
                Andromeda computer equipped with a service processor.  It also enables
                the user to redirect his local keyboard, mouse, CD-ROM and floppy drives to
                the remote computer to give him complete control over the remote machine.
            </description>
        </information>
        <security>
            <all-permissions/>
        </security>
        <resources>
            <j2se version="1.5+"/>
            <jar href="Java/JavaRConsole.jar"/>
            <jar href="Java/RedirLib.jar"/>
            <property name="DEBUGLIST" value="ui,general,video,threads,cdrom,floppy,dispatcher,hid,scsi,network"/>
            <property name="SEV_WARN" value="ilomrc.log"/>
            <property name="SEV_CRIT" value="ilomrc.log"/>
        </resources>
        <resources os="Linux" arch="i386">
            <nativelib href="Java/linuxi386.jar"/>
        </resources>
        <resources os="Windows" arch="x86">
            <nativelib href="Java/win32.jar"/>
        </resources>
        <resources os="SunOS" arch="x86">
            <nativelib href="Java/solarisx86.jar"/>
        </resources>
        <resources os="SunOS" arch="sparc">
            <nativelib href="Java/solarissparc.jar"/>
        </resources>
        <application-desc>
            <argument>8</argument>
            <argument>icn1-bmc</argument>
            <argument>root</argument>
        </application-desc>
    </jnlp>The other file is essentially the same with "icn2-bmc" replacing all
    instances of "icn1-bmc". here is the output of the "diff" command:
    3c3
    < <jnlp spec="1.0+" codebase="https://icn1-bmc:443/">
    <jnlp spec="1.0+" codebase="https://icn2-bmc:443/">
    41c41
    <         <argument>icn1-bmc</argument>
    <argument>icn2-bmc</argument>The command I use to run these files is:
    javaws <filename>The first file runs fine, and opens a remote console to the blade.
    However when I try to run javaws with the second file, it fails to start the
    app, with the foll exception:
    java.lang.NumberFormatException: For input string: "icn2-bmc"
         at java.lang.NumberFormatException.forInputString(Unknown Source)
         at java.lang.Integer.parseInt(Unknown Source)
         at java.lang.Integer.valueOf(Unknown Source)
         at java.lang.Integer.decode(Unknown Source)
         at com.ami.javarconsole.ui.FrameMain.main(FrameMain.java:1326)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)This is unusual, since it was able to parse "icn1-bmc" just fine.
    Similar exception when I replace hostname with the IP address:
    java.lang.NumberFormatException: For input string: "10.0.19.214"
         at java.lang.NumberFormatException.forInputString(Unknown Source)
         at java.lang.Integer.parseInt(Unknown Source)
         at java.lang.Integer.valueOf(Unknown Source)
         at java.lang.Integer.decode(Unknown Source)
         at com.ami.javarconsole.ui.FrameMain.main(FrameMain.java:1326)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)Any clues? Let me know if you need any more information?
    Message was edited by:
    amateurPro

    I was about to post a question in the forums for this same issue, but I thought I'd reply to this thread instead. I am actually getting a fairly consistent error with this code. Here's my scenario:
    I'm running an OSD TS which performs a "Format and Partition Disk" task immediately before an "Apply Operating System" task (well, almost immediately... there are a few tasks for setting custom variables and whatnot in between). The Format
    and Partition Disk task returns a success code. The Apply Operating System task returns these lines (edited for relevance) with the command line "OSDApplyOS.exe /image:PRI00011,1 /target:C: /runfromnet:False":
    'C:\' not a removable drive
    The volume C:\ exists and is a local hard drive.
    The volume C:\ is using a valid file system.
    Windows target partition is 0-1, drive letter is C:\
    Verifying boot volume is NTFS.
    * Boot volume D:\ is not valid: unsupported file system. Please ensure the boot volume file system on the system you are applying the image to is NTFS. The request is not supported. (Error: 80070032; Source: Windows) *
    I am specifying in the Apply Operating System task to apply the OS to a specific logical drive letter (C:). The odd part is that if I reboot the computer and run the task sequence again, it goes through just fine... every time. Thanks for your help.
    * EDIT: I'm running SCCM 2012 R2.

  • Applet doesn't show after plugin update & using JNLP, no errors

    We have an applet that worked after the plugin update, then I wrote the JNLP file and can't get it working, it seems to be loading but doesn't show anything. I have tried and searched for possible errors but doesn't seem to be any obvious error for me. Also JaNeLA doesn't give any errors. When I try to load the applet I can see how open two java consoles (maybe this is an error?), in the first console the last output is:
    network: Created version ID: 1.0+
    network: Created version ID: 6.0.18
    basic: Progress indicator deleted: nullAnd in the second:
    basic: Subprogram loaded.
    basic: Applet resized and added to parent container
    basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 309262 us, pluginInit dt 2161125 us, TotalTime: 2470387 us
    basic: Loading Java Miniapplication
    basic: Loading Java MiniapplicationThe jnlp file I wrote is this:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp codebase="http://genomedu.net/applet/applet/" href="jvrmed_applet.jnlp">
      <information>
        <title>JApplet demo</title>
        <vendor>Jungle waa</vendor>
        <homepage href="http://funforyou.net/"/>
        <description>This is a demo</description>
        <offline-allowed/>
      </information>
        <resources>
          <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
          <jar href="http://download.java.net/media/applet-launcher/applet-launcher.jar"/>
          <jar href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar"/>
          <jar href="http://download.java.net/media/gluegen/webstart/gluegen-rt.jar"/>
          <jar href="http://download.java.net/media/java3d/webstart/release/vecmath/latest/vecmath.jar"/>
          <jar href="http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcore.jar"/>
          <jar href="http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dutils.jar"/>
          <jar href="pixelmed.jar"/>
          <jar href="gdata-core-1.0.jar"/>
          <jar href="gdata-media-1.0.jar"/>
          <jar href="gdata-photos-2.0.jar"/>
          <jar href="gdata-photos-meta-2.0.jar"/>
          <jar href="google-collect-1.0.jar"/>
          <jar href="mail-1.4.3.jar"/>
         <jar href="jvrmed.jar" main="true"/>
       <extension name="jogl" href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp"/>
        </resources>
      <applet-desc
          name="JVRMed_app"
          main-class="vrmed.app.jVRMed.JVRMed_app"
          width="793"
          height="563">
      </applet-desc>
    </jnlp>
    And the applet tag in the html is:
    <applet name="jvrmed" code="org.jdesktop.applet.util.JNLPAppletLauncher"
          width=793
          height=563 >
       <param name="jnlp_href" value="http://genomedu.net/applet/jvrmed_applet.jnlp">
    </applet>The old applet tag that launched the applet before the plugin update:
    <applet name="jvrmed" code="org.jdesktop.applet.util.JNLPAppletLauncher"
          width=793
          height=563
          archive="http://download.java.net/media/applet-launcher/applet-launcher.jar,
                   http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,
                   http://download.java.net/media/gluegen/webstart/gluegen-rt.jar,
                http://download.java.net/media/java3d/webstart/release/vecmath/latest/vecmath.jar,
                http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcore.jar,
                   http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dutils.jar,
                pixelmed.jar,
                gdata-core-1.0.jar,
                gdata-media-1.0.jar,
                gdata-photos-2.0.jar,
                gdata-photos-meta-2.0.jar,
                google-collect-1.0.jar,
                mail-1.4.3.jar,
                   jvrmed.jar">
       <param name="codebase_lookup" value="true">
       <param name="subapplet.classname" value="vrmed.app.jVRMed.JVRMed_app">
       <param name="subapplet.displayname" value="jVRMed">
       <param name="noddraw.check" value="true">
       <param name="progressbar" value="true">
       <param name="jnlpNumExtensions" value="1">
       <param name="jnlpExtension1"
              value="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp">
       <param name="idsession" value="jvrmed_snaps">
       <param name="idprofile" value="1">
    </applet>I know there are many extra parameters in the old version, I have deleted them for debugging because there was the same result with them. What really bothers me is that I don't get any error and the java process is running while tries to load the applet. Anyone had a similar experience and can give a clue?

    Hi,
    since JRE 6u21 the JNLPAppletLauncher doesn't work anymore.
    The Java 3D's jars and native libraries hosted by Oracle.Sun can be accessed by including the extension http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp. More details can be found here : Java 3D Web Start Release https://j3d-webstart.dev.java.net/release/index.html
    See also the example 'H'weight & L'weight in Harmony' http://www.interactivemesh.org/testspace/appletpropelleruniverse1200x800_J3D.html and search in the Java 3D forum http://www.java.net/forums/javadesktop/java-desktop-technologies/java-3d
    This is an attempt to adapt your JNLP file :
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp codebase="http://genomedu.net/applet/applet/" href="jvrmed_applet.jnlp">
      <information>
        <title>JApplet demo</title>
        <vendor>Jungle waa</vendor>
        <homepage href="http://funforyou.net/"/>
        <description>This is a demo</description>
        <offline-allowed/>
      </information>
      <resources>
        <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
        <!-- !!! Includes the remote Java 3D / JOGL libraries !!! -->
        <extension href="http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp"/>
        <jar href="pixelmed.jar"/>
        <jar href="gdata-core-1.0.jar"/>
        <jar href="gdata-media-1.0.jar"/>
        <jar href="gdata-photos-2.0.jar"/>
        <jar href="gdata-photos-meta-2.0.jar"/>
        <jar href="google-collect-1.0.jar"/>
        <jar href="mail-1.4.3.jar"/>
        <jar href="jvrmed.jar" main="true"/>
        <property name="sun.awt.noerasebackground" value="true"/> 
        <property name="sun.awt.erasebackgroundonresize" value="true"/> 
      </resources>
      <applet-desc
          name="JVRMed_app" main-class="vrmed.app.jVRMed.JVRMed_app" width="793" height="563">
      </applet-desc>
    </jnlp>
    Applet tag:
    <!-- please check if codebase="??" is needed -->
    <applet name="jvrmed" width=793 height=563 >
       <param name="jnlp_href" value="http://genomedu.net/applet/jvrmed_applet.jnlp">
    </applet>August

Maybe you are looking for

  • Video downloading website for asha 201

    I have asha 201. Before downloading any video(song,trailer etc) from some websites, my handset shows  a message "This application is not from a trusted supplier". Can I download video from this type of Untrusted supplier? If not, then plz give me som

  • Testing: ATI drivers for xorg7 - packages renamed.

    I've just uploaded a new set of ati drivers *hopefully* compatible with xorg7, to testing. It's impossible for me to test, I havn't got an ATI card, so your feedback is vital. What's also important about this is that they use a new naming setup. The

  • Non-critical bug: "My Documents" on File Open incorrect if remapped

    I don't have MetaLink access to log this, so maybe you can. If you have remapped your "My Documents" say to a network drive, when you do FILE > OPEN and click the My Documents icon, it shows the contents of the My Documents under the user in the C: d

  • Error with missing files after force quit

    I just spent hours building project management pages for work when the program would not respond I was forced to force quit. Then when I try to reopen I get an error and it tells me that all of the fonts and content is missing. When I click on each p

  • HT201263 My iPhone is dead as a result of iOS 7 upgrade

    After downloading the latest iOS 7 software I have had to follow the above instructions(connection to itunes etc). I have run these nearly 20 times this evening and each time I get the message The iPhone could not be restored . An unknown error as oc