Plugin Classloader and Web Start

Our application JAR currently contains a Class-Path: entry pointing to another JAR that contains plugins. Now since the user shall be able to use other plugins than that one we provided, we need to remove the Class-Path: entry from the application JAR and instead provide a facility that names the JARs to scan for plugins. In fact, this should be as easy as providing a external properties file read by a Plugin Classloader.
Now the problem is that we like to deploy our application and the plugins using JNLP. So we think the planned solution is incompatible with JNLP due to two reasons: (a) It would require to access a properties file, (b) it would require that the JARs not beeing renamed (as Web Start does it).
So what can be a possible solution?
Are we the only ones that use plugin architectures together with JNLP?

You might want to take a look at the Java Plug-in Framework (http://jpf.sourceforge.net/).

Similar Messages

  • After Java patch 1.7.0_07 ENable applet plug-in and Web start checkbox is gone!

    Hello all,
    Using ML 10.8.1 and Safair 6.0
    After Java patch 1.7.0_07 ENable applet plug-in and Web start checkbox is gone! The check box to enable Safari to load Java pages is 100% gone, missing, just not there anymore.
    When I go to the Java test page it shows that I have Java 7 loaded. Has anyone else run into this problem or have a solution to enable true load loading in Safari and bring back the Enable applet plug-in and Web Start application check box in ML...
    Thanks

    I found out something very interesting. I noticed that another page would show up for less than have a second before the ML Java Preference would show up. I did a video recording of this and moved frame by frame. I show that the page / pane showing up had the following option:
                    Run applets:  in their own process
                                         within their browser process
    Both boxes for the two are unchecked.
    Then this page would disappear and nother would show up without the option / check box
    Enable applet plugin and Web Start applications
    Strange

  • How can I enable java applet plug-in and Web Start applications via terminal?

    Since the last Java update to Snow Leopard, I have found that the system periodically disables the Java applet plug-in after a period of disuse.  I know I can go to /Applications/Utilities/Java Preferences and just click to re-enable Java.  But I want to write a script which will do this periodically for a couple hundred Mac users where I work. 
    My question is - how can I reenable the Java applet plug-in and web start applications via Terminal command?  Is this possible?  Is there a plist file that can be modified, etc.?
    Bob Reed

    It is my understanding that Apple's most recent Java update automatically disables Java after a certain period of time that it hasn't been used.  We don't want users to have to keep re-enabling it.  So we wanted to find a way to do this via script either run by a Casper JSS server or stored locally on each workstation.   With the guidance provided by Mark Jalbert above and some text from a script written by Rich Trouton, I was able to make a script (with some minor changes) and a launch agent to re-run the script upon login.  So the preference is always enabled.
    For your reference, the script content is:
    #!/bin/sh
    # DYNAMICALLY SET THE UUID FOR THE BYHOST FILE NAMING
    if [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` == "00000000-0000-1000-8000-" ]]; then
    MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c51-62 | awk {'print tolower()'}`
    elif [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` != "00000000-0000-1000-8000-" ]]; then
    MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-62`
    fi
    # Set the the "Enable applet plug-in and Web Start Applications" setting in the Java Preferences for the current user.
    /usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsEnabled" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsEnabled bool true" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsLastUsed" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsLastUsed real $(( $(date "+%s") - 978307200 ))" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    The launch agent plist content is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>Disabled</key>
              <false/>
              <key>Label</key>
              <string>org.XXXXX.enableJavaPlugin</string>
              <key>ProgramArguments</key>
              <array>
                        <string>sh</string>
                        <string>/Library/Scripts/XXXXX/enableJava_plugin.sh</string>
              </array>
              <key>RunAtLoad</key>
              <true/>
              <key>StartOnMount</key>
              <true/>
    </dict>
    </plist>
    I hope this is helpful to anyone wishing to keep the Java web plugin enabled.
    Bob
    Message was edited by: Robert Reed2

  • Looking for a good Javascript to let me know if the "Enable applet plug-in and Web Start Applications is enabled" is disabled or enabled within Java Preferences?

    If this code could work on Snow Leopard as well, that would be awesome. I have a code to tell if Java is enable or disabled on any web browser, but it does not detect if the Java Preferences "Enable applet plug-in and Web Start Applications is enabled" is enabled or disabled. Just looking for a specific code to tell if this option is disabled or enabled.
    Thank you

    Launch Applications/Utilities/Java Preferences.app by double-clicking.
    EDIT; But I think you are confusing this with JavaScript which has nothing to do with it.

  • No option to Enable the Java applet plug-in and Web Start applications

    How do I Enable the Java applet plug-in and Web Start applications
    Their is no option under java preferences General Tab
    The options i get their are
         Run appelts
              in their own proccess
              Within the browser process
              (Defaut most compatible)
    Under the network tab im told
    By default java applets and web start applications use network settings in the system network preferences. Only advanced users should modify these settings
    Any ideas on why it is like this?

    Mac OS 10.6.8
    This happend once before when I was running 10.5.8 I fixed it but for the life of me i can't remember how i did it.

  • Problem with Using Spring IoC and Web Start

    Greetings Everyone,
    I have a small Swing app that runs using spring to load its dependencies. I can run it from a single signed jar file locally, and I setup my .jnlp file to try it with Web Start.
    Unfortunately, I get the following:
    java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
         at java.security.AccessController.checkPermission(AccessController.java:546)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1662)
         at java.lang.Class.checkMemberAccess(Class.java:2157)
         at java.lang.Class.getDeclaredMethods(Class.java:1790)
         at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:429)
         at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:412)
         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:363)
         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:296)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:745)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:448)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:597)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:366)
         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
         at org.chibgrant.main.MainPOE.main(MainPOE.java:31)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.javaws.Launcher.executeApplication(Launcher.java:1321)
         at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1267)
         at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066)
         at com.sun.javaws.Launcher.run(Launcher.java:116)
         at java.lang.Thread.run(Thread.java:619)
    I am running build 1.6.0_13-b03. Anyone run into this before?
    Thanks for any insights...!

    I suspect you may have solved this yourself by now, but in case not.
    I've recently created a desktop application that uses Spring and is launched via Java Web Start and I did have a problem getting it to launch via Web Start until I modified my code to ensure the classloader setup is done before any Spring methods are called.
    i.e.
        // This is needed for Java Web Start compatibility.
        UIManager.getLookAndFeelDefaults().put("ClassLoader", Loader.class.getClassLoader());In may application this code is invoked in the class that starts my application (Loader) before I load anything via Spring.
    Cheers,
    Stephen.

  • NullPointerExcetion with RCP and Web Start

    Hi,
    I'm trying to run a RCP application using Web Start. I tried so many workarounds and tutorials but I always get the same error:
    !SESSION Fri Feb 23 09:36:24 CET 2007 ------------------------------------------
    !ENTRY org.eclipse.core.launcher 4 0 2007-02-23 09:36:24.134
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.NullPointerException
    at java.util.Hashtable.put(Unknown Source)
    at org.eclipse.core.launcher.WebStartMain.basicRun(WebStartMain.java:58)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.WebStartMain.main(WebStartMain.java:40)
    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)I've created a wrapper feature with a new jnlp-file but it is always the same. More information you can find here:
    http://www.eclipsezone.com/eclipse/forums/t84269.html
    The problem seems to occur more than once but obviously nobody has a working solution for it. Perhaps someone in here can help me.

    Hello,
    it's a stupid eclipse bug. I spent several hours debugging the problem and it was surprised how poorly the code was written (no logging, exception swallowing, name shadowing, goddamn the author).Fortunately, I finally found a fix ;-)
    The problem is that the code relies on underscore as a delimiter between plugin name and plugin version. However, some plugins have underscore even in their version number (e.g. '...../org.eclipse.osgi_3.2.1.R32x_v20060919.jar') and these plugins fail to load. Not loading the org.eclipse.osgi causes the whole app fail to start.
    Quick solution tweaking the startup.jar:
    1. get the startup.jar sources from $ECLIPSE_HOME/plugins/org.eclipse.platform.source_x.y.z/src/org.eclipse.platform_x.y.z/startupsrc.zip
    2. open WebStartMain.java and find method private void mapURLsToBundleList()
    3. find this line: versionIdPosition = bundleId.lastIndexOf('_');
    4. replace it with versionIdPosition = bundleId.indexOf('_'); // it behaves as 'firstIndexOf(...)' ;-)
    5. build the startup.jar and use it instead of the original one - it should work
    IMPORTANT NOTE: this solution assumes you are not using any plugin with underscore in its 'regular' name. If you are, you can e.g. add some ifs to your modified WebStartMain code.
    Hope this helps ;-)
    Hanzz

  • Browser and web start

    Hi, currently I am integration a web start application with an old version of the application in php&html&javascript.
    From the html page i start the java application (using a SISListener). The problem that I have is that I want to reload the existant web page is some conditions are matched. If I use BasicService.showDocument(), the predefined browser opens a new window.
    Do you have any ideas about reloading the web page in the same tab/window in the browser that launched the java application??
    I have thought about using a file/Prefences stored in the local system as a middleman, or using the server for the same purpose, (and a active loop in javascript that asks an applet to check in either location), but I dont like these ideas, It must exists something much simpler
    Thanks for your answers

    Because javaws runs as a seperate process independant of the browser, there is no specific way to access the "current" web page in any actively running browser.
    There have been several requests to add such functionality, but doesn't see to be any way to do it across all browsers and platforms.
    /Andy

  • Slow InitialContext with Weblogic 6.1 and Web Start App.

    All,
    I have a Swing-based client app that makes EJB calls on a Weblogic 6.1sp2
    server. It works great as a standalone app run from the command line. The
    problem is when I deploy it using Java Web Start. The 'new
    InitialContext(props)' call takes from 5-20 seconds. This is on a single
    user development machine with the server and client running on the same
    machine.
    When I run it from the command line the initial context only takes 1-2
    seconds to create. This is using the exact same .jar file used in the Web
    Start case.
    The Web Start environment is somewhat different than command line clients.
    I think it is similar to the applet sandbox environment (security,etc).
    Other than this, the client/server interaction speed is good (they should
    be since they are on the same machine!). Any ideas?
    System particulars:
    Weblogic 6.1sp2. Native IO.
    Host=127.0.0.1 (Reverse DNS Lookup disabled in server).
    Java 1.3.1
    Java Web Start 1.0.1
    Windows NT 4.0sp5
    Thanks for any help.

    I have some more details. If I sign the .jar file and give the app AllPermissions, then it connects quickly (well, about 1s).
    Any ideas on which specific permissions will be needed to make this connection quickly?

  • Apple-provided Java SE 6 web plug-in and Web Start functionality - Chrome

    I have recently upgraded my work MBA to OSX 10.9.1 and need to use the Chrome browser to access several work sites.  These work sites also need Java to run.  I have followed the below procedures:
    http://support.apple.com/kb/DL1572
    and
    http://support.apple.com/kb/ht5559
    When I check Java version in Terminal, I get:
    java version "1.6.0_65"
    Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
    Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
    However, when I follow the instructions from the second link, the response to the second command (sudo mv /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/disabled) yields the following response:
    mv: rename /Library/Internet Plug-Ins/JavaAppletPlugin.plugin to /Library/Internet Plug-Ins/disabled/JavaAppletPlugin.plugin: Not a directory
    In http://support.apple.com/kb/DL1572, it indicates that "On systems that have not already installed Java for OS X 2012-006, this update disables the Java SE 6 applet plug-in. To use applets on a web page, click on the region labeled "Missing plug-in" to download the latest version of the Java applet plug-in from Oracle".  How do I get the Java SE 6 applet plug-in back to use in Chrome?
    Thanks.

    No thoughts on this?  The application of interest is IBM GERS.
    Additionally, I have to use Juniper Network Connect to access work network when travelling away from the office and it is not working either after Mavricks upgrade.
    Thanks.

  • "Run in Browser" and "Web start" errors

    Hello.
    i have a problem with JavaFX and running it outside NetBeans.
    yes, i tried googling it, tried searching this forum. i didnt find anything that could help me.
    the problem is:
    i started learning java fx with tutorials (lets say this one - http://docs.oracle.com/javafx/2/get_started/fxml_tutorial.htm )
    i got it running under netbeans, double click on jar in explorer and java -jar in command line.
    i tried to run jnlp file and ended up with senseless error (link to screenshot - http://i48.tinypic.com/30lc47t.png)
    i also tried to run html file (screenshot here - http://i46.tinypic.com/2u7snl5.png)
    and i do have java installed (after all, my netbeans somehow works...).
    i tried installing java with both 32 and 64 bit versions (my system is 64)
    i even installed java from the "click here to install java" link after normal SDK installation. guess what... nothing changed :)
    edit: instead install java it sometimes is "JavaFX application could not launch due to system configuration. See java.com/javafx for troubleshooting information." )
    i can upload my rar'ed project somewhere, but its really almost unchanged tutorial. and btw - i also tried it on other tutorials (simple and CSS) and it didnt work.
    BUT it did work on "hello world" tutorial (netbeans default).
    i really have no idea what to do next, so i'll be greatful for any tips
    best regards
    RD

    Hello.
    thx for response
    here are answers for ur questions:
    the applet from ur link (clock) works. ensemble (http://download.oracle.com/otndocs/products/javafx/2.0.2/samples/Ensemble/index.html#SAMPLES) also works.
    i currently have 64 bit jdk and jre installed, version 7 update 4, with javafx version 2.1.0.
    my browser promted me to install java again, so i did it. so i have also jre ver 7 u4 32bit and javafx 2.1.0 32bit
    link to screenshot is here: http://i50.tinypic.com/11l7ml0.png
    about full trace:
    Java Plug-in 10.4.1.255
    Using JRE version 1.7.0_04-b22 Java HotSpot(TM) Client VM
    User home directory = C:\Users\radoslaw.domanski
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws,com.sun.deploy
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws,com.sun.deploy
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws,com.sun.deploy
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws,com.sun.deploy
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    preloader: Construct preloader delegate
    network: Created version ID: 1.7.0.04
    network: Created version ID: 1.7
    temp: new XMLParser with source:
    temp: <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="Tutorial2 - Login.jnlp">
      <information>
        <title>Tutorial2 - Login</title>
        <vendor>radoslaw.domanski</vendor>
        <description>Sample JavaFX 2.0 application.</description>
        <offline-allowed/>
      </information>
      <resources>
        <jfx:javafx-runtime version="2.0+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
      </resources>
      <resources>
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
      </resources>
      <applet-desc  width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback"  name="Tutorial2 - Login" >
        <param name="requiredFXVersion" value="2.0+"/>
      </applet>
      <jfx:javafx-desc  width="800" height="600" main-class="tutorial2.login.Tutorial2Login"  name="Tutorial2 - Login" />
      <update check="background"/>
    </jnlp>
    temp: <applet-desc> tag at line number 15 is not closed correctly
    temp:
    returning ROOT as follows:
    <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="Tutorial2 - Login.jnlp">
      <information>
        <title>Tutorial2 - Login</title>
        <vendor>radoslaw.domanski</vendor>
        <description>Sample JavaFX 2.0 application.</description>
        <offline-allowed/>
      </information>
      <resources>
        <javafx-runtime version="2.0+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
      </resources>
      <resources>
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
      </resources>
      <applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="Tutorial2 - Login">
        <param name="requiredFXVersion" value="2.0+"/>
      </applet-desc>
      <javafx-desc width="800" height="600" main-class="tutorial2.login.Tutorial2Login" name="Tutorial2 - Login"/>
      <update check="background"/>
    </jnlp>
    temp: returning LaunchDesc from XMLFormat.parse():
    <jnlp spec="1.0" codebase="file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/" href="file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp">
      <information>
        <title>Tutorial2 - Login</title>
        <vendor>radoslaw.domanski</vendor>
        <homepage href="null"/>
        <description>Sample JavaFX 2.0 application.</description>
        <offline-allowed/>
      </information>
      <update check="background" policy="always"/>
      <resources>
        <javafx-runtime version="2.0+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
        <java href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
      </resources>
      <applet-desc name="Tutorial2 - Login" main-class="com.javafx.main.NoJavaFXFallback" documentbase="file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/" width="800" height="600">
        <param name="requiredFXVersion" value="2.0+"/>
      </applet-desc>
      <javafx-desc main-class="tutorial2.login.Tutorial2Login"/>
    </jnlp>
    preloader: Added pending event 1: ConfigEvent[type=SetVisible, value=true]
    network: Created version ID: 2.0+
    network: Created version ID: 1.6+
    network: Created version ID: 1.7.0.04
    network: Created version ID: 1.7.0.04
    network: Created version ID: 1.7
    basic: LaunchDesc location: file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp
    preloader: Enter wait for preloader jars to be loaded
    security: Security check for progress jars: allSigned=true
    preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.fx.FXApplet2Adapter@1fd4a63
    preloader: Using default preloader
    preloader: Delivering: ConfigEvent[type=SetVisible, value=true]
    preloader: Skipped all (0) download events prior to null
    preloader: Preloader jars loaded. Error state=null
    preloader: Done with loading of preloader jars. Error=null
    network: Created version ID: 1.0
    network: Created version ID: 7.0
    network: Created version ID: 6.0.18
    network: Created version ID: 6.0.10
    network: Created version ID: 6.0
    network: Created version ID: 1.5
    network: Created version ID: 1.0
    network: Created version ID: 2.0+
    basic: JRESelectException: ignored - relaunch not supported
    preloader: Start progressCheck thread
    basic: passing security checks; secureArgs:true, allSigned:false
    basic: JRESelectException: ignored - relaunch not supported
    basic: continuing launch in this VM
    network: LDUpdater: started background update check
    preloader: Delivering: DownloadEvent[type=verify,loaded=1, total=1, percent=100]
    preloader: Delivering: AppletInitEvent[type=CallConstructor]
    basic: JNLP2ClassLoader.findClass: tutorial2.login.Tutorial2Login: try again ..
    basic: JNLP2ClassLoader.findClass: tutorial2.login.Tutorial2Login: try again ..
    basic: JNLP2ClassLoader.findClass: tutorial2.login.Tutorial2Login: try again ..
    basic: JNLP2ClassLoader.findClass: tutorial2.login.Tutorial2Login: try again ..
    java.lang.ClassNotFoundException: tutorial2.login.Tutorial2Login
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         at sun.plugin2.applet.JNLP2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: load: class tutorial2.login.Tutorial2Login not found.
    java.lang.ClassNotFoundException: tutorial2.login.Tutorial2Login
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         at sun.plugin2.applet.JNLP2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    preloader: Delivering: ErrorEvent[url=null label=tutorial2.login.Tutorial2Login cause=tutorial2.login.Tutorial2Login
    preloader: Stop progressCheck thread
    ui: Can not hide splash as Javascript handle is not avaialble
    cache: Resource file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp has expired.
    network: ResponseCode for file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp : 200
    network: Encoding for file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp : null
    CacheEntry[file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp]: updateAvailable=true,lastModified=Tue May 08 17:10:03 CEST 2012,length=934
    cache: Resource file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp has expired.
    network: ResponseCode for file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp : 200
    network: Encoding for file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp : null
    CacheEntry[file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp]: updateAvailable=true,lastModified=Tue May 08 17:10:03 CEST 2012,length=934
    cache: Resource file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp has expired.
    network: ResponseCode for file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp : 200
    network: Encoding for file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp : null
    CacheEntry[file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp]: updateAvailable=true,lastModified=Tue May 08 17:10:03 CEST 2012,length=934
    cache: Resource file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp has expired.
    network: ResponseCode for file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp : 200
    network: Encoding for file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp : null
    network: Sever response: (length: 934, lastModified: Wed May 09 13:29:27 CEST 2012, downloadVersion: null, mimeType: application/x-java-jnlp-file)
    network: Downloading resource: file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp
         Content-Length: 934
         Content-Encoding: null
    network: Wrote URL file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp to File C:\Users\radoslaw.domanski\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\13\266793cd-686f133a-temp
    network: Cache: Enable a new CacheEntry: file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp
    network: Downloaded file:/C:/test_workspace/NetBeans/Tutorial2 - Login/dist/Tutorial2 - Login.jnlp: C:\Users\radoslaw.domanski\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\13\266793cd-686f133a
    temp: new XMLParser with source:
    temp: <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="Tutorial2 - Login.jnlp">
      <information>
        <title>Tutorial2 - Login</title>
        <vendor>radoslaw.domanski</vendor>
        <description>Sample JavaFX 2.0 application.</description>
        <offline-allowed/>
      </information>
      <resources>
        <jfx:javafx-runtime version="2.0+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
      </resources>
      <resources>
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
      </resources>
      <applet-desc  width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback"  name="Tutorial2 - Login" >
        <param name="requiredFXVersion" value="2.0+"/>
      </applet>
      <jfx:javafx-desc  width="800" height="600" main-class="tutorial2.login.Tutorial2Login"  name="Tutorial2 - Login" />
      <update check="background"/>
    </jnlp>
    temp: <applet-desc> tag at line number 15 is not closed correctly
    temp:
    returning ROOT as follows:
    <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="Tutorial2 - Login.jnlp">
      <information>
        <title>Tutorial2 - Login</title>
        <vendor>radoslaw.domanski</vendor>
        <description>Sample JavaFX 2.0 application.</description>
        <offline-allowed/>
      </information>
      <resources>
        <javafx-runtime version="2.0+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
      </resources>
      <resources>
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
      </resources>
      <applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="Tutorial2 - Login">
        <param name="requiredFXVersion" value="2.0+"/>
      </applet-desc>
      <javafx-desc width="800" height="600" main-class="tutorial2.login.Tutorial2Login" name="Tutorial2 - Login"/>
      <update check="background"/>
    </jnlp>
    security: Blacklist revocation check is enabled
    security: Trusted libraries list check is enabled
    network: CleanupThread used 1359498 usi can see this:
    temp: <applet-desc> tag at line number 15 is not closed correctly
    nb did something wrong? no idea.
    and this:
    java.lang.ClassNotFoundException: tutorial2.login.Tutorial2Login
    its also strange becouse my project looks like that:
    http://i47.tinypic.com/o0a3wh.png
    and i double click the jnlp file here:
    http://i49.tinypic.com/2n8of1d.png
    this is rly confusing...
    i hope i gave u all information u need
    best regards
    EDIT:
    i downloaded LoginCSS.zip file from here:
    http://docs.oracle.com/javafx/2/get_started/basic_deployment.htm
    built it using netbeans and it worked.
    any idea what is wrong with configuration in my nb projects?
    whole project is here: http://www.filefactory.com/file/xjmov7xd77z/n/Tutorial3_-LoginCSS.rar
    Edited by: 932829 on 2012-05-09 07:05
    Edited by: 932829 on 2012-05-09 07:11

  • Router password and web start up help

    (WRT300N) when i start installing the router cd and i get to step 9 a window pops up asking for a  password i put admin but nothing works
    i also try to put 192.168.1.1. for my webstart config but it gives me DNS Server Error
    Please Help,
     GOD Bless, Thanx!

    how do i change the password i put things in but it just pops up again
    0.

  • Java 7 Update 21 and Web Start Install Java Extension problem

    Hi,
    We've been running WebStart with Java 7 update 17 for several months. Late last month we updated to Java 7 update 21. Since this update, we're seeing 14 additional dialogs when the application is launched. Dialogs are Install Java Exception, do you want to install the following software? and then lists a jar file. I've verified that all JAR and JNLP files are signed with a trusted CA.
    Has anyone else seen this? Is there away to suppress these additional dialogs?
    Thanks,
    Terry

    I have just found that the use of uppercase/lowercase has changed in 7U21.
    We have been running with the codebase notation like this: codebase="http://SERVER:port/folder/file.jnlp" since Java 1.4.2
    In 7U21 I get a dialog pr. jar.
    If I change to: codebase="http://server:port/folder/file.jnlp " the dialogs are not shown.

  • Mac OS 10.4.8 , Java Web Start and JRE version of 1.4.2 and 1.5.0 problem

    Hello,
    I've been searching internet and reading the problems related to Java Web Start and JNLP.
    But no solution I read can solve what I faced.
    I'm running Mac OS x 10.4.8 and Macintosh updates the Java in my machine so that it has Java version 1.4.2 and Java 1.5.0
    The application I'm running needs to be running in JRE 1.4.2.
    So I changed the Java Preferences so that the default Java setting is JRE 1.4.2. However, the JNLP application still running in Java 1.5.0
    So I changed the MIME and make sure the JNLP is opened with Java Web start instead. The Java Web start is for version 1.4.2. I also change its preference so that the console is opened.
    I tried to run the JNLP application once again. Java web start 1.4.2_09 starts and console open, but the Java Runtime is still showing Java 1.5.0
    I adjust the JNLP file so that the version is only showing 1.4.2_09 (ignoring all other variables of version 1.4.1, 1.4.2, etc found in the original JNLP file). That didn't work either.
    I search on methods on how to uninstall Java 1.5.0 in Mac - apple page told me that I can't do that unless I reinstall the whole OS.
    I am henceforth declare that I am stuck now !!!! Heellllpp....

    Are you up to date with the updates?
    Update for Snow Leopard users:
    Apple issued update 12 for Java for OS 10.6:
    http://support.apple.com/kb/DL1573
    Note:  On systems that have not already installed Java for Mac OS X 10.6 update 9 or later, this update will configure web browsers to not automatically run Java applets. Java applets may be re-enabled by clicking the region labeled "Inactive plug-in" on a web page. If no applets have been run for an extended period of time, the Java web plug-in will deactivate.
    If, after installing Java for OS X 2013-002 and the latest version of Java 7 from Oracle, you want to disable Java 7 and re-enable the Apple-provided Java SE 6 web plug-in and Web Start functionality, follow these steps:
    http://support.apple.com/kb/HT5559?viewlocale=en_US
    Further update:
    Apple issued this Java related security update No. 13 on February 19:
    http://support.apple.com/kb/HT5666
    and Update No. 14 on March 4:  http://support.apple.com/kb/DL1573
    http://support.apple.com/kb/HT5677
    The standard recommendation is for users to turn off Java except when they have to use it on known and trusted websites (like their bank). Javascript, which is unrelated despite the name, can be left on.

  • Java Web Start and DeployDirector: What's the difference?

    I am the product manager for DeployDirector at Sitraka (now part of Quest Software). I'm NOT in sales; I'd simply like to provide you with some information.
    From talking with DeployDirector users and evaluators, and from my own discussions with the folks at Sun, I have discovered that there is great deal of confusion about the difference between Java Web Start and DeployDirector. I'd like to clarify this by periodically posting some information about the two.
    Though the products seem similar in concept, they are designed for different purposes. They both deploy, auto-update and manage the JRE for client-side Java applications, but beyond that, they are quite different.
    Java Web Start is ideally designed for applications deployed over the Internet, where application-provider trust is an issue. Why? The security sandbox guarantees that application can do no harm. (There's some good information about Java Web Start and sandbox apps on ScheduleWorld at http://www.scheduleworld.com/itsYourLife.html) Web Start's architecture simply consists of a client piece that interprets a JNLP file. Because of the sandbox and its simplicity, I believe JWS is best used for independent software vendors, independent developers, etc.
    Because DeployDirector is ideally designed for internal enterprise applications, it does not enforce the security sandbox. Trust is not an issue here, because internal users typically trust their internal IT group. DeployDirector's architecture consists of both a client and a server piece, which allows us to support more complex deployment and update scenarios (e.g., scheduled and optional updates) and applications management capabilities like rollback, reporting, exception monitoring, authentication/authorization out of the box. All of this is configured through the DeployDirector administration console.
    In some situations, DeployDirector may be unnecessary overhead. In other situations, Java Web Start simply does not provide enough capability and building in this into Web Start can be difficult.
    If you'd like more information, we have whitepapers and case studies (including one specifically about DeployDirector and JWS) available on our website at http://www.sitraka.com/software/deploydirector/
    If you'd like to discuss some of these differences, or if you have questions about DeployDirector, feel free to email me directly. (Or post here, of course.)
    Thanks,
    Sonal Champsee
    [email protected]

    Hi Gerald,
    Given what I know about your emnity towards DeployDirector (which is clearly illustrated in this thread: http://forum.java.sun.com/thread.jsp?thread=348061&forum=38&message=1446155 that was evidently a response to this article: http://www.javaworld.com/javaworld/jw-11-2002/jw-1122-autoupdate.html) I'm going to take a (pardon the expression) "don't feed the trolls" approach here.
    I'm simply re-iterate that JNLP, and its implementations such as Web Start and OpenJNLP, are designed for a very different set of users that DeployDirector. The differences in functionality between the two products reflect that.
    The enterprise has different requirements in a deployment mechanism for its internal, critical applications than software vendors and independant developers. DeployDirector addresses the requirements of the enterprise. Frankly, most of our recent customers only chose to buy the product after initially rejecting it and (unsucessfully) attempting to use JNLP and Web Start. Sometimes people only learn the hard way: different users have different requirements which are suited to different tools or technologies.
    Sonal

Maybe you are looking for

  • Error message in app store

    So I am getting a weird error message on my iPhone all of a sudden when trying to update apps: ""your account is not valid for use in the Australian store. You must switch to the U.S. Store before purchasing." I live in NYC. I don't even see an optio

  • How to set the margins for the pdf output in BI Publisher

    Hi There, When we view a report in PDF format in BI Publisher, we get pdf output in an iframe. There are two scroll bars on the right side. When we scroll down the outer scrollbar to the bottom, there is a white space between the bottom border of the

  • GL Open Item Management

    Hi, When i try to run Z (ZRFSEPA02)program ,its giving following error. Line item total does not tally with account balance. Message no. FH099 Diagnosis Either some documents from this account have already been archived or one or more postings were m

  • Adobe Reader 11.2.1 still crashing

    We are still having crash issues with Adobe 11.2.1. We are using Android 4.3 operating system. We have been using the same fillable forms since before the last two Adobe Reader updates in April 2014. These forms were not causing the program to crash

  • Problem to compile mxi-2 driver for linux 2.4.4

    Hello, I have a MXI-2 (VME/PCI) hardware and I'd like to install the appropiate software for my PC which runs under SuSE Linux 7.2 (kernel 2.4.4-64GB-SMP). I have succesfully installed NIVISA and NIVXI software (RPMs) and then I'm trying to compile (