Bug reported by customer. Need a test case to make sure
this works.
###@###.### wrote:
>
> Hi, I want to define an extension, which is an installer, within an
> application descriptor. However, I am lost as to how to get it to
> download. The following is my app.jnlp and my installer.jnlp. When I
> select the link for my app.jnlp, JWS starts up, sits there and then
> dissapears. Nothing is put into the log and nothing is downloaded.
>
> I have read section 4.7, 5.2 and 6 of the JNLP ver1.0 final draft of the
> specs. It is not helping me. I think I may be reading that I need a
> servlet that serves up just what I don't know. So how do I do this?
> Any help and references will be greatly appreciated.
>
> Thanks!
>
> stestapplication.jnlp
>
> <jnlp
> spec="0.2"
> codebase="http://xyz.com:9999/lib/"
> href="jnlp/stestapplication.jnlp">
>
> <information>
> <title>Test Application</title>
> <vendor>T. Rowe Price, Inc.</vendor>
> <homepage href="../index.html"/>
> <description>Test Application</description>
> <description kind="short">A minimalist Application to test
> JWS.</description>
> <icon href="images/trp_ram.gif"/>
> <offline/>
> </information>
>
> <security>
> <all-permissions/>
> </security>
>
> <resources>
> <!-- j2se version="1.2"/ -->
> <j2se href="http://jsp.java.sun.com/servlet/javawsExtensionServer"
> version="1.2.2_005"/>
>
> <extension
> name="sinstallerextension"
> href="lib/spluginlauncher.jnlp"
> version="1.2.1-A 1.3.0"/>
>
> <jar href="classes/sTestApplication.jar"/>
> </resources>
>
> <application-desc main-class="TestApplication"/>
>
> </jnlp>
>
> sinstallerextension.jnlp
>
> <jnlp
> spec="0.2"
> codebase="http://xyz.com:9999/lib/"
> href="jnlp/sinstallerextension.jnlp">
>
> <information>
> <title>Launcher Application</title>
> <vendor>T. Rowe Price, Inc.</vendor>
> <homepage href="index.html"/>
> <description> Launcher Application</description>
> <description kind="short">A test Application that will launch exe's
> to install </description>
> </information>
>
> <security>
> <all-permissions/>
> </security>
>
> <resources>
> <!-- j2se version="1.2"/ -->
> <j2se href="http://jsp.java.sun.com/servlet/javawsExtensionServer"
> version="1.2.2_005"/>
> <jar href="classes/sInstallerExtension.jar"/>
> <jar href="classes/sjbcl3.0.jar"/>
> </resources>
>
> <installer-desc
> main-class="com.trp.aag.application.installerextension.InstallerExtensionApplication"/>
>
> </jnlp>
- duplicates
-
JDK-4382526 Extension Installer Test case Failed (Build 12)
-
- Closed
-