Unofficial Web Start/JNLP FAQ updated

Hi,
I updated and added new entries to the Unofficial FAQ:
* Is Web Start available for Macintosh?
* Does Web Start support downloading jars using FTP?
* How can I start Web Start's app manager (aka Web Start Player) automatically at boot time/restart time?
* How can I start Web Start's app manager from a web page?
* How can I tell Web Start to use either a hotspot or classic virtual machine?
* How can I connect to a database?
* How can I reference a Java Help helpset?
* How can I change the proxy configuration in javaws.cfg?
* How can I retrieve the proxy settings from Web Start?
* How can I call other programs or shell scripts in Java?
* How can I pass dynamic command line arguments to Web Start on the command line?
* Why doesn't my app run under Web Start?
Thanks to everyone for posting their insights.
Note, that I cannot answer your individual questions.
Please, post your questions on Sun's forum instead of mailing me.
Any corrections or suggestions, however, are more than welcome, please send them to [email protected]
- Gerald Bauer
PS: Here is the Unofficial Web Start/JNLP FAQ link just in case:
http://www.vamphq.com/jwsfaq.html

Hi,
I updated and added new entries to the Unofficial FAQ. Here is this months line up. New Entries:
* How can I list all resources in a jar?
* How can I talk to servlets from my Web Start app?
* How can I use Web Start and RMI together?
* How can I detect if my app is offline?
* Can I use Web Start to deploy server apps?
* Can I use Web Start to deploy apps to mobile devices (J2ME)?
* Why can't I start Web Start's app manager under Windows? Why does the app manager's preferences dialog fail to appear?
* Why doesn't Web Start reprompt for proxy logins?
* Can Web Start handle multiple XML parsers at once?
Updated Entries:
* How can I add JNLP MIME-types to my ISP's Apache Web Server?
* Is Web Start available for Macintosh?
* How can I connect to a database?
The Unofficial Java Web Start/JNLP FAQ is located at
http://www.vamphq.com/jwsfaq.html
A free 40 page pdf booklet is available as well for offline consumption and printing.
As always thanks to everyone for posting their insights.
- Gerald Bauer

Similar Messages

  • Free Unofficial Web Start/JNLP FAQ pdf booklet released

    Hi,
    I finally finished the docbook conversion and the Unofficial Java Web Start/JNLP FAQ is now available as a pdf booklet for printing and offline consumption.
    The FAQ is a living, growing list of answers, not just a publish-and-forget-it static dead-tree booklet, help to improve it. Post your insights and corrections here or mail them to [email protected] Your contributions are welcome.
    The FAQ is online at http://www.geocities.com/vamp201/jwsfaq.html
    The pdf booklet is online at
    http://www.geocities.com/vamp201/download/jwsfaq.pdf
    Enjoy
    - Gerald

    Gerald,
    a couple of comments on the FAQ regarding
    Q: Can I use JWS for Intranet apps?
    file:/// works where file:// doesn't
    also including the path to the .jnlp file in double quotes allows to use path containg empty spaces.
    example:
    javaws "file:///C:\Program Files\Java Web
    Start\.javaws\cache\http\Dlocalhost\P80\DMclient\AMdemo.jnlp"

  • Unofficial Web Start FAQ Update

    Hi,
    I've added new entries to the Unofficial Web Start FAQ Update/Errata page residing at the Lopica Web Start Paradise site online @ http://lopica.sourceforge.net/update.html
    New entries include:
    * Where can I find the Web Start source code?
    * How can I start my Web Start app as a Windows Service?
    * How can I debug apps under Web Start?
    - Gerald

    You can debug JWS apps using standard ouput. In that case you need to
    display the Java console. OR you can use log files.Thanks for your comments. The FAQ Update entry adds new tips and tricks on how to attach a debugger to your app kicked off using Web Start. You might wonna check out the "original" entry in the FAQ first.
    - Gerald

  • Unofficial Web Start FAQ Update/Errata

    Hi,
    to speed up the Web Start FAQ update cycle I've created a new page titled "Unofficial Web Start FAQ Update/Errata" that holds upcoming FAQ entries and FAQ errata and more.
    You can find it @ http://lopica.sourceforge.net/update.html
    For more info about the Unoffical Web Start FAQ check out the Lopica Web Start Paradise site @ http://lopica.sourceforge.net
    - Gerald

    Hi,
    I've added some new entries to the update/errata page:
    * How can I use Jakarta commons-logging together with Web Start?
    * How can I associate file types with my Web Start app?
    * How can I pass parameters on to the Java runtime (JVM)?
    - Gerald

  • Unofficial Web Start FAQ; Newbie Read Me First

    Hi,
    I invite you to check the Unofficial Web Start FAQ for answers before you post your questions.
    The Unofficial FAQ contains answers and the collected wisdom from hundreds of posts over more than a year and gets updated every six to eight weeks.
    You can browse it online at http://www.vamphq.com/jwsfaq.html
    Note, that you can downlaod a 80-page pdf booklet as well for take home or printing for reading on the beach, in the bathtube or jacuzzi or wherever you wonna schlepp it.
    I also invite you the read Eric Raymond's tips and tricks on "How To Ask Questions The Smart Way" so that you increase your changes of getting the answers you want - http://www.tuxedo.org/~esr/faqs/smart-questions.html
    Finally, if you want to keep up to date, you can surf to "The Saturn Times" - http://www.vamphq.com/times - that brings you Web Start news from around the galaxy not just from the sun.
    Enjoy.
    - Gerald

    Thanks for letting me know. I will promote it in "The Saturn Times".
    As an aside: I don't get it why Sun's marketing stuff ignores my work.
    The article has links to Juniper, a project that is dead over a year and hasn't delivered a single file.
    And best of all it promotes a soon-to-be-dead Web Start competitor called Sinkata CashFlowDirector.
    In the FAQ they have a link to CashFlowDirector Bundler. Sinkata pulled it long ago and the link is broken.
    Anyway, I hope Sun's marketing troupe will see the light sooner or later.

  • Java Web Start (JNLP) getResource return null.

    I have a Java Web Start Swing application and with the Java version 1.6.0_u27.
    same code run from jdk1.1.8 to jdk 1.6, more then 10 customers it's work fine, java web start only run on jdk 1.4.0 and jdk 1.5.0.
    just migrate one customer from Java version 1.5.0_u6 to 1.6.0_u27.
    sometimes, the getResource will return null, when system return null, then system cannot get any other resource, always return null.
    It only happen in Java web start environment, work fine in command line (java/javaw), and same as the WebStart loses resources post,
    "Unfortunately this cannot be reproduced easily. Sometimes this happens after some minutes, sometimes the application can be used for days without problems.",
    note. all of my resource files put in the same jar file, one resource file in that jar get fail, all files will be fail.
    after I get the url, I will use new BufferedInputStream(url.openStream()); to retrieve data, never use the File object.
    for example, get resource from "/path/a1.xml", "/path/a2.xml"....... 30 minutes pass, get same file "/path/a1.xml" will return null, then all resource will return null.
    URL url = getClass().getResource(s);
    if(url == null) {
    System.out.println(getClass().getResourceAsStream(s)); // also null, log only
    // if the url == null, the following retrieve will be null
    url = Thread.currentThread().getContextClassLoader().getResource(s);
    if(url == null){
    System.out.println(Thread.currentThread().getContextClassLoader().getResourceAsStream(s)); // also null, log only
    ClassLoader loader = getClass().getClassLoader();
    if(loader == null){
    loader = ClassLoader.getSystemClassLoader();
    if(loader != null) {
    System.out.println(loader.getResourceAsStream(s)); // also null, log only
    url = loader.getResource(s);
    if(url == null) {
    System.out.println("URL resource still can not found!!" + s);
    Edited by: M. Jwo on 2011/11/3 上午 5:40

    I ran into the same problem with JNLP and IE.
    Here is the trick I am using to make IE think that it is dealing with "real" .jnlp file. This works on JBoss-3.2.1/Tomcat-4.1.24 bundle.
    In web.xml:
    <servlet>
    <servlet-name>fakejnlp</servlet-name>
    <description>jsp that generates JNLP on the fly</description>
    <jsp-file>start.jsp</jsp-file>
    </servlet>
    <servlet-mapping>
    <servlet-name>fakejnlp</servlet-name>
    <url-pattern>/start.jnlp</url-pattern>
    </servlet-mapping>
    Now, when you request start.jnlp (perhaps, with HTTP parameters), you end up executing your start.jsp. IE is happy. One limitation, though: if you need to pass parameters, there should be no href attribute in <jnlp> element.
    HTH
    Alex

  • Java Web Start and scheduled updates

    Is it possible to do silent updates during Nighttime(when bandwith usage is low) via the operating system level(scripted updates). So that the client already has the newest packages available at hisk computer when he comes in the morning?

    Although there is no builtin way of doing this, you could implement it youself by writing another app that
    listed all your main apps resources as lazy resources, and then, (after sleeping till the middle of the night) used the DownloadService api to load those resources.
    (if it did find new versions you would have to pop up a window telling the user to exit, and re-launch any old version of the app that was left running)

  • Web starting jnlp files w/out access to Internet

    I am writing a JavaFX program and am running into difficulties when trying to run from a browser since the created jnlp file is trying to access files from the dl.javafx.com website. Why are the javafx-rt.jnlp and other files like dtfx.js not part of the JavaFX download? Is it possible to get a download of all the jnlp and js files needed to run on a detached network?

    Don't know much about JavaFX, but if a standard (meaning 'online') JWS can download everything needed then any browser can do just the same.
    Go home, download the main jnlp (use the magical 'Save As...' function) and any pointed resource, change jnlp's codebase, put everything on your server and it's done, plain and simple.
    Even easier: whatever your app does I'm preatty sure it can work as a stand-alone app, so you already have any jar you may need.
    Bye.

  • Deploy Forms 10g applications using Java Web Start (JNLP)

    I wonder if anybody can help me out to use WebStart for my Oracle Application . Currently our application is running using Jinitiator.recently i got to know that webstart is another method to run webforms as just as Client/Server ,am not able create an exact JNLP file and i could't see much posts related to this.
    Thanks & Regards
    Najeeb.M

    You can avoid extra windows simply by setting separateFrame=false in the formsweb.cfg. Another helpful tip, if your page does not contain any extra html, is to set the height and width as follows:
    HEIGHT=100%
    WIDTH=100%
    This will cause the applet container to use all available browser window space. It will also cause the applet container size to dynamically adjust if the browser window is resized. This tends to create a more professional look-and-feel.

  • How to debug java web start with jdk1.5?

    i want to debug a JWS app with eclipse, not java console, so I follow Unofficial Java Web Start/JNLP FAQ(http://lopica.sourceforge.net/faq.html) and still not worked.
    the attached session worked at first and broke soon, and I found some idea from Unofficial Web Start FAQ Update/Errata(http://lopica.sourceforge.net/update.html). I did the following:
    set JAVAWS_TRACE_NATIVE=1
    javaws http://localhost/test/test.jnlp
    copy command line from popup window.
    add "transport=dt_socket,server=y,address=7000" to command line:
    C:\progra~1\Java\jdk1.5.0_03\bin\javaw.exe -Xrunjdwp:transport=dt_socket,server=y,address=7000 -Xbootclasspath/a:C:\progra~1\Java\jre1.5.0_04\lib\javaws.jar;C:\progra~1\Java\jre1.5.0_04\lib\deploy.jar -classpath C:\progra~1\Java\jre1.5.0_04\lib\deploy.jar -Djnlpx.home=C:\progra~1\Java\jre1.5.0_04\bin -Djnlpx.splashport=4362 -Djnlpx.jvm="C:\progra~1\Java\jdk1.5.0_03\bin\javaw.exe" -Djnlpx.remove=false -Djava.security.policy=file:C:\progra~1\Java\jre1.5.0_04\lib\security\javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.heapsize=NULL,NULL com.sun.javaws.Main http://localhost:8080/test/test.jnlp
    the debugger still gets detached. I don't know what's wrong.
    JWS has come out for many years, I still found so many undocumented skills, even netbeans5 doesn't support it. Sun want to give up java?

    Try checking out this other thread, particularly the reply from dietz333 (I happen to know he's a regular genius when it comes to JavaWS):
            http://forum.java.sun.com/thread.jspa?forumID=38&threadID=569693

  • JNLP Wrapper Updated

    Duck Creek Software, Inc. is pleased to announce the release of JNLP Wrapper 2.0 Beta 2.
    JNLP Wrapper is a tool that works on top of Java Web Start to make it easier to use and more powerful. With JNLP Wrapper your applications work right out-of-the-box with Web Start, so you don't need to modify any application code. It also supports native applications and content files.
    Version 2.0 includes the Wrap Application Wizard, a graphical wizard that asks for information about your application, like what it's called and how to launch it, and then generates a web application that's ready for deployment. It also creates an Ant script, to automate this process in the future.
    JNLP Wrapper is free for non-commercial use. For more information and commercial pricing, visit the website at:
    http://www.duckcreeksoftware.com/products/jnlp-wrapper

    Hi,
    I updated and added new entries to the Unofficial FAQ. Here is this months line up. New Entries:
    * How can I list all resources in a jar?
    * How can I talk to servlets from my Web Start app?
    * How can I use Web Start and RMI together?
    * How can I detect if my app is offline?
    * Can I use Web Start to deploy server apps?
    * Can I use Web Start to deploy apps to mobile devices (J2ME)?
    * Why can't I start Web Start's app manager under Windows? Why does the app manager's preferences dialog fail to appear?
    * Why doesn't Web Start reprompt for proxy logins?
    * Can Web Start handle multiple XML parsers at once?
    Updated Entries:
    * How can I add JNLP MIME-types to my ISP's Apache Web Server?
    * Is Web Start available for Macintosh?
    * How can I connect to a database?
    The Unofficial Java Web Start/JNLP FAQ is located at
    http://www.vamphq.com/jwsfaq.html
    A free 40 page pdf booklet is available as well for offline consumption and printing.
    As always thanks to everyone for posting their insights.
    - Gerald Bauer

  • Java Update 4 -- "Safe" java-vm-args Arguments for Java Web Start?

    Sun's Java documentation notes that JNLP files can request arbitrary arguments to the virtual machine using the java-vm-args argument. However, only arguments considered "safe" will be recognized. The JNLP spec doesn't list the safe arguments, since the list might change on a per-release basis.
    Unfortunately I can't find a current list of safe arguments either on Apple's site or Sun's site. I am fairly sure that -Xss is no longer on the safe list, since it's not working any more, but it would be nice to have that confirmed.
    Anyone have any ideas/pointers?

    I'm pretty sure that list is not accurate for the Java Web Start released in Update 4 recently. I have an app which attempts to specify heap and stack sizes using java-vm-args="-Xmx1024m -Xms1024m -Xss8m"; when I use the Java console to display memory usage, it shows that the heap is 81MB (which is the default). If I use initial-heap-size="1024m" max-heap-size="1024m" in the same JNLP file, the heap size is set properly.
    Unfortunately I don't think there's any way other than -Xss to set the stack size in a JNLP file, and I need to do that too.
    It's also possible that I screwed something up which caused this problem, but I reproduced it on both my Mac Pro and my Macbook Pro.

  • Customize the "update message" for Java Web Start

    For the default value (false) of silentInstallLicenseAcceptance in Java Web Start when an application's server side has changed, the user will be asked with a message box whether he/she wants to update his local application now or quit the application.
    I would like to know if I can manipulate the message that Java Web Start should ask the user. I also would like to know if I can change the button from Yes/No to Upgrade Now and Upgrade Later.
    Any API reference, idea, tutorial or sample code would be appreciated.

    I'm pretty sure that list is not accurate for the Java Web Start released in Update 4 recently. I have an app which attempts to specify heap and stack sizes using java-vm-args="-Xmx1024m -Xms1024m -Xss8m"; when I use the Java console to display memory usage, it shows that the heap is 81MB (which is the default). If I use initial-heap-size="1024m" max-heap-size="1024m" in the same JNLP file, the heap size is set properly.
    Unfortunately I don't think there's any way other than -Xss to set the stack size in a JNLP file, and I need to do that too.
    It's also possible that I screwed something up which caused this problem, but I reproduced it on both my Mac Pro and my Macbook Pro.

  • Latest Java 7 update 25 prevents JMF from working in Web Start application

    Has anyone else had a problem getting the JMF to work in a Web Start application since updating to Java 7 update 25?
    I can successfully run our application on my local machine via Eclipse and the webcam image loads. When I run my application from Web Start it does not load any image and errors out with the following error:
    java.lang.NullPointerException
        at javax.swing.RepaintManager.currentManager(Unknown Source)
        at javax.swing.RepaintManager.currentManager(Unknown Source)
        at javax.swing.RepaintManager.currentManager(Unknown Source)
        at javax.swing.JComponent.repaint(Unknown Source)
        at java.awt.Component.repaint(Unknown Source)
        at java.awt.Component.repaint(Unknown Source)
        at com.sun.media.renderer.video.AWTRenderer.doProcess(AWTRenderer.java:236)
        at com.sun.media.renderer.video.BasicVideoRenderer.process(BasicVideoRenderer.java:118)
        at com.sun.media.BasicRendererModule.processBuffer(BasicRendererModule.java:727)
        at com.sun.media.BasicRendererModule.scheduleBuffer(BasicRendererModule.java:499)
        at com.sun.media.BasicRendererModule.doProcess(BasicRendererModule.java:400)
        at com.sun.media.RenderThread.process(BasicRendererModule.java:1114)
        at com.sun.media.util.LoopThread.run(LoopThread.java:135)
    Any help would be appreciated
    Thanks,
    Mike

    Hi - I have exactly the same issue. Referring to Java 1.7_25 release note, i have also included permissions/codebase attributes in jmf jar manifest file but it did not help. With the permissions attributes i dont see the warning missing permissions, but it not solve the actual problem. JMF throws following NPE exception in my case
    Exception in thread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" java.lang.NullPointerException
        at sun.awt.image.FetcherInfo.getFetcherInfo(Unknown Source)
        at sun.awt.image.ImageFetcher.add(Unknown Source)
        at sun.awt.image.InputStreamImageSource.startProduction(Unknown Source)
        at sun.awt.image.InputStreamImageSource.addConsumer(Unknown Source)
        at sun.awt.image.InputStreamImageSource.startProduction(Unknown Source)
        at sun.awt.image.ImageRepresentation.startProduction(Unknown Source)
        at sun.awt.image.ImageRepresentation.prepare(Unknown Source)
        at sun.awt.SunToolkit.prepareImage(Unknown Source)
        at java.awt.Component.prepareImage(Unknown Source)
        at java.awt.ImageMediaEntry.startLoad(Unknown Source)
        at java.awt.MediaEntry.getStatus(Unknown Source)
        at java.awt.ImageMediaEntry.getStatus(Unknown Source
    Please let me know if you have any solution for the above problem. Appreciated your help.
    Thanks
    Sri

  • Using Signed Jars with Web Start

    Hi
    I am working with an application that needs to access disk. I signed the jars, and in the jnlp file I gave full permisions to it. My question is how Web start recognize that the jar is signed, should I upload the certificate and how to do it? I am having permissions problems at the client side.
    Thank you!!!

    http://www.vamphq.com/jwsfaq.htmlI don't want to be picky but the Unofficial Web Start FAQ moved to the Lopica Web Start Paradise site a couple of months ago. Please update your bookmarks. The new web address (URL) is:
    http://lopica.sourceforge.net/faq.html
    and the ongoing in-progress FAQ Update and Errata page is online @ http://lopica.sourceforge.net/update.html
    - Gerald
    (Unofficial Web Start FAQ Editor)

Maybe you are looking for

  • List of Values not showing up

    Hi, We have BOE 3.1 SP2 with PixPack 2.2 running on Windows Server 2003 R2 SP2 x64 In InfoView, when scheduling a Web Intelligent Report, nothing shows in my List of Values in the Prompts. I hit the Refresh Values button and nothing comes up also. I'

  • Converting Home Video

    I was just wondering if there is a way to convert home video. I have a bunch of AVI home video files and are wondering if i could convert them to work on my 5g ipod.

  • IPAD 802.1x EAP-GTC not working

    I am trying to connect to wifi enterprise 802.1x   rsa 802.11agn (WPA2,AESCCMP,PEAPv1(EAP-GTC)).  Our setup Trapeze_AP-M522 -> Trapeze_MX200R (7.3.4.4.0) -> Cisco ACS (5.1) -> RSA It's working with windows pc and android (phone, tablet)  . When we us

  • Making request in CUP

    Hi ! We have our workflow currently designed  for Aproving Access, but when somebody create a request for New User I don`t want they have to choose any role but it`s seem to be mandatory if the request type is New_Account. ( I try to take off the act

  • More blob woes - POL-4200

    I'm trying to insert a BLOB in a table. I carry out the following steps. 1) create a new record with an empty blob in it 2) select this record to obtain the blob locator 3) load the blob data I'm doing this using jdbc (olite40.jar). I disable auto-co