This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 157445 - Project does not run in Browser and WebStart with Pack200 compression option
Summary: Project does not run in Browser and WebStart with Pack200 compression option
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Deployment (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2009-01-26 14:41 UTC by Alexandr Scherbatiy
Modified: 2009-04-28 14:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-01-26 14:41:08 UTC
JavaFX_NB_Plugin_Franca_NB_65_fixes_promoted_SDK_installer: JavaFX SDK Promoted Build b03

  Product Version         = NetBeans IDE 6.5 (Build 200901231801)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_12-ea; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_12-ea-b03


Steps to reproduce:

- Create a JavaFX Script project
- Go to the project properties
- Select Run-> Run in Browser
- Select Application -> Self Signed Jar
- Select Application -> Pack200 Compression
- Run the project

There is an error when the project starts in the Browser


JNLPException[category: Security Error : Exception: null : LaunchDesc: 
<jnlp spec="1.0+"
codebase="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/andromeda/My+Documents/NetBeansProjects/temp/07/JavaFXApplication2/dist/"
href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/andromeda/My+Documents/NetBeansProjects/temp/07/JavaFXApplication2/dist/JavaFXApplication2_browser.jnlp">
  <information>
    <title>JavaFXApplication2</title>
    <vendor>andromeda</vendor>
    <homepage
href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/andromeda/My+Documents/NetBeansProjects/temp/07/JavaFXApplication2/dist/"/>
    <description>JavaFXApplication2</description>
    <shortcut online="true">
      <desktop/>
    </shortcut>
    <offline-allowed/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="timeout" policy="always"/>
  <resources>
    <java version="1.5+"/>
    <property name="jnlp.packEnabled" value="true"/>
    <property name="jnlp.versionEnabled" value="true"/>
    <extension
href="http://jfx.sfbay.sun.com/hudson/job/franca/label=macosx-universal/9/artifact/build/macosx-universal/release/javaws/javafx-rt.jnlp"
name="JavaFX Runtime"/>
    <jar
href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/andromeda/My+Documents/NetBeansProjects/temp/07/JavaFXApplication2/dist/JavaFXApplication2.jar"
download="eager" main="true"/>
  </resources>
  <applet-desc name="JavaFXApplication2" main-class="com.sun.javafx.runtime.adapter.Applet"
documentbase="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/andromeda/My+Documents/NetBeansProjects/temp/07/JavaFXApplication2/dist//JavaFXApplication2.html"
width="200" height="200">
    <param name="MainJavaFXScript" value="javafxapplication2.Main"/>
  </applet-desc>
</jnlp> ]
	at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
	at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
	at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
	at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Comment 1 Adam Sotona 2009-01-29 16:39:30 UTC
The described case works for me.
This pretty much depends on your JNLP / JDK / Browser configuration.
Please fill an issue into JIRA on JavaFX Deployment is happens again.
Comment 2 Alexandr Scherbatiy 2009-02-05 10:46:51 UTC
It is reproduced on Windows XP and Vista with JDK 6u12
Comment 3 Adam Sotona 2009-02-05 11:17:56 UTC
From my experience with JDK6u12 - it seems to be the reason.
Please report such issues (which work with u11 and doesn't with u12) on JDK, thanks.
Comment 4 Alexandr Scherbatiy 2009-04-28 14:03:18 UTC
verified