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"

Similar Messages

  • 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

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

  • 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

  • Free resource loading pdf booklet released

    Hi,
    I converted my resource loading html pages to docbook.
    The pdf booklet for printing and offline consumption entitled "Resource Loading Tutorial and Rachel Open Source Toolkit for Java Web Start/JNLP" can be found online at
    http://www.geocities.com/vamp201/download/resources.pdf
    In case the site is temporarily unavailabe, you can use this alternate link:
    http://www.jenomics.de/vamp/doc/resources.pdf
    You can browse the resource loading tutorial online at
    http://www.geocities.com/vamp201/tutorial.html
    and you can browse the open source resource loading toolkit user documentation online at
    http://www.geocities.com/vamp201/resources.html
    Enjoy
    - Gerald

    Hi,
    the booklet is now also available for download at
    http://briefcase.yahoo.com/vamp201
    - Gerald

  • 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

  • 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

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

  • Can't run application via Web Start 7 if there is query string in href

    Java Web Start 7 cannot run application if there is query string in href attribute in jnlp file.
    For example:
    <jnlp spec="1.0+" codebase="http://localhost:8080/" href="Test.jnlp?query_string">
    </jnlp>
    There are no any errors. Web Start just does not run application.
    But this jnlp could be processed by Java Web Start 6 without any problems.
    Is this a bug in Java Web Start 7?
    Or using query string in href attribute is not correct by some reason?

    I use following example to test this problem - http://www.mkyong.com/java/java-web-start-jnlp-tutorial-unofficial-guide
    If you use default jnlp from this example - everything works ok.
    But if add any query string to href attribute then Web Start 7 cannot start application.
    For example:
    <jnlp spec="1.0+" codebase="http://localhost:8080/" href="Test.jnlp?param=value">
    </jnlp>
    The problem is with Java Web Start 7 Update 7 (build 1.7.0_07-b11).
    WebStart 6 can start application using this modified jnlp without any problems.
    Edited by: vbez on Oct 11, 2012 2:57 AM
    Edited by: vbez on Oct 11, 2012 2:58 AM

  • Re: Web Start Bumper Sticker Contest

    here is some.
    1.) Web Start TODAY!
    2.) got jnlp?
    3.) Here is your app; Here's your app on Web Start got any questions?
    4.) broadband + Web Start = great applications
    5.) honk 3 times for JNLP
    6.) FREE! Web Start FREE!
    -Carl

    As an alternative you may post your Web Start campaign ideas at the Java Lobby as the "Grass-Root Web Start Desktop Liberation Campaign" is now front-page news.
    Swing over to http://www.javalobby.org/thread.jsp?forum=61&thread=4751

  • How to get access to the local file system when running with Web Start

    I'm trying to create a JavaFX app that reads and writes image files to the local file system. Unfortunately, when I run it using the JNLP file that NetBeans generates, I get access permission errors when I try to create an Image object from a .png file.
    Is there any way to make this work in Netbeans? I assume I need to sign the jar or something? I tried turning "Enable Web Start" on in the application settings, and "self-sign by generated key", but that made it so the app wouldn't launch at all using the JNLP file.

    Same as usual as with any other web start app : sign the app or modify the policies of the local JRE. Better sign the app with a temp certificate.
    As for the 2nd error (signed app does not launch), I have no idea as I haven't tried using JWS with FX 2.0 yet. Try to activate console and loggin in Java's control panel options (in W7, JWS logs are in c:\users\<userid>\appdata\LocalLow\Sun\Java\Deployment\log) and see if anything appear here.
    Anyway JWS errors are notoriously not easy to figure out and the whole technology in itself is temperamental. Find the tool named JaNeLA on the web it will help you analyze syntax error in your JNLP (though it is not aware of the new syntax introduced for FX 2.0 and may produce lots of errors on those) and head to the JWS forum (Java Web Start & JNLP Andrew Thompson who dwells over there is the author of JaNeLA).

  • Java web start and .JRXML

    Hello everyone.
    I have an application form calling from browsers from client side using Java web start (JNLP) and applications has one report (.jrxml file) which is placed at server. I could start application form from client browsers but at the time of executing report it does not respond. There is no message , I think does not find path of where .jrxml file is placed. Can any one help me. Pl. note that reports get executed when users presses button on form.
    With thanks !
    prashant

    bump

Maybe you are looking for

  • IMac 400mhz with crazy display problems

    I just finished assembling an iMac CRT and everything works great except for the display. For some reason the colors dont wanna line up and i cant figure out what the problem is. Ive tried everything i can think of. I ended up plugging in another mon

  • Remoteobject call cfc on remote server

    Our goal is to have any of our flex developers use a central set of cfcs. Rather than having everyone need to duplicate all the required file structure etc. So it seemed like adding endpoint to the RemoteObject tags should get us significantly closer

  • Derivation Rules Not Working for other company codes

    Hi, I have 5 Company codes and only for one FM was activated. now i want to activate FM for all 5 company codes. for which i have assigned the FM area to all 5 company codes. I have also assigned the derivation strategy to all 5 company codes as well

  • OC4J port binding issue

    This thread is in OC4J/J2EE forum, but it feels like it could be an Redhat AS2.1 port handling issue, so I'm copying here... I'm having some problems with OC4J standalone. Starting and stopping OC4J gives error: "Error starting HTTP-Server: Address a

  • Mail 3.6 hanging w/o crash report

    Hi everyone, I've been reading the past posts on this topic, but my problem is a little different. My Mail 3.6 doesn't hang and crash right after startup, but hangs when I try to quit it or when its doing something or other (Sometimes I don't even kn